CVE-2026-139485

wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup

mt7996_unregister_device() leaves the RX NAPIs enabled, so
mt76_dma_cleanup() deletes enabled NAPIs and destroys page pools that
are still bound to them. On rmmod, the kernel warns in
__netif_napi_del_locked() for every RX queue and in
page_pool_disable_direct_recycling(). Until the IRQ tasklet is disabled,
an interrupt can still schedule a NAPI that was already deleted.

Disable every RX NAPI that was added before the MCU exit and the DMA
cleanup. This includes the host RRO queues: mt76_dma_init() skips them,
but mt7996_dma_rro_start() adds their NAPIs later when WED is not
active, so a check for mt76_queue_is_wed_rro() would miss them.

Analysis

AI-generated

Technical impact

During device unregistration, the mt7996 driver leaves the receive NAPI callbacks enabled. When the DMA cleanup routine runs, it attempts to delete and destroy page pools that are still bound to those enabled NAPI handlers. If an interrupt fires after this cleanup but before the associated tasklet is disabled, the system may schedule a NAPI that has already been freed, leading to a use‑after‑free in kernel memory. This kernel memory corruption can cause a crash or, in the presence of a local attacker with sufficient privileges, a privilege escalation opportunity. The core weakness is a use‑after‑free condition in kernel space.

Affected Systems

All Linux kernel releases that ship the mt76 WiFi driver for Qualcomm’s mt7996 chipset are susceptible, as the vulnerability exists before the fix is applied. No specific kernel version range is listed, so any build containing the unpatched mt76/mt7996 code may be affected. The issue is tied to the wireless driver subsystem making it relevant to systems that load or unload these modules.

Risk and Exploitability

The CVSS score is not available, but a kernel‑space use‑after‑free is typically treated as a high‑severity flaw. EPSS information is not available, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting no widespread exploitation has been observed. The likely attack vector is a local or privileged attacker who can trigger kernel module load/unload cycles or manipulate traffic to create the race condition. While no publicly documented exploit exists, the combination of kernel memory corruption and potential privilege elevation warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel version that contains the commit disabling all RX NAPI callbacks prior to DMA cleanup
  • If updating the kernel is not immediately possible, refrain from unloading the mt76/mt7996 driver while it is actively handling network traffic; keep the driver loaded until all queues are cleanly stopped
  • Monitor dmesg or journal logs for '__netif_napi_del_locked' warnings or page_pool cleanup messages that indicate the bug was triggered, and consider hardening the kernel or disabling aggressive NAPI scheduling if such events occur

Generated by OpenCVE AI on November 30, 2026 at 22:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup mt7996_unregister_device() leaves the RX NAPIs enabled, so mt76_dma_cleanup() deletes enabled NAPIs and destroys page pools that are still bound to them. On rmmod, the kernel warns in __netif_napi_del_locked() for every RX queue and in page_pool_disable_direct_recycling(). Until the IRQ tasklet is disabled, an interrupt can still schedule a NAPI that was already deleted. Disable every RX NAPI that was added before the MCU exit and the DMA cleanup. This includes the host RRO queues: mt76_dma_init() skips them, but mt7996_dma_rro_start() adds their NAPIs later when WED is not active, so a check for mt76_queue_is_wed_rro() would miss them.
Title wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM