# CVE-2024-35938: wifi: ath11k: decrease MHI channel buffer length to 8KB

> 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 16, 2026-11-26)
- **Published:** 2024-05-19T10:10:44.279Z
- **Modified:** 2026-06-17T07:35:45.817Z

## Who should check

- Anyone running Linux \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 805a1cdde82fec00c7471a393f4bb437b2741559; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 6597a6687af54e2cb58371cf8f6ee4dd85c537de; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 138fdeac75fb7512a7f9f1c3b236cd2e754af793; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< ae5876b3b7b2243d874e2afa099e7926122087a1; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 1cca1bddf9ef080503c15378cecf4877f7510015
- Anyone running Linux 5.6

## Description

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

wifi: ath11k: decrease MHI channel buffer length to 8KB

Currently buf\_len field of ath11k\_mhi\_config\_qca6390 is assigned
with 0, making MHI use a default size, 64KB, to allocate channel
buffers. This is likely to fail in some scenarios where system
memory is highly fragmented and memory compaction or reclaim is
not allowed.

There is a fail report which is caused by it:
kworker/u32:45: page allocation failure: order:4, mode:0x40c00(GFP\_NOIO\|\_\_GFP\_COMP), nodemask=(null),cpuset=/,mems\_allowed=0
CPU: 0 PID: 19318 Comm: kworker/u32:45 Not tainted 6.8.0-rc3-1.gae4495f-default \#1 openSUSE Tumbleweed (unreleased) 493b6d5b382c603654d7a81fc3c144d59a1dfceb
Workqueue: events\_unbound async\_run\_entry\_fn
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x47/0x60
 warn\_alloc+0x13a/0x1b0
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_alloc\_pages\_direct\_compact+0xab/0x210
 \_\_alloc\_pages\_slowpath.constprop.0+0xd3e/0xda0
 \_\_alloc\_pages+0x32d/0x350
 ? mhi\_prepare\_channel+0x127/0x2d0 \[mhi 40df44e07c05479f7a6e7b90fba9f0e0031a7814\]
 \_\_kmalloc\_large\_node+0x72/0x110
 \_\_kmalloc+0x37c/0x480
 ? mhi\_map\_single\_no\_bb+0x77/0xf0 \[mhi 40df44e07c05479f7a6e7b90fba9f0e0031a7814\]
 ? mhi\_prepare\_channel+0x127/0x2d0 \[mhi 40df44e07c05479f7a6e7b90fba9f0e0031a7814\]
 mhi\_prepare\_channel+0x127/0x2d0 \[mhi 40df44e07c05479f7a6e7b90fba9f0e0031a7814\]
 \_\_mhi\_prepare\_for\_transfer+0x44/0x80 \[mhi 40df44e07c05479f7a6e7b90fba9f0e0031a7814\]
 ? \_\_pfx\_\_\_\_\_mhi\_prepare\_for\_transfer+0x10/0x10 \[mhi 40df44e07c05479f7a6e7b90fba9f0e0031a7814\]
 device\_for\_each\_child+0x5c/0xa0
 ? \_\_pfx\_pci\_pm\_resume+0x10/0x10
 ath11k\_core\_resume+0x65/0x100 \[ath11k a5094e22d7223135c40d93c8f5321cf09fd85e4e\]
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ath11k\_pci\_pm\_resume+0x32/0x60 \[ath11k\_pci 830b7bfc3ea80ebef32e563cafe2cb55e9cc73ec\]
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 dpm\_run\_callback+0x8c/0x1e0
 device\_resume+0x104/0x340
 ? \_\_pfx\_dpm\_watchdog\_handler+0x10/0x10
 async\_resume+0x1d/0x30
 async\_run\_entry\_fn+0x32/0x120
 process\_one\_work+0x168/0x330
 worker\_thread+0x2f5/0x410
 ? \_\_pfx\_worker\_thread+0x10/0x10
 kthread+0xe8/0x120
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork+0x34/0x50
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork\_asm+0x1b/0x30
 \</TASK\>

Actually those buffers are used only by QMI target -\> host communication.
And for WCN6855 and QCA6390, the largest packet size for that is less
than 6KB. So change buf\_len field to 8KB, which results in order 1
allocation if page size is 4KB. In this way, we can at least save some
memory, and as well as decrease the possibility of allocation failure
in those scenarios.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL\_V1\_V2\_SILICONZ\_LITE-3.6510.30

## Affected and fixed versions

- Linux: \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 805a1cdde82fec00c7471a393f4bb437b2741559; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 6597a6687af54e2cb58371cf8f6ee4dd85c537de; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 138fdeac75fb7512a7f9f1c3b236cd2e754af793; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< ae5876b3b7b2243d874e2afa099e7926122087a1; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 1cca1bddf9ef080503c15378cecf4877f7510015 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 1cca1bddf9ef080503c15378cecf4877f7510015 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-35938.md
Affected: Linux >= d5c65159f2895379e11ca13f62feabe93278985d, < 805a1cdde82fec00c7471a393f4bb437b2741559; >= d5c65159f2895379e11ca13f62feabe93278985d, < 6597a6687af54e2cb58371cf8f6ee4dd85c537de; >= d5c65159f2895379e11ca13f62feabe93278985d, < 138fdeac75fb7512a7f9f1c3b236cd2e754af793; >= d5c65159f2895379e11ca13…
Fixed in: Linux 805a1cdde82fec00c7471a393f4bb437b2741559, Linux 6597a6687af54e2cb58371cf8f6ee4dd85c537de, Linux 138fdeac75fb7512a7f9f1c3b236cd2e754af793, Linux 1cca1bddf9ef080503c15378cecf4877f7510015

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

There is no confirmed exploitation: CVE-2024-35938 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-2024-35938?

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

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

Linux \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 805a1cdde82fec00c7471a393f4bb437b2741559; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 6597a6687af54e2cb58371cf8f6ee4dd85c537de; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 138fdeac75fb7512a7f9f1c3b236cd2e754af793; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< ae5876b3b7b2243d874e2afa099e7926122087a1; \>= d5c65159f2895379e11ca13f62feabe93278985d, \< 1cca1bddf9ef080503c15378cecf4877f7510015; Linux 5.6.

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

Yes. Fixed in Linux 805a1cdde82fec00c7471a393f4bb437b2741559, Linux 6597a6687af54e2cb58371cf8f6ee4dd85c537de, Linux 138fdeac75fb7512a7f9f1c3b236cd2e754af793, Linux 1cca1bddf9ef080503c15378cecf4877f7510015. Upgrade Linux to 1cca1bddf9ef080503c15378cecf4877f7510015 or later.

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

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/805a1cdde82fec00c7471a393f4bb437b2741559>
- patch: <https://git.kernel.org/stable/c/6597a6687af54e2cb58371cf8f6ee4dd85c537de>
- patch: <https://git.kernel.org/stable/c/138fdeac75fb7512a7f9f1c3b236cd2e754af793>
- patch: <https://git.kernel.org/stable/c/ae5876b3b7b2243d874e2afa099e7926122087a1>
- patch: <https://git.kernel.org/stable/c/1cca1bddf9ef080503c15378cecf4877f7510015>

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

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