PT-2026-163278
CVE-2026-139237
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ibmveth: release the pool kobjects when probe fails
If register netdev() fails in ibmveth probe(), for example with -EINTR
when the binding task is killed, probe frees the netdev but leaves the
pool%d kobjects embedded in it registered in sysfs. Reading
/sys/devices/vio//pool0/num is then a use-after-free, and the
next probe cannot add pool0.
Put the kobjects before freeing the netdev, as ibmveth remove() does,
on this path and on the netif set real num tx queues() one.
The kobjects also have no release(). With CONFIG DEBUG KOBJECT RELEASE,
kobject put() defers their cleanup, including removing the sysfs files,
to a work item, so free netdev() can free them first, here and in
remove(). Add a release() that signals a per-pool completion, and wait
for it in both places before free netdev(). Without that config,
release() runs from kobject put() and the wait returns at once.
Found in review of the ibmveth multi-queue RX series and confirmed by
code inspection; the release() part was raised by the Sashiko review of
the first version. Tested on a POWER10 LPAR with register netdev()
forced to fail with -EINTR by a test-only module parameter (not part of
this patch): no pool%d directories remain and the device binds again. No
kernel selftests cover ibmveth.
Found an issue in the description? Have something to add? Feel free to write us 👾