# CVE-2022-49238: ath11k: free peer for station when disconnect from AP for QCA6390/WCN6855

> 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.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-26T01:56:01.716Z
- **Modified:** 2026-08-05T08:54:27.408Z

## Who should check

- Anyone running Linux \>= b4a0f54156ac7720de1750b6ea06657c91c52163, \< 400705c50bbf184794c885d1efad7fe9ccf1471a; \>= b4a0f54156ac7720de1750b6ea06657c91c52163, \< 212ad7cb7d7592669c067125949e0a8e31ce6a0b
- Anyone running Linux 5.17

## Description

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

ath11k: free peer for station when disconnect from AP for QCA6390/WCN6855

Commit b4a0f54156ac ("ath11k: move peer delete after vdev stop of station
for QCA6390 and WCN6855") is to fix firmware crash by changing the WMI
command sequence, but actually skip all the peer delete operation, then
it lead commit 58595c9874c6 ("ath11k: Fixing dangling pointer issue upon
peer delete failure") not take effect, and then happened a use-after-free
warning from KASAN. because the peer-\>sta is not set to NULL and then used
later.

Change to only skip the WMI\_PEER\_DELETE\_CMDID for QCA6390/WCN6855.

log of user-after-free:

\[  534.888665\] BUG: KASAN: use-after-free in ath11k\_dp\_rx\_update\_peer\_stats+0x912/0xc10 \[ath11k\]
\[  534.888696\] Read of size 8 at addr ffff8881396bb1b8 by task rtcwake/2860

\[  534.888705\] CPU: 4 PID: 2860 Comm: rtcwake Kdump: loaded Tainted: G        W         5.15.0-wt-ath+ \#523
\[  534.888712\] Hardware name: Intel(R) Client Systems NUC8i7HVK/NUC8i7HVB, BIOS HNKBLi70.86A.0067.2021.0528.1339 05/28/2021
\[  534.888716\] Call Trace:
\[  534.888720\]  \<IRQ\>
\[  534.888726\]  dump\_stack\_lvl+0x57/0x7d
\[  534.888736\]  print\_address\_description.constprop.0+0x1f/0x170
\[  534.888745\]  ? ath11k\_dp\_rx\_update\_peer\_stats+0x912/0xc10 \[ath11k\]
\[  534.888771\]  kasan\_report.cold+0x83/0xdf
\[  534.888783\]  ? ath11k\_dp\_rx\_update\_peer\_stats+0x912/0xc10 \[ath11k\]
\[  534.888810\]  ath11k\_dp\_rx\_update\_peer\_stats+0x912/0xc10 \[ath11k\]
\[  534.888840\]  ath11k\_dp\_rx\_process\_mon\_status+0x529/0xa70 \[ath11k\]
\[  534.888874\]  ? ath11k\_dp\_rx\_mon\_status\_bufs\_replenish+0x3f0/0x3f0 \[ath11k\]
\[  534.888897\]  ? check\_prev\_add+0x20f0/0x20f0
\[  534.888922\]  ? \_\_lock\_acquire+0xb72/0x1870
\[  534.888937\]  ? find\_held\_lock+0x33/0x110
\[  534.888954\]  ath11k\_dp\_rx\_process\_mon\_rings+0x297/0x520 \[ath11k\]
\[  534.888981\]  ? rcu\_read\_unlock+0x40/0x40
\[  534.888990\]  ? ath11k\_dp\_rx\_pdev\_alloc+0xd90/0xd90 \[ath11k\]
\[  534.889026\]  ath11k\_dp\_service\_mon\_ring+0x67/0xe0 \[ath11k\]
\[  534.889053\]  ? ath11k\_dp\_rx\_process\_mon\_rings+0x520/0x520 \[ath11k\]
\[  534.889075\]  call\_timer\_fn+0x167/0x4a0
\[  534.889084\]  ? add\_timer\_on+0x3b0/0x3b0
\[  534.889103\]  ? lockdep\_hardirqs\_on\_prepare.part.0+0x18c/0x370
\[  534.889117\]  \_\_run\_timers.part.0+0x539/0x8b0
\[  534.889123\]  ? ath11k\_dp\_rx\_process\_mon\_rings+0x520/0x520 \[ath11k\]
\[  534.889157\]  ? call\_timer\_fn+0x4a0/0x4a0
\[  534.889164\]  ? mark\_lock\_irq+0x1c30/0x1c30
\[  534.889173\]  ? clockevents\_program\_event+0xdd/0x280
\[  534.889189\]  ? mark\_held\_locks+0xa5/0xe0
\[  534.889203\]  run\_timer\_softirq+0x97/0x180
\[  534.889213\]  \_\_do\_softirq+0x276/0x86a
\[  534.889230\]  \_\_irq\_exit\_rcu+0x11c/0x180
\[  534.889238\]  irq\_exit\_rcu+0x5/0x20
\[  534.889244\]  sysvec\_apic\_timer\_interrupt+0x8e/0xc0
\[  534.889251\]  \</IRQ\>
\[  534.889254\]  \<TASK\>
\[  534.889259\]  asm\_sysvec\_apic\_timer\_interrupt+0x12/0x20
\[  534.889265\] RIP: 0010:\_raw\_spin\_unlock\_irqrestore+0x38/0x70
\[  534.889271\] Code: 74 24 10 e8 ea c2 bf fd 48 89 ef e8 12 53 c0 fd 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 \<e8\> 13 a7 b5 fd 65 8b 05 cc d9 9c 5e 85 c0 74 0a 5b 5d c3 e8 a0 ee
\[  534.889276\] RSP: 0018:ffffc90002e5f880 EFLAGS: 00000206
\[  534.889284\] RAX: 0000000000000006 RBX: 0000000000000200 RCX: ffffffff9f256f10
\[  534.889289\] RDX: 0000000000000000 RSI: ffffffffa1c6e420 RDI: 0000000000000001
\[  534.889293\] RBP: ffff8881095e6200 R08: 0000000000000001 R09: ffffffffa40d2b8f
\[  534.889298\] R10: fffffbfff481a571 R11: 0000000000000001 R12: ffff8881095e6e68
\[  534.889302\] R13: ffffc90002e5f908 R14: 0000000000000246 R15: 0000000000000000
\[  534.889316\]  ? mark\_lock+0xd0/0x14a0
\[  534.889332\]  klist\_next+0x1d4/0x450
\[  534.889340\]  ? dpm\_wait\_for\_subordinate+0x2d0/0x2d0
\[  534.889350\]  device\_for\_each\_child+0xa8/0x140
\[  534.889360\]  ? device\_remove\_class\_symlinks+0x1b0/0x1b0
\[  534.889370\]  ? \_\_lock\_release+0x4bd/0x9f0
\[  534.889378\]  ? dpm\_suspend+0x26b/0x3f0
\[  534.889390\]  dpm\_wait\_for\_subordinate+
---truncated---

## Affected and fixed versions

- Linux: \>= b4a0f54156ac7720de1750b6ea06657c91c52163, \< 400705c50bbf184794c885d1efad7fe9ccf1471a; \>= b4a0f54156ac7720de1750b6ea06657c91c52163, \< 212ad7cb7d7592669c067125949e0a8e31ce6a0b (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 212ad7cb7d7592669c067125949e0a8e31ce6a0b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49238.md
Affected: Linux >= b4a0f54156ac7720de1750b6ea06657c91c52163, < 400705c50bbf184794c885d1efad7fe9ccf1471a; >= b4a0f54156ac7720de1750b6ea06657c91c52163, < 212ad7cb7d7592669c067125949e0a8e31ce6a0b; Linux 5.17
Fixed in: Linux 400705c50bbf184794c885d1efad7fe9ccf1471a, Linux 212ad7cb7d7592669c067125949e0a8e31ce6a0b

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-2022-49238 being exploited?

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

### How serious is CVE-2022-49238?

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

### Which versions are affected by CVE-2022-49238?

Linux \>= b4a0f54156ac7720de1750b6ea06657c91c52163, \< 400705c50bbf184794c885d1efad7fe9ccf1471a; \>= b4a0f54156ac7720de1750b6ea06657c91c52163, \< 212ad7cb7d7592669c067125949e0a8e31ce6a0b; Linux 5.17.

### Is there a fix for CVE-2022-49238?

Yes. Fixed in Linux 400705c50bbf184794c885d1efad7fe9ccf1471a, Linux 212ad7cb7d7592669c067125949e0a8e31ce6a0b. Upgrade Linux to 212ad7cb7d7592669c067125949e0a8e31ce6a0b or later.

### How do I check if I'm affected by CVE-2022-49238?

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/400705c50bbf184794c885d1efad7fe9ccf1471a>
- patch: <https://git.kernel.org/stable/c/212ad7cb7d7592669c067125949e0a8e31ce6a0b>

## 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-2022-49238>

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