# CVE-2025-38505: wifi: mwifiex: discard erroneous disassoc frames on STA interface

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; 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.33% (percentile 19, 2026-11-26)
- **Published:** 2025-08-16T10:54:42.909Z
- **Modified:** 2026-10-15T22:18:43.550Z

## Who should check

- Anyone running Linux \>= 36995892c271cce5e2230bc165a06f109b117222, \< a963819a121f5dd61e0b39934d8b5dec529da96a; \>= 36995892c271cce5e2230bc165a06f109b117222, \< 52654cebaac23dae31a9c97ae0da5be649f1ab4d; \>= 36995892c271cce5e2230bc165a06f109b117222, \< 3b602ddc0df723992721b0d286c90c9bdd755b34
- Anyone running Linux 6.12

## Description

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

wifi: mwifiex: discard erroneous disassoc frames on STA interface

When operating in concurrent STA/AP mode with host MLME enabled,
the firmware incorrectly sends disassociation frames to the STA
interface when clients disconnect from the AP interface.
This causes kernel warnings as the STA interface processes
disconnect events that don't apply to it:

\[ 1303.240540\] WARNING: CPU: 0 PID: 513 at net/wireless/mlme.c:141 cfg80211\_process\_disassoc+0x78/0xec \[cfg80211\]
\[ 1303.250861\] Modules linked in: 8021q garp stp mrp llc rfcomm bnep btnxpuart nls\_iso8859\_1 nls\_cp437 onboard\_us
\[ 1303.327651\] CPU: 0 UID: 0 PID: 513 Comm: kworker/u9:2 Not tainted 6.16.0-rc1+ \#3 PREEMPT
\[ 1303.335937\] Hardware name: Toradex Verdin AM62 WB on Verdin Development Board (DT)
\[ 1303.343588\] Workqueue: MWIFIEX\_RX\_WORK\_QUEUE mwifiex\_rx\_work\_queue \[mwifiex\]
\[ 1303.350856\] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[ 1303.357904\] pc : cfg80211\_process\_disassoc+0x78/0xec \[cfg80211\]
\[ 1303.364065\] lr : cfg80211\_process\_disassoc+0x70/0xec \[cfg80211\]
\[ 1303.370221\] sp : ffff800083053be0
\[ 1303.373590\] x29: ffff800083053be0 x28: 0000000000000000 x27: 0000000000000000
\[ 1303.380855\] x26: 0000000000000000 x25: 00000000ffffffff x24: ffff000002c5b8ae
\[ 1303.388120\] x23: ffff000002c5b884 x22: 0000000000000001 x21: 0000000000000008
\[ 1303.395382\] x20: ffff000002c5b8ae x19: ffff0000064dd408 x18: 0000000000000006
\[ 1303.402646\] x17: 3a36333a61623a30 x16: 32206d6f72662063 x15: ffff800080bfe048
\[ 1303.409910\] x14: ffff000003625300 x13: 0000000000000001 x12: 0000000000000000
\[ 1303.417173\] x11: 0000000000000002 x10: ffff000003958600 x9 : ffff000003625300
\[ 1303.424434\] x8 : ffff00003fd9ef40 x7 : ffff0000039fc280 x6 : 0000000000000002
\[ 1303.431695\] x5 : ffff0000038976d4 x4 : 0000000000000000 x3 : 0000000000003186
\[ 1303.438956\] x2 : 000000004836ba20 x1 : 0000000000006986 x0 : 00000000d00479de
\[ 1303.446221\] Call trace:
\[ 1303.448722\]  cfg80211\_process\_disassoc+0x78/0xec \[cfg80211\] (P)
\[ 1303.454894\]  cfg80211\_rx\_mlme\_mgmt+0x64/0xf8 \[cfg80211\]
\[ 1303.460362\]  mwifiex\_process\_mgmt\_packet+0x1ec/0x460 \[mwifiex\]
\[ 1303.466380\]  mwifiex\_process\_sta\_rx\_packet+0x1bc/0x2a0 \[mwifiex\]
\[ 1303.472573\]  mwifiex\_handle\_rx\_packet+0xb4/0x13c \[mwifiex\]
\[ 1303.478243\]  mwifiex\_rx\_work\_queue+0x158/0x198 \[mwifiex\]
\[ 1303.483734\]  process\_one\_work+0x14c/0x28c
\[ 1303.487845\]  worker\_thread+0x2cc/0x3d4
\[ 1303.491680\]  kthread+0x12c/0x208
\[ 1303.495014\]  ret\_from\_fork+0x10/0x20

Add validation in the STA receive path to verify that disassoc/deauth
frames originate from the connected AP. Frames that fail this check
are discarded early, preventing them from reaching the MLME layer and
triggering WARN\_ON().

This filtering logic is similar with that used in the
ieee80211\_rx\_mgmt\_disassoc() function in mac80211, which drops
disassoc frames that don't match the current BSSID
(!ether\_addr\_equal(mgmt-\>bssid, sdata-\>vif.cfg.ap\_addr)), ensuring
only relevant frames are processed.

Tested on:
- 8997 with FW 16.68.1.p197

## Affected and fixed versions

- Linux: \>= 36995892c271cce5e2230bc165a06f109b117222, \< a963819a121f5dd61e0b39934d8b5dec529da96a; \>= 36995892c271cce5e2230bc165a06f109b117222, \< 52654cebaac23dae31a9c97ae0da5be649f1ab4d; \>= 36995892c271cce5e2230bc165a06f109b117222, \< 3b602ddc0df723992721b0d286c90c9bdd755b34 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-38505.md
Affected: Linux >= 36995892c271cce5e2230bc165a06f109b117222, < a963819a121f5dd61e0b39934d8b5dec529da96a; >= 36995892c271cce5e2230bc165a06f109b117222, < 52654cebaac23dae31a9c97ae0da5be649f1ab4d; >= 36995892c271cce5e2230bc165a06f109b117222, < 3b602ddc0df723992721b0d286c90c9bdd755b34; Linux 6.12
Fixed in: Linux 52654cebaac23dae31a9c97ae0da5be649f1ab4d, Linux 3b602ddc0df723992721b0d286c90c9bdd755b34

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

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

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

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 36995892c271cce5e2230bc165a06f109b117222, \< a963819a121f5dd61e0b39934d8b5dec529da96a; \>= 36995892c271cce5e2230bc165a06f109b117222, \< 52654cebaac23dae31a9c97ae0da5be649f1ab4d; \>= 36995892c271cce5e2230bc165a06f109b117222, \< 3b602ddc0df723992721b0d286c90c9bdd755b34; Linux 6.12.

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

Yes. Fixed in Linux 52654cebaac23dae31a9c97ae0da5be649f1ab4d, Linux 3b602ddc0df723992721b0d286c90c9bdd755b34. Upgrade Linux to 3b602ddc0df723992721b0d286c90c9bdd755b34 or later.

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

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/a963819a121f5dd61e0b39934d8b5dec529da96a>
- patch: <https://git.kernel.org/stable/c/52654cebaac23dae31a9c97ae0da5be649f1ab4d>
- patch: <https://git.kernel.org/stable/c/3b602ddc0df723992721b0d286c90c9bdd755b34>

## 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-38505>

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