CVE-2026-139240

HighCVSS 8.1/10Last modified Dec 1, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

ibmveth: fix netpoll races with RX replenish

ibmveth_poll_controller() runs RX replenish outside NAPI and without a lock, racing NAPI's replenish on another CPU. Both can fill the same slot, so an skb and its DMA mapping leak and PHYP can write into an unmapped buffer. netpoll calls it from netconsole and from netpoll-enabled bonds.

ibmveth_open() also enables NAPI before the RX resources exist. ibmveth_change_mtu(), veth_pool_store(), ibmveth_set_csum_offload() and ibmveth_set_tso() call close() and open() directly, so while open() is still setting up, netpoll and the direct ibmveth_interrupt() calls can replenish NULL pools and read freed memory.

Remove the callback, as Eric Dumazet did for many drivers after commit ac3d9dd034e5 ("netpoll: make ndo_poll_controller() optional"), including ibmvnic in commit 0c3b9d1b37df ("ibmvnic: remove ndo_poll_controller"). netpoll then polls NAPI itself with budget 0. napi->poll_owner serializes that with NAPI, but not with a NAPI poll that was already running when netpoll was set up, so skip RX replenish at budget 0, which netpoll uses for TX only. TX completes synchronously, so ibmveth_poll() has nothing else to do for netpoll.

Enable NAPI just before request_irq(), once everything ibmveth_poll() touches exists.

Found in review of the ibmveth multi-queue RX series and confirmed by code inspection of poll_one_napi() and the direct close()/open() callers; neither race was reproduced. Tested on a POWER10 LPAR with netconsole over ibmveth: a ping flood (678,470 packets, no loss) during a printk flood, and MTU changes and buffer pool toggles under traffic, with no warnings. No kernel selftests cover ibmveth.

Metrics

CVSS 3.1 8.1/10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

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

VendorProductVersions
LinuxLinux>= 6b4223748895ed5b200c8049231567ea399fc0c2, < 15f670a0dc7e24a6edc3c122c1be6fa994767b1e; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < 03bb08bc75a93cf0a19ec76e126a0d55bead61e0; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < 36c892d98c47a996434fbde0e76b1ad109cd1408; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < fc96f9a04f8cff363b50622ec2cd3a337e90eecd; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < 0e6dcd2550e5637fa01af1194516209549f031c0; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < c5a87f1a13273b6ca62498c4338773ae4d44ba39; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < 7049291d38a6e8787c9fc934d026f023b6db488d; >= 6b4223748895ed5b200c8049231567ea399fc0c2, < 8d9ecac6b96e61d0e6d126c60644829fd9f66952
LinuxLinux2.6.19

References

Timeline

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

Related CVEs from 2026

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-1392497.0In the Linux kernel, the following vulnerability has been resolved: tls: device: protect async RX resync state during device-down tls_deviCVE-2026-139257.5Inappropriate implementation in Downloads in Google Chrome on Windows prior to 150.0.7871.47 allowed a remote attacker who convinced a user CVE-2026-139250In the Linux kernel, the following vulnerability has been resolved: tcp: tcp_metrics: use the socket netns, not the dst device netns tcp_gCVE-2026-139251In the Linux kernel, the following vulnerability has been resolved: sched_ext: Use irq_work for deferred actions with proxy execution mayb
CVE-2026-139240: High severity, CVSS 8.1 | Vulnix