PT-2026-163281

CVE-2026-139240

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No 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: 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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾