CVE-2026-139240
NVDCVSS scored by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Vulnerability Summary
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.
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.
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < 15f670a0dc7e24a6edc3c122c1be6fa994767b1e
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < 03bb08bc75a93cf0a19ec76e126a0d55bead61e0
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < 36c892d98c47a996434fbde0e76b1ad109cd1408
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < fc96f9a04f8cff363b50622ec2cd3a337e90eecd
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < 0e6dcd2550e5637fa01af1194516209549f031c0
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < c5a87f1a13273b6ca62498c4338773ae4d44ba39
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < 7049291d38a6e8787c9fc934d026f023b6db488d
- Linux >= 6b4223748895ed5b200c8049231567ea399fc0c2 and < 8d9ecac6b96e61d0e6d126c60644829fd9f66952
- Linux 2.6.19
- Linux 15f670a0dc7e24a6edc3c122c1be6fa994767b1e
- Linux 03bb08bc75a93cf0a19ec76e126a0d55bead61e0
- Linux 36c892d98c47a996434fbde0e76b1ad109cd1408
- Linux fc96f9a04f8cff363b50622ec2cd3a337e90eecd
- Linux 0e6dcd2550e5637fa01af1194516209549f031c0
- Linux c5a87f1a13273b6ca62498c4338773ae4d44ba39
- Linux 7049291d38a6e8787c9fc934d026f023b6db488d
- Linux 8d9ecac6b96e61d0e6d126c60644829fd9f66952
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 30, 2026Published
- Dec 1, 2026Record last modified
- Dec 1, 2026CVSS score changed: 0.0 to 8.1
- Dec 1, 2026Severity changed to HIGH
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-139240. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/03bb08bc75a93cf0a19ec76e126a0d55bead61e0
- Referencehttps://git.kernel.org/stable/c/0e6dcd2550e5637fa01af1194516209549f031c0
- Referencehttps://git.kernel.org/stable/c/15f670a0dc7e24a6edc3c122c1be6fa994767b1e
- Referencehttps://git.kernel.org/stable/c/36c892d98c47a996434fbde0e76b1ad109cd1408
- Referencehttps://git.kernel.org/stable/c/7049291d38a6e8787c9fc934d026f023b6db488d
- Referencehttps://git.kernel.org/stable/c/8d9ecac6b96e61d0e6d126c60644829fd9f66952
- Referencehttps://git.kernel.org/stable/c/c5a87f1a13273b6ca62498c4338773ae4d44ba39
- Referencehttps://git.kernel.org/stable/c/fc96f9a04f8cff363b50622ec2cd3a337e90eecd
Data last checked: Dec 2, 2026 19:15 UTC