PT-2026-163832
CVE-2026-139791
·
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:
net: Use a dedicated flag to track disabled napi instances
Trying to disable the napi threaded state while the napi instance is
disabled will hang forever in napi stop kthread(), as it waits for
NAPIF STATE SCHED THREADED to clear.
This won't happen until the next napi schedule() call, which won't
happen as it's disabled.
This happens in 2 instances :
-
Drivers that create but don't use napi instances (stmmac's rxtx napi for AF XDP for example), here it's a driver bug
-
Drivers that create their napi instances in .probe(). Here, setting threaded off while the interface is down will hang :
ip link set eth0 down
echo 1 > /sys/class/net/eth0/threaded
echo 0 > /sys/class/net/eth0/threaded
-> hang
Checking on netif running() isn't enough, as napi instances may be
transiently disabled when changing the MTU for example, let's use a
dedicated flag to track if the instance is disabled.
This allows immediately disabling the kthread when the instance is
disabled.
This was tested on mvpp2 (probe-time napi add) and stmmac.
Found an issue in the description? Have something to add? Feel free to write us 👾