CVE-2026-139791: net: Use a dedicated flag to track disabled napi instances

Published Nov 30, 2026
·
Updated

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 napistopkthread(), as it waits for NAPIFSTATESCHEDTHREADED to clear.

This won't happen until the next napischedule() 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 AFXDP 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 netifrunning() 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 napiadd) and stmmac.

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.17.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:38 PM
Data Sourced
via MITRE·01:38 PM
Description
Data Sourced
via OSV·01:38 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

What conditions trigger the hang?

The hang occurs when threaded NAPI is disabled while a NAPI instance is already disabled. A documented example is bringing an interface down, enabling its threaded setting through sysfs, and then disabling that setting again.

2

Which systems are most likely to be exposed?

Systems using drivers that create NAPI instances during probe can hang when threaded NAPI is turned off while the interface is down. Drivers that create NAPI instances but do not use them are also affected, with stmmac's RX/TX NAPI for AF_XDP cited as an example.

3

Can temporary interface or device state changes also expose the issue?

Yes. The NAPI instance can be transiently disabled during operations such as MTU changes, so checking only whether the network interface is running does not avoid the affected state.

4

How can administrators recognize that they have encountered this vulnerability?

The observable symptom is an operation hanging indefinitely in napi_stop_kthread() while it waits for NAPIF_STATE_SCHED_THREADED to clear. The state will not clear until a subsequent __napi_schedule() call, which does not occur while the NAPI instance remains disabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203