# CVE-2025-37794: wifi: mac80211: Purge vif txq in ieee80211\_do\_stop()

> 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-28)
- **CWE:** CWE-476
- **Published:** 2025-05-01T13:07:26.168Z
- **Modified:** 2026-11-05T21:17:52.943Z

## Who should check

- Anyone running Linux \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 929ec2c9ad34248ef625e137b6118b6e965797d9; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< a932a5ce4eee0cbad20220f950fe7bd3534bcbc9; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 305741e7e63234cbcf9b5c4e6aeca25ba0834be8; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 5f6863dc407f25fcf23fc857f9ac51756a09ea2c; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< c74b84544dee27298a71715b3ce2c40d372b5a23; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< a8df245b5b29f6de98d016dc18e2bb35ec70b0cb; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 8bc34db7f771a464ff8f686b6f8d4e04963fec27; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 378677eb8f44621ecc9ce659f7af61e5baa94d81
- Anyone running Linux 4.1

## Description

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

wifi: mac80211: Purge vif txq in ieee80211\_do\_stop()

After ieee80211\_do\_stop() SKB from vif's txq could still be processed.
Indeed another concurrent vif schedule\_and\_wake\_txq call could cause
those packets to be dequeued (see ieee80211\_handle\_wake\_tx\_queue())
without checking the sdata current state.

Because vif.drv\_priv is now cleared in this function, this could lead to
driver crash.

For example in ath12k, ahvif is store in vif.drv\_priv. Thus if
ath12k\_mac\_op\_tx() is called after ieee80211\_do\_stop(), ahvif-\>ah can be
NULL, leading the ath12k\_warn(ahvif-\>ah,...) call in this function to
trigger the NULL deref below.

  Unable to handle kernel paging request at virtual address dfffffc000000001
  KASAN: null-ptr-deref in range \[0x0000000000000008-0x000000000000000f\]
  batman\_adv: bat0: Interface deactivated: brbh1337
  Mem abort info:
    ESR = 0x0000000096000004
    EC = 0x25: DABT (current EL), IL = 32 bits
    SET = 0, FnV = 0
    EA = 0, S1PTW = 0
    FSC = 0x04: level 0 translation fault
  Data abort info:
    ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
    CM = 0, WnR = 0, TnD = 0, TagAccess = 0
    GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
  \[dfffffc000000001\] address between user and kernel address ranges
  Internal error: Oops: 0000000096000004 \[\#1\] SMP
  CPU: 1 UID: 0 PID: 978 Comm: lbd Not tainted 6.13.0-g633f875b8f1e \#114
  Hardware name: HW (DT)
  pstate: 10000005 (nzcV daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  pc : ath12k\_mac\_op\_tx+0x6cc/0x29b8 \[ath12k\]
  lr : ath12k\_mac\_op\_tx+0x174/0x29b8 \[ath12k\]
  sp : ffffffc086ace450
  x29: ffffffc086ace450 x28: 0000000000000000 x27: 1ffffff810d59ca4
  x26: ffffff801d05f7c0 x25: 0000000000000000 x24: 000000004000001e
  x23: ffffff8009ce4926 x22: ffffff801f9c0800 x21: ffffff801d05f7f0
  x20: ffffff8034a19f40 x19: 0000000000000000 x18: ffffff801f9c0958
  x17: ffffff800bc0a504 x16: dfffffc000000000 x15: ffffffc086ace4f8
  x14: ffffff801d05f83c x13: 0000000000000000 x12: ffffffb003a0bf03
  x11: 0000000000000000 x10: ffffffb003a0bf02 x9 : ffffff8034a19f40
  x8 : ffffff801d05f818 x7 : 1ffffff0069433dc x6 : ffffff8034a19ee0
  x5 : ffffff801d05f7f0 x4 : 0000000000000000 x3 : 0000000000000001
  x2 : 0000000000000000 x1 : dfffffc000000000 x0 : 0000000000000008
  Call trace:
   ath12k\_mac\_op\_tx+0x6cc/0x29b8 \[ath12k\] (P)
   ieee80211\_handle\_wake\_tx\_queue+0x16c/0x260
   ieee80211\_queue\_skb+0xeec/0x1d20
   ieee80211\_tx+0x200/0x2c8
   ieee80211\_xmit+0x22c/0x338
   \_\_ieee80211\_subif\_start\_xmit+0x7e8/0xc60
   ieee80211\_subif\_start\_xmit+0xc4/0xee0
   \_\_ieee80211\_subif\_start\_xmit\_8023.isra.0+0x854/0x17a0
   ieee80211\_subif\_start\_xmit\_8023+0x124/0x488
   dev\_hard\_start\_xmit+0x160/0x5a8
   \_\_dev\_queue\_xmit+0x6f8/0x3120
   br\_dev\_queue\_push\_xmit+0x120/0x4a8
   \_\_br\_forward+0xe4/0x2b0
   deliver\_clone+0x5c/0xd0
   br\_flood+0x398/0x580
   br\_dev\_xmit+0x454/0x9f8
   dev\_hard\_start\_xmit+0x160/0x5a8
   \_\_dev\_queue\_xmit+0x6f8/0x3120
   ip6\_finish\_output2+0xc28/0x1b60
   \_\_ip6\_finish\_output+0x38c/0x638
   ip6\_output+0x1b4/0x338
   ip6\_local\_out+0x7c/0xa8
   ip6\_send\_skb+0x7c/0x1b0
   ip6\_push\_pending\_frames+0x94/0xd0
   rawv6\_sendmsg+0x1a98/0x2898
   inet\_sendmsg+0x94/0xe0
   \_\_sys\_sendto+0x1e4/0x308
   \_\_arm64\_sys\_sendto+0xc4/0x140
   do\_el0\_svc+0x110/0x280
   el0\_svc+0x20/0x60
   el0t\_64\_sync\_handler+0x104/0x138
   el0t\_64\_sync+0x154/0x158

To avoid that, empty vif's txq at ieee80211\_do\_stop() so no packet could
be dequeued after ieee80211\_do\_stop() (new packets cannot be queued
because SDATA\_STATE\_RUNNING is cleared at this point).

## Affected and fixed versions

- Linux: \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 929ec2c9ad34248ef625e137b6118b6e965797d9; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< a932a5ce4eee0cbad20220f950fe7bd3534bcbc9; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 305741e7e63234cbcf9b5c4e6aeca25ba0834be8; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 5f6863dc407f25fcf23fc857f9ac51756a09ea2c; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< c74b84544dee27298a71715b3ce2c40d372b5a23; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< a8df245b5b29f6de98d016dc18e2bb35ec70b0cb; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 8bc34db7f771a464ff8f686b6f8d4e04963fec27; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 378677eb8f44621ecc9ce659f7af61e5baa94d81 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- Upgrade Linux to 378677eb8f44621ecc9ce659f7af61e5baa94d81 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-37794. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37794.md
Affected: Linux >= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, < 929ec2c9ad34248ef625e137b6118b6e965797d9; >= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, < a932a5ce4eee0cbad20220f950fe7bd3534bcbc9; >= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, < 305741e7e63234cbcf9b5c4e6aeca25ba0834be8; >= ba8c3d6f16a1f9305c23ac1…
Fixed in: Linux 929ec2c9ad34248ef625e137b6118b6e965797d9, Linux 305741e7e63234cbcf9b5c4e6aeca25ba0834be8, Linux 5f6863dc407f25fcf23fc857f9ac51756a09ea2c, Linux 8bc34db7f771a464ff8f686b6f8d4e04963fec27, Linux 378677eb8f44621ecc9ce659f7af61e5baa94d81

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-37794 being exploited?

There is no confirmed exploitation: CVE-2025-37794 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-28).

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

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

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

Linux \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 929ec2c9ad34248ef625e137b6118b6e965797d9; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< a932a5ce4eee0cbad20220f950fe7bd3534bcbc9; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 305741e7e63234cbcf9b5c4e6aeca25ba0834be8; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 5f6863dc407f25fcf23fc857f9ac51756a09ea2c; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< c74b84544dee27298a71715b3ce2c40d372b5a23; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< a8df245b5b29f6de98d016dc18e2bb35ec70b0cb; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 8bc34db7f771a464ff8f686b6f8d4e04963fec27; \>= ba8c3d6f16a1f9305c23ac1d2fd3992508c5ac03, \< 378677eb8f44621ecc9ce659f7af61e5baa94d81; Linux 4.1.

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

Yes. Fixed in Linux 929ec2c9ad34248ef625e137b6118b6e965797d9, Linux 305741e7e63234cbcf9b5c4e6aeca25ba0834be8, Linux 5f6863dc407f25fcf23fc857f9ac51756a09ea2c, Linux 8bc34db7f771a464ff8f686b6f8d4e04963fec27, Linux 378677eb8f44621ecc9ce659f7af61e5baa94d81. Upgrade Linux to 378677eb8f44621ecc9ce659f7af61e5baa94d81 or later.

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

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/929ec2c9ad34248ef625e137b6118b6e965797d9>
- patch: <https://git.kernel.org/stable/c/a932a5ce4eee0cbad20220f950fe7bd3534bcbc9>
- patch: <https://git.kernel.org/stable/c/305741e7e63234cbcf9b5c4e6aeca25ba0834be8>
- patch: <https://git.kernel.org/stable/c/5f6863dc407f25fcf23fc857f9ac51756a09ea2c>
- patch: <https://git.kernel.org/stable/c/c74b84544dee27298a71715b3ce2c40d372b5a23>
- patch: <https://git.kernel.org/stable/c/a8df245b5b29f6de98d016dc18e2bb35ec70b0cb>
- patch: <https://git.kernel.org/stable/c/8bc34db7f771a464ff8f686b6f8d4e04963fec27>
- patch: <https://git.kernel.org/stable/c/378677eb8f44621ecc9ce659f7af61e5baa94d81>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.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-37794>

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