# CVE-2026-74366: wifi: ath12k: fix NULL deref in change\_sta\_links for unready link

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-15T05:58:48.264Z
- **Modified:** 2026-08-17T06:19:31.440Z

## Who should check

- Anyone running Linux \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< cfcea221db933295bf2cd75a7f80d441c7a51e28; \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< 5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f; \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< 47809a7c8348bc4a332ccc26a37c7145a5f609f8
- Anyone running Linux 6.14

## Description

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

wifi: ath12k: fix NULL deref in change\_sta\_links for unready link

\_ieee80211\_set\_active\_links() calls \_ieee80211\_link\_use\_channel() for
each newly-added link and WARN\_ON\_ONCE()s if it fails. The call uses
assign\_on\_failure=true, which allows mac80211 to continue despite
driver failures, but when a mac80211-level channel validation fails
(e.g., combinations check, DFS, or no available radio),
drv\_assign\_vif\_chanctx() is never reached. Since ath12k\_mac\_vdev\_create()
is only called from that path, arvif-\>is\_created remains false and
arvif-\>ar remains NULL for the failed link.

The subsequent drv\_change\_sta\_links() call reaches
ath12k\_mac\_op\_change\_sta\_links(), which allocates an arsta and sets
ahsta-\>links\_map \|= BIT(link\_id) for the broken link before checking
whether the link is ready. When the vdev was never created, only
station\_add() is skipped, but the link remains in links\_map.

Any subsequent operation iterating links\_map and dereferencing arvif-\>ar
without a NULL check will crash. Two observed examples are NULL deref in
ath12k\_mac\_ml\_station\_remove() on disconnect and in ath12k\_mac\_op\_set\_key()
when wpa\_supplicant installs PTK keys.

  BUG: Unable to handle kernel NULL pointer dereference at 0x00000000
  pc : ath12k\_mac\_station\_post\_remove+0x40/0xe8 \[ath12k\]
  Call trace:
   ath12k\_mac\_station\_post\_remove+0x40/0xe8 \[ath12k\]
   ath12k\_mac\_op\_sta\_state+0xb60/0x1720 \[ath12k\]
   drv\_sta\_state+0x100/0xbd8 \[mac80211\]
   \_\_sta\_info\_destroy\_part2+0x148/0x178 \[mac80211\]
   ieee80211\_set\_disassoc+0x500/0x678 \[mac80211\]

  BUG: Unable to handle kernel NULL pointer dereference at 0x00000000
  pc : ath12k\_mac\_op\_set\_key+0x1f8/0x2c0 \[ath12k\]
  Call trace:
   ath12k\_mac\_op\_set\_key+0x1f8/0x2c0 \[ath12k\]
   drv\_set\_key+0x70/0x100 \[mac80211\]
   ieee80211\_key\_enable\_hw\_accel+0x78/0x260 \[mac80211\]
   ieee80211\_add\_key+0x16c/0x2ac \[mac80211\]
   nl80211\_new\_key+0x138/0x280 \[cfg80211\]

Fix this by checking arvif-\>is\_created before calling
ath12k\_mac\_alloc\_assign\_link\_sta(). This prevents the broken link from
entering links\_map, so all subsequent operations iterating the bitmap
are protected. The reliability of arvif-\>is\_created across all error
paths is ensured by the preceding patch.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL\_V1.0\_V2.0\_SILICONZ-1.115823.3

## Affected and fixed versions

- Linux: \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< cfcea221db933295bf2cd75a7f80d441c7a51e28; \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< 5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f; \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< 47809a7c8348bc4a332ccc26a37c7145a5f609f8 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 47809a7c8348bc4a332ccc26a37c7145a5f609f8 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74366.md
Affected: Linux >= a27fa6148dacc79451e523c2694bc0a673b1be05, < cfcea221db933295bf2cd75a7f80d441c7a51e28; >= a27fa6148dacc79451e523c2694bc0a673b1be05, < 5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f; >= a27fa6148dacc79451e523c2694bc0a673b1be05, < 47809a7c8348bc4a332ccc26a37c7145a5f609f8; Linux 6.14
Fixed in: Linux 5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f, Linux 47809a7c8348bc4a332ccc26a37c7145a5f609f8

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-2026-74366 being exploited?

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

### How serious is CVE-2026-74366?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74366?

Linux \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< cfcea221db933295bf2cd75a7f80d441c7a51e28; \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< 5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f; \>= a27fa6148dacc79451e523c2694bc0a673b1be05, \< 47809a7c8348bc4a332ccc26a37c7145a5f609f8; Linux 6.14.

### Is there a fix for CVE-2026-74366?

Yes. Fixed in Linux 5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f, Linux 47809a7c8348bc4a332ccc26a37c7145a5f609f8. Upgrade Linux to 47809a7c8348bc4a332ccc26a37c7145a5f609f8 or later.

### How do I check if I'm affected by CVE-2026-74366?

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/cfcea221db933295bf2cd75a7f80d441c7a51e28>
- other: <https://git.kernel.org/stable/c/5f5be2aa3b6d730c51dd4f8b432f2ad72823e63f>
- other: <https://git.kernel.org/stable/c/47809a7c8348bc4a332ccc26a37c7145a5f609f8>

## 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-2026-74366>

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