CVE-2026-98957
wifi: mt76: mt7915: disable rx napi when removing device
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: disable rx napi when removing device Unloading the mt7915e module with a MT7916 triggers multiples WARN in __netif_napi_del_locked() and in page_pool_disable_direct_recycling() because the driver does not disable the napi before destroying it. This is troublesome since on MT7916 it is required to unload the module and reinsert it with a different enable_6ghz parameter to change the frequency. The system generally becomes unstable after reinserting the module. Fix it by disabling rx napi inside mt7915e itself, even through napi rx is enabled in the mt76 generic code. Disabling it in the mt76 generic code was previously attempted and reverted because napi was disabled too late and rx handlers could access freed structures. Note that the tx side is enabled and disabled by the mt76 generic code. It is disabled in mt7915_stop_hardware() since, unlike mt7915_unregister_device(), is it also called in the probe path if an error happens after rx napi is enabled.
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: e57b7901469fc0b021930b83a8094baaf3d81b09 … < 0281dac1e213329b053fb02e612de7f1477a52d7 affected: e57b7901469fc0b021930b83a8094baaf3d81b09 … < 0f9afe238eeb79829f0f92f376ba3a20781caccd affected: e57b7901469fc0b021930b83a8094baaf3d81b09 … < 7199ee4b47de0b61fa6455a1587c5ab645ebe262 affected: e57b7901469fc0b021930b83a8094baaf3d81b09 … < 916c484d29d82f45c281da2786fcd6a1284430ce default: unaffected |
| Linux | Linux | affected: 5.8 unaffected: 0 … < 5.8 unaffected: 6.12.113 … <= 6.12.* unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
wifi: mt76: mt7915: disable rx napi when removing device
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= e57b7901469fc0b021930b83a8094baaf3d81b09, < 0281dac1e213329b053fb02e612de7f1477a52d7; < 0f9afe238eeb79829f0f92f376ba3a20781caccd; < 7199ee4b47de0b61fa6455a1587c5ab645ebe262; < 916c484d29d82f45c281da2786fcd6a1284430ce | 0281dac1e213329b053fb02e612de7f1477a52d7, 0f9afe238eeb79829f0f92f376ba3a20781caccd, 7199ee4b47de0b61fa6455a1587c5ab645ebe262, 916c484d29d82f45c281da2786fcd6a1284430ce | ||
| Linux | Kernel | >= 5.8.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.11 | 6.12.113, 6.18.57, 7.2.11 |
Linux distribution status
References (7)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/0281dac1e213329b053fb02e612de7f1477a52d7 NVD, CNA, OSV
- https://git.kernel.org/stable/c/0f9afe238eeb79829f0f92f376ba3a20781caccd NVD, CNA, OSV
- https://git.kernel.org/stable/c/7199ee4b47de0b61fa6455a1587c5ab645ebe262 NVD, CNA, OSV
- https://git.kernel.org/stable/c/916c484d29d82f45c281da2786fcd6a1284430ce NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98957.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-98957 OSV