# CVE-2025-38606: wifi: ath12k: Avoid accessing uninitialized arvif-\>ar during beacon miss

> 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.26% (percentile 11, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2025-08-19T17:03:50.189Z
- **Modified:** 2026-11-05T22:17:20.360Z

## Who should check

- Anyone running Linux \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 9b861dfc5c07defd0191fd3e7288a3179cd9a02e; \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 1259b6da8303f70fef6ed4aef8ae3dedfecb0f27; \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 36670b67de18f1e5d34900c5d2ac60a8970c293c
- Anyone running Linux 6.14

## Description

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

wifi: ath12k: Avoid accessing uninitialized arvif-\>ar during beacon miss

During beacon miss handling, ath12k driver iterates over active virtual
interfaces (vifs) and attempts to access the radio object (ar) via
arvif-\>deflink-\>ar.

However, after commit aa80f12f3bed ("wifi: ath12k: defer vdev creation for
MLO"), arvif is linked to a radio only after vdev creation, typically when
a channel is assigned or a scan is requested.
For P2P capable devices, a default P2P interface is created by
wpa\_supplicant along with regular station interfaces, these serve as dummy
interfaces for P2P-capable stations, lack an associated netdev and initiate
frequent scans to discover neighbor p2p devices. When a scan is initiated
on such P2P vifs, driver selects destination radio (ar) based on scan
frequency, creates a scan vdev, and attaches arvif to the radio. Once the
scan completes or is aborted, the scan vdev is deleted, detaching arvif
from the radio and leaving arvif-\>ar uninitialized.

While handling beacon miss for station interfaces, P2P interface is also
encountered in the vif iteration and ath12k\_mac\_handle\_beacon\_miss\_iter()
tries to dereference the uninitialized arvif-\>deflink-\>ar.

Fix this by verifying that vdev is created for the arvif before accessing
its ar during beacon miss handling and similar vif iterator callbacks.

==========================================================================
 wlp6s0: detected beacon loss from AP (missed 7 beacons) - probing
 KASAN: null-ptr-deref in range \[0x0000000000000010-0x0000000000000017\]

 CPU: 5 UID: 0 PID: 0 Comm: swapper/5 Not tainted 6.16.0-rc1-wt-ath+ \#2 PREEMPT(full)
 RIP: 0010:ath12k\_mac\_handle\_beacon\_miss\_iter+0xb5/0x1a0 \[ath12k\]
 Call Trace:
  \_\_iterate\_interfaces+0x11a/0x410 \[mac80211\]
  ieee80211\_iterate\_active\_interfaces\_atomic+0x61/0x140 \[mac80211\]
  ath12k\_mac\_handle\_beacon\_miss+0xa1/0xf0 \[ath12k\]
  ath12k\_roam\_event+0x393/0x560 \[ath12k\]
  ath12k\_wmi\_op\_rx+0x1486/0x28c0 \[ath12k\]
  ath12k\_htc\_process\_trailer.isra.0+0x2fb/0x620 \[ath12k\]
  ath12k\_htc\_rx\_completion\_handler+0x448/0x830 \[ath12k\]
  ath12k\_ce\_recv\_process\_cb+0x549/0x9e0 \[ath12k\]
  ath12k\_ce\_per\_engine\_service+0xbe/0xf0 \[ath12k\]
  ath12k\_pci\_ce\_workqueue+0x69/0x120 \[ath12k\]
  process\_one\_work+0xe3a/0x1430

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL\_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL\_V1.0\_V2.0\_SILICONZ-3

## Affected and fixed versions

- Linux: \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 9b861dfc5c07defd0191fd3e7288a3179cd9a02e; \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 1259b6da8303f70fef6ed4aef8ae3dedfecb0f27; \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 36670b67de18f1e5d34900c5d2ac60a8970c293c (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 36670b67de18f1e5d34900c5d2ac60a8970c293c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38606.md
Affected: Linux >= aa80f12f3bedc2d73e4cc43554aee44c277cc938, < 9b861dfc5c07defd0191fd3e7288a3179cd9a02e; >= aa80f12f3bedc2d73e4cc43554aee44c277cc938, < 1259b6da8303f70fef6ed4aef8ae3dedfecb0f27; >= aa80f12f3bedc2d73e4cc43554aee44c277cc938, < 36670b67de18f1e5d34900c5d2ac60a8970c293c; Linux 6.14
Fixed in: Linux 9b861dfc5c07defd0191fd3e7288a3179cd9a02e, Linux 1259b6da8303f70fef6ed4aef8ae3dedfecb0f27, Linux 36670b67de18f1e5d34900c5d2ac60a8970c293c

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

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

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

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

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

Linux \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 9b861dfc5c07defd0191fd3e7288a3179cd9a02e; \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 1259b6da8303f70fef6ed4aef8ae3dedfecb0f27; \>= aa80f12f3bedc2d73e4cc43554aee44c277cc938, \< 36670b67de18f1e5d34900c5d2ac60a8970c293c; Linux 6.14.

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

Yes. Fixed in Linux 9b861dfc5c07defd0191fd3e7288a3179cd9a02e, Linux 1259b6da8303f70fef6ed4aef8ae3dedfecb0f27, Linux 36670b67de18f1e5d34900c5d2ac60a8970c293c. Upgrade Linux to 36670b67de18f1e5d34900c5d2ac60a8970c293c or later.

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

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/9b861dfc5c07defd0191fd3e7288a3179cd9a02e>
- patch: <https://git.kernel.org/stable/c/1259b6da8303f70fef6ed4aef8ae3dedfecb0f27>
- patch: <https://git.kernel.org/stable/c/36670b67de18f1e5d34900c5d2ac60a8970c293c>

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

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