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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-06-18T09:28:20.068Z
- **Modified:** 2026-11-05T21:18:02.150Z

## Who should check

- Anyone running Linux \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< ff0f820fa5b99035b3c654dd531226d8d83aec5f; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< ca5b213bf4b4224335a8131a26805d16503fca5f; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< b892e830d1ea8c5475254b98827771f7366f1039; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 5e700b06b970fc19e3a1ecb244e14785f3fbb8e3; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< e7bfbda5fddd27f3158e723d641c0fcdfb0552a7; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 78ab4be549533432d97ea8989d2f00b508fa68d8
- Anyone running Linux 5.2

## 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).

## Affected and fixed versions

- Linux: \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< ff0f820fa5b99035b3c654dd531226d8d83aec5f; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< ca5b213bf4b4224335a8131a26805d16503fca5f; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< b892e830d1ea8c5475254b98827771f7366f1039; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 5e700b06b970fc19e3a1ecb244e14785f3fbb8e3; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< e7bfbda5fddd27f3158e723d641c0fcdfb0552a7; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 78ab4be549533432d97ea8989d2f00b508fa68d8 (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 78ab4be549533432d97ea8989d2f00b508fa68d8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38009. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38009.md
Affected: Linux >= 2ac515a5d74f26963362d5da9589c67ca3663338, < ff0f820fa5b99035b3c654dd531226d8d83aec5f; >= 2ac515a5d74f26963362d5da9589c67ca3663338, < ca5b213bf4b4224335a8131a26805d16503fca5f; >= 2ac515a5d74f26963362d5da9589c67ca3663338, < b892e830d1ea8c5475254b98827771f7366f1039; >= 2ac515a5d74f26963362d5d…
Fixed in: Linux 5e700b06b970fc19e3a1ecb244e14785f3fbb8e3, Linux 2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8, Linux 78ab4be549533432d97ea8989d2f00b508fa68d8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38009 being exploited?

There is no confirmed exploitation: CVE-2025-38009 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38009?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38009?

Linux \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< ff0f820fa5b99035b3c654dd531226d8d83aec5f; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< ca5b213bf4b4224335a8131a26805d16503fca5f; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< b892e830d1ea8c5475254b98827771f7366f1039; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 5e700b06b970fc19e3a1ecb244e14785f3fbb8e3; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< e7bfbda5fddd27f3158e723d641c0fcdfb0552a7; \>= 2ac515a5d74f26963362d5da9589c67ca3663338, \< 78ab4be549533432d97ea8989d2f00b508fa68d8; Linux 5.2.

### Is there a fix for CVE-2025-38009?

Yes. Fixed in Linux 5e700b06b970fc19e3a1ecb244e14785f3fbb8e3, Linux 2b81e76db3667d1f7f2ad44e9835cdaf8dea95a8, Linux 78ab4be549533432d97ea8989d2f00b508fa68d8. Upgrade Linux to 78ab4be549533432d97ea8989d2f00b508fa68d8 or later.

### How do I check if I'm affected by CVE-2025-38009?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38009>

HTML: <https://flawdb.com/CVE-2025-38009> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38009>
