# CVE-2025-38009: wifi: mt76: disable napi on driver removal

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-06-18T09:28:20.068Z
- Modified: 2026-11-05T21:18:02.150Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: disable napi on driver removal

A warning on driver removal started occurring after commit 9dd05df8403b
("net: warn if NAPI instance wasn't shut down"). Disable tx napi before
deleting it in mt76_dma_cleanup().

 WARNING: CPU: 4 PID: 18828 at net/core/dev.c:7288 __netif_napi_del_locked+0xf0/0x100
 CPU: 4 UID: 0 PID: 18828 Comm: modprobe Not tainted 6.15.0-rc4 #4 PREEMPT(lazy)
 Hardware name: ASUS System Product Name/PRIME X670E-PRO WIFI, BIOS 3035 09/05/2024
 RIP: 0010:__netif_napi_del_locked+0xf0/0x100
 Call Trace:
 <TASK>
 mt76_dma_cleanup+0x54/0x2f0 [mt76]
 mt7921_pci_remove+0xd5/0x190 [mt7921e]
 pci_device_remove+0x47/0xc0
 device_release_driver_internal+0x19e/0x200
 driver_detach+0x48/0x90
 bus_remove_driver+0x6d/0xf0
 pci_unregister_driver+0x2e/0xb0
 __do_sys_delete_module.isra.0+0x197/0x2e0
 do_syscall_64+0x7b/0x160
 entry_SYSCALL_64_after_hwframe+0x76/0x7e

Tested with mt7921e but the same pattern can be actually applied to other
mt76 drivers calling mt76_dma_cleanup() during removal. Tx napi is enabled
in their *_dma_init() functions and only toggled off and on again inside
their suspend/resume/reset paths. So it should be okay to disable tx
napi in such a generic way.

Found by Linux Verification Center (linuxtesting.org).

(As written by CVE List.)

## Affected

- Linux Linux: from 2ac515a5d74f26963362d5da9589c67ca3663338 before ff0f820fa5b99035b3c654dd531226d8d83aec5f; from 2ac515a5d74f26963362d5da9589c67ca3663338 before ca5b213bf4b4224335a8131a26805d16503fca5f; from 2ac515a5d74f26963362d5da9589c67ca3663338 before b892e830d1ea8c5475254b98827771f7366f1039; from 2ac515a5d74f26963362d5da9589c67ca3663338 before 5e700b06b970fc19e3a1ecb244e14785f3fbb8e3; from 2ac515a5d74f26963362d5da9589c67ca3663338 before 2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8; from 2ac515a5d74f26963362d5da9589c67ca3663338 before e7bfbda5fddd27f3158e723d641c0fcdfb0552a7; from 2ac515a5d74f26963362d5da9589c67ca3663338 before 78ab4be549533432d97ea8989d2f00b508fa68d8; 5.2 (not affected: before 5.2; from 5.10.238 up to 5.10.*; from 5.15.184 up to 5.15.*; from 6.1.140 up to 6.1.*; from 6.6.92 up to 6.6.*; from 6.12.30 up to 6.12.*; from 6.14.8 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.2 before 5.10.238; from 5.11 before 5.15.184; from 5.16 before 6.1.140; from 6.2 before 6.6.92; from 6.7 before 6.12.30; from 6.13 before 6.14.8; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/ff0f820fa5b99035b3c654dd531226d8d83aec5f> (patch)
- <https://git.kernel.org/stable/c/ca5b213bf4b4224335a8131a26805d16503fca5f> (patch)
- <https://git.kernel.org/stable/c/b892e830d1ea8c5475254b98827771f7366f1039> (patch)
- <https://git.kernel.org/stable/c/5e700b06b970fc19e3a1ecb244e14785f3fbb8e3> (patch)
- <https://git.kernel.org/stable/c/2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8> (patch)
- <https://git.kernel.org/stable/c/e7bfbda5fddd27f3158e723d641c0fcdfb0552a7> (patch)
- <https://git.kernel.org/stable/c/78ab4be549533432d97ea8989d2f00b508fa68d8> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38009](https://www.cve.org/CVERecord?id=CVE-2025-38009), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38009](https://nvd.nist.gov/vuln/detail/CVE-2025-38009), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38009 · Whole record: https://cve.day/CVE-2025-38009.json · Rebuilt by cve.day 2026-11-25T22:58:59.335Z
