# CVE-2024-38572: wifi: ath12k: fix out-of-bound access of qmi\_invoke\_handler()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.33% (percentile 18, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2024-06-19T13:35:37.666Z
- **Modified:** 2026-08-05T11:32:52.528Z

## Who should check

- Anyone running Linux \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 95575de7dede7b1ed3b9718dab9dda97914ea775; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< b48d40f5840c505b7af700594aa8379eec28e925; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< a1abdb63628b04855a929850772de97435ed1555; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< e1bdff48a1bb4a4ac660c19c55a820968c48b3f2
- Anyone running Linux 6.3

## Description

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

wifi: ath12k: fix out-of-bound access of qmi\_invoke\_handler()

Currently, there is no terminator entry for ath12k\_qmi\_msg\_handlers hence
facing below KASAN warning,

 ==================================================================
 BUG: KASAN: global-out-of-bounds in qmi\_invoke\_handler+0xa4/0x148
 Read of size 8 at addr ffffffd00a6428d8 by task kworker/u8:2/1273

 CPU: 0 PID: 1273 Comm: kworker/u8:2 Not tainted 5.4.213 \#0
 Workqueue: qmi\_msg\_handler qmi\_data\_ready\_work
 Call trace:
  dump\_backtrace+0x0/0x20c
  show\_stack+0x14/0x1c
  dump\_stack+0xe0/0x138
  print\_address\_description.isra.5+0x30/0x330
  \_\_kasan\_report+0x16c/0x1bc
  kasan\_report+0xc/0x14
  \_\_asan\_load8+0xa8/0xb0
  qmi\_invoke\_handler+0xa4/0x148
  qmi\_handle\_message+0x18c/0x1bc
  qmi\_data\_ready\_work+0x4ec/0x528
  process\_one\_work+0x2c0/0x440
  worker\_thread+0x324/0x4b8
  kthread+0x210/0x228
  ret\_from\_fork+0x10/0x18

 The address belongs to the variable:
  ath12k\_mac\_mon\_status\_filter\_default+0x4bd8/0xfffffffffffe2300 \[ath12k\]
 \[...\]
 ==================================================================

Add a dummy terminator entry at the end to assist the qmi\_invoke\_handler()
in traversing up to the terminator entry without accessing an
out-of-boundary index.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL\_SILICONZ-1

## Affected and fixed versions

- Linux: \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 95575de7dede7b1ed3b9718dab9dda97914ea775; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< b48d40f5840c505b7af700594aa8379eec28e925; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< a1abdb63628b04855a929850772de97435ed1555; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< e1bdff48a1bb4a4ac660c19c55a820968c48b3f2 (cvelist)
- Linux: 6.3 (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-2024-38572. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38572.md
Affected: Linux >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 95575de7dede7b1ed3b9718dab9dda97914ea775; >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < b48d40f5840c505b7af700594aa8379eec28e925; >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < a1abdb63628b04855a929850772de97435ed1555; >= d889913205cf7ebda905b1e…
Fixed in: Linux 95575de7dede7b1ed3b9718dab9dda97914ea775

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-2024-38572 being exploited?

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

### How serious is CVE-2024-38572?

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

### Which versions are affected by CVE-2024-38572?

Linux \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 95575de7dede7b1ed3b9718dab9dda97914ea775; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< b48d40f5840c505b7af700594aa8379eec28e925; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< a1abdb63628b04855a929850772de97435ed1555; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< e1bdff48a1bb4a4ac660c19c55a820968c48b3f2; Linux 6.3.

### Is there a fix for CVE-2024-38572?

Yes. Fixed in Linux 95575de7dede7b1ed3b9718dab9dda97914ea775. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-38572?

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/95575de7dede7b1ed3b9718dab9dda97914ea775>
- patch: <https://git.kernel.org/stable/c/b48d40f5840c505b7af700594aa8379eec28e925>
- patch: <https://git.kernel.org/stable/c/a1abdb63628b04855a929850772de97435ed1555>
- patch: <https://git.kernel.org/stable/c/e1bdff48a1bb4a4ac660c19c55a820968c48b3f2>

## 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-2024-38572>

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