# CVE-2025-38291: wifi: ath12k: Prevent sending WMI commands to firmware during firmware crash

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.28% (percentile 14, 2026-11-26)
- **CWE:** CWE-670
- **Published:** 2025-07-10T07:42:06.899Z
- **Modified:** 2026-10-15T22:18:38.037Z

## Who should check

- Anyone running Linux \>= a9b46dd2e483bf99fa09e6aeea7701960abaa902, \< 2563069baf243cadc76dc64d9085606742c4b282; \>= a9b46dd2e483bf99fa09e6aeea7701960abaa902, \< e9e094a9734ea3bd4d4d117c915ccf129ac61ba1
- Anyone running Linux 6.13

## Description

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

wifi: ath12k: Prevent sending WMI commands to firmware during firmware crash

Currently, we encounter the following kernel call trace when a firmware
crash occurs. This happens because the host sends WMI commands to the
firmware while it is in recovery, causing the commands to fail and
resulting in the kernel call trace.

Set the ATH12K\_FLAG\_CRASH\_FLUSH and ATH12K\_FLAG\_RECOVERY flags when the
host driver receives the firmware crash notification from MHI. This
prevents sending WMI commands to the firmware during recovery.

Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x75/0xc0
 register\_lock\_class+0x6be/0x7a0
 ? \_\_lock\_acquire+0x644/0x19a0
 \_\_lock\_acquire+0x95/0x19a0
 lock\_acquire+0x265/0x310
 ? ath12k\_ce\_send+0xa2/0x210 \[ath12k\]
 ? find\_held\_lock+0x34/0xa0
 ? ath12k\_ce\_send+0x56/0x210 \[ath12k\]
 \_raw\_spin\_lock\_bh+0x33/0x70
 ? ath12k\_ce\_send+0xa2/0x210 \[ath12k\]
 ath12k\_ce\_send+0xa2/0x210 \[ath12k\]
 ath12k\_htc\_send+0x178/0x390 \[ath12k\]
 ath12k\_wmi\_cmd\_send\_nowait+0x76/0xa0 \[ath12k\]
 ath12k\_wmi\_cmd\_send+0x62/0x190 \[ath12k\]
 ath12k\_wmi\_pdev\_bss\_chan\_info\_request+0x62/0xc0 \[ath1
 ath12k\_mac\_op\_get\_survey+0x2be/0x310 \[ath12k\]
 ieee80211\_dump\_survey+0x99/0x240 \[mac80211\]
 nl80211\_dump\_survey+0xe7/0x470 \[cfg80211\]
 ? kmalloc\_reserve+0x59/0xf0
 genl\_dumpit+0x24/0x70
 netlink\_dump+0x177/0x360
 \_\_netlink\_dump\_start+0x206/0x280
 genl\_family\_rcv\_msg\_dumpit.isra.22+0x8a/0xe0
 ? genl\_family\_rcv\_msg\_attrs\_parse.isra.23+0xe0/0xe0
 ? genl\_op\_lock.part.12+0x10/0x10
 ? genl\_dumpit+0x70/0x70
 genl\_rcv\_msg+0x1d0/0x290
 ? nl80211\_del\_station+0x330/0x330 \[cfg80211\]
 ? genl\_get\_cmd\_both+0x50/0x50
 netlink\_rcv\_skb+0x4f/0x100
 genl\_rcv+0x1f/0x30
 netlink\_unicast+0x1b6/0x260
 netlink\_sendmsg+0x31a/0x450
 \_\_sock\_sendmsg+0xa8/0xb0
 \_\_\_\_sys\_sendmsg+0x1e4/0x260
 \_\_\_sys\_sendmsg+0x89/0xe0
 ? local\_clock\_noinstr+0xb/0xc0
 ? rcu\_is\_watching+0xd/0x40
 ? kfree+0x1de/0x370
 ? \_\_sys\_sendmsg+0x7a/0xc0

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL\_SILICONZ-1

## Affected and fixed versions

- Linux: \>= a9b46dd2e483bf99fa09e6aeea7701960abaa902, \< 2563069baf243cadc76dc64d9085606742c4b282; \>= a9b46dd2e483bf99fa09e6aeea7701960abaa902, \< e9e094a9734ea3bd4d4d117c915ccf129ac61ba1 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38291.md
Affected: Linux >= a9b46dd2e483bf99fa09e6aeea7701960abaa902, < 2563069baf243cadc76dc64d9085606742c4b282; >= a9b46dd2e483bf99fa09e6aeea7701960abaa902, < e9e094a9734ea3bd4d4d117c915ccf129ac61ba1; Linux 6.13
Fixed in: Linux 2563069baf243cadc76dc64d9085606742c4b282

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

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

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

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

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

Linux \>= a9b46dd2e483bf99fa09e6aeea7701960abaa902, \< 2563069baf243cadc76dc64d9085606742c4b282; \>= a9b46dd2e483bf99fa09e6aeea7701960abaa902, \< e9e094a9734ea3bd4d4d117c915ccf129ac61ba1; Linux 6.13.

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

Yes. Fixed in Linux 2563069baf243cadc76dc64d9085606742c4b282. No fix listed yet: follow the vendor advisory.

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

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/2563069baf243cadc76dc64d9085606742c4b282>
- patch: <https://git.kernel.org/stable/c/e9e094a9734ea3bd4d4d117c915ccf129ac61ba1>

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

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