# CVE-2022-50665: wifi: ath11k: fix failed to find the peer with peer\_id 0 when disconnected

> 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.39% (percentile 24, 2026-11-26)
- **Published:** 2025-12-09T01:29:15.255Z
- **Modified:** 2026-10-15T22:17:32.007Z

## Who should check

- Anyone running Linux \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< c0bb97a90b133416b50b3ffbdb7efca9253cc687; \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< a5b03df19041e5ce35c7f048fa84bf1b0ceb1311; \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< a20ed60bb357776301c2dad7b4a4f0db97e143e9
- Anyone running Linux 5.18

## Description

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

wifi: ath11k: fix failed to find the peer with peer\_id 0 when disconnected

It has a fail log which is ath11k\_dbg in ath11k\_dp\_rx\_process\_mon\_status(),
as below, it will not print when debug\_mask is not set ATH11K\_DBG\_DATA.
	ath11k\_dbg(ab, ATH11K\_DBG\_DATA,
		  "failed to find the peer with peer\_id %d\\n",
		   ppdu\_info.peer\_id);

When run scan with station disconnected, the peer\_id is 0 for case
HAL\_RX\_MPDU\_START in ath11k\_hal\_rx\_parse\_mon\_status\_tlv() which called
from ath11k\_dp\_rx\_process\_mon\_status(), and the peer\_id of ppdu\_info is
reset to 0 in the while loop, so it does not match condition of the
check "if (ppdu\_info-\>peer\_id == HAL\_INVALID\_PEERID" in the loop, and
then the log "failed to find the peer with peer\_id 0" print after the
check in the loop, it is below call stack when debug\_mask is set
ATH11K\_DBG\_DATA.

The reason is this commit 01d2f285e3e5 ("ath11k: decode HE status tlv")
add "memset(ppdu\_info, 0, sizeof(struct hal\_rx\_mon\_ppdu\_info))" in
ath11k\_dp\_rx\_process\_mon\_status(), but the commit does not initialize
the peer\_id to HAL\_INVALID\_PEERID, then lead the check mis-match.

Callstack of the failed log:
\[12335.689072\] RIP: 0010:ath11k\_dp\_rx\_process\_mon\_status+0x9ea/0x1020 \[ath11k\]
\[12335.689157\] Code: 89 ff e8 f9 10 00 00 be 01 00 00 00 4c 89 f7 e8 dc 4b 4e de 48 8b 85 38 ff ff ff c7 80 e4 07 00 00 01 00 00 00 e9 20 f8 ff ff \<0f\> 0b 41 0f b7 96 be 06 00 00 48 c7 c6 b8 50 44 c1 4c 89 ff e8 fd
\[12335.689180\] RSP: 0018:ffffb874001a4ca0 EFLAGS: 00010246
\[12335.689210\] RAX: 0000000000000000 RBX: ffff995642cbd100 RCX: 0000000000000000
\[12335.689229\] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff99564212cd18
\[12335.689248\] RBP: ffffb874001a4dc0 R08: 0000000000000001 R09: 0000000000000000
\[12335.689268\] R10: 0000000000000220 R11: ffffb874001a48e8 R12: ffff995642473d40
\[12335.689286\] R13: ffff99564212c5b8 R14: ffff9956424736a0 R15: ffff995642120000
\[12335.689303\] FS:  0000000000000000(0000) GS:ffff995739000000(0000) knlGS:0000000000000000
\[12335.689323\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[12335.689341\] CR2: 00007f43c5d5e039 CR3: 000000011c012005 CR4: 00000000000606e0
\[12335.689360\] Call Trace:
\[12335.689377\]  \<IRQ\>
\[12335.689418\]  ? rcu\_read\_lock\_held\_common+0x12/0x50
\[12335.689447\]  ? rcu\_read\_lock\_sched\_held+0x25/0x80
\[12335.689471\]  ? rcu\_read\_lock\_held\_common+0x12/0x50
\[12335.689504\]  ath11k\_dp\_rx\_process\_mon\_rings+0x8d/0x4f0 \[ath11k\]
\[12335.689578\]  ? ath11k\_dp\_rx\_process\_mon\_rings+0x8d/0x4f0 \[ath11k\]
\[12335.689653\]  ? lock\_acquire+0xef/0x360
\[12335.689681\]  ? rcu\_read\_lock\_sched\_held+0x25/0x80
\[12335.689713\]  ath11k\_dp\_service\_mon\_ring+0x38/0x60 \[ath11k\]
\[12335.689784\]  ? ath11k\_dp\_rx\_process\_mon\_rings+0x4f0/0x4f0 \[ath11k\]
\[12335.689860\]  call\_timer\_fn+0xb2/0x2f0
\[12335.689897\]  ? ath11k\_dp\_rx\_process\_mon\_rings+0x4f0/0x4f0 \[ath11k\]
\[12335.689970\]  run\_timer\_softirq+0x21f/0x540
\[12335.689999\]  ? ktime\_get+0xad/0x160
\[12335.690025\]  ? lapic\_next\_deadline+0x2c/0x40
\[12335.690053\]  ? clockevents\_program\_event+0x82/0x100
\[12335.690093\]  \_\_do\_softirq+0x151/0x4a8
\[12335.690135\]  irq\_exit\_rcu+0xc9/0x100
\[12335.690165\]  sysvec\_apic\_timer\_interrupt+0xa8/0xd0
\[12335.690189\]  \</IRQ\>
\[12335.690204\]  \<TASK\>
\[12335.690225\]  asm\_sysvec\_apic\_timer\_interrupt+0x12/0x20

Reset the default value to HAL\_INVALID\_PEERID each time after memset
of ppdu\_info as well as others memset which existed in function
ath11k\_dp\_rx\_process\_mon\_status(), then the failed log disappeared.

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

## Affected and fixed versions

- Linux: \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< c0bb97a90b133416b50b3ffbdb7efca9253cc687; \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< a5b03df19041e5ce35c7f048fa84bf1b0ceb1311; \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< a20ed60bb357776301c2dad7b4a4f0db97e143e9 (cvelist)
- Linux: 5.18 (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-2022-50665. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50665.md
Affected: Linux >= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, < c0bb97a90b133416b50b3ffbdb7efca9253cc687; >= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, < a5b03df19041e5ce35c7f048fa84bf1b0ceb1311; >= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, < a20ed60bb357776301c2dad7b4a4f0db97e143e9; Linux 5.18
Fixed in: no fixed version listed yet

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

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

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

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

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

Linux \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< c0bb97a90b133416b50b3ffbdb7efca9253cc687; \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< a5b03df19041e5ce35c7f048fa84bf1b0ceb1311; \>= 01d2f285e3e5b629df9c61514e7ee07a54d0eed9, \< a20ed60bb357776301c2dad7b4a4f0db97e143e9; Linux 5.18.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/c0bb97a90b133416b50b3ffbdb7efca9253cc687>
- other: <https://git.kernel.org/stable/c/a5b03df19041e5ce35c7f048fa84bf1b0ceb1311>
- other: <https://git.kernel.org/stable/c/a20ed60bb357776301c2dad7b4a4f0db97e143e9>

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

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