CVE-2026-139237

Not scored yetLast modified Nov 30, 2026

Description

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/<unit>/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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139238In the Linux kernel, the following vulnerability has been resolved: ibmveth: disable the reset work before unregister in remove ibmveth_reCVE-2026-139239In the Linux kernel, the following vulnerability has been resolved: ibmveth: do not close twice after a failed reopen ibmveth_change_mtu()CVE-2026-139246.5Insufficient validation of untrusted input in WebView in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker who had cCVE-2026-1392408.1In the Linux kernel, the following vulnerability has been resolved: ibmveth: fix netpoll races with RX replenish ibmveth_poll_controller()CVE-2026-139241In the Linux kernel, the following vulnerability has been resolved: team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add WCVE-2026-139242In the Linux kernel, the following vulnerability has been resolved: ipv6: Hold RCU when emitting route hardware flags notification fib6_inCVE-2026-139243In the Linux kernel, the following vulnerability has been resolved: net: axienet: release every RX buffer in axienet_dma_bd_release() The CVE-2026-139244In the Linux kernel, the following vulnerability has been resolved: bridge: mcast: Delete empty MDB entry when port group creation fails WCVE-2026-139245In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: unmap previous DMA mappings on TX map failure When mappinCVE-2026-139246In the Linux kernel, the following vulnerability has been resolved: net: hix5hd2: serialize timeout recovery with interface teardown The tCVE-2026-139247In the Linux kernel, the following vulnerability has been resolved: net: qede: initialize extack in qede_flow_spec_to_rule() qede_flow_speCVE-2026-139248In the Linux kernel, the following vulnerability has been resolved: octeontx2: Fix use-after-free of qos node in delete path hash_del_rcu(
CVE-2026-139237: Unscored | Vulnix