# CVE-2026-64574: wifi: mac80211: tear down new links on vif update error path

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-08-05T08:08:10.272Z
- **Modified:** 2026-10-19T21:17:47.677Z

## Who should check

- Anyone running Linux \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 329589417214d3b7221432e5b266ed2bba7ff674; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< c57d97f381306bbfba174e8f708419e007824e0c; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 901a73523e093beff123b54b1ceaf3113f18acc9; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 952c02b33f56207a160421bcd61e7ac53c9c59ae
- Anyone running Linux 6.4

## Description

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

wifi: mac80211: tear down new links on vif update error path

When ieee80211\_vif\_update\_links() adds new links it allocates a link
container for each and calls ieee80211\_link\_init() (which registers the
per-link debugfs files with file-\>private\_data pointing into the container)
and ieee80211\_link\_setup(). If the subsequent drv\_change\_vif\_links() fails,
the error path restores the old pointers and jumps to 'free', which frees
the new containers but never removes their debugfs entries or stops the
links. The debugfs files survive with file-\>private\_data dangling at the
freed container, so a later open()+read() (e.g. link-1/txpower)
dereferences freed memory in ieee80211\_if\_read\_link(), a use-after-free.

The removal path already dismantles links correctly via
ieee80211\_tear\_down\_links(), which removes each link's keys and debugfs
entries and calls ieee80211\_link\_stop(); the add path on the error branch
does not. Commit be1ba9ed221f ("wifi: mac80211: avoid weird state in error
path") hardened this same error path for the link-removal case
(new\_links == 0) but left the newly-added links' teardown unaddressed.

drv\_change\_vif\_links() can fail at runtime on MLO drivers (internal
allocation / queue / firmware command failures).

Remove the new links' debugfs entries and stop them before freeing.

  BUG: KASAN: slab-use-after-free in ieee80211\_if\_read\_link (net/mac80211/debugfs\_netdev.c:127)
  Read of size 8 at addr ffff888011290000 by task exploit/145
  Call Trace:
   ...
   ieee80211\_if\_read\_link (net/mac80211/debugfs\_netdev.c:127)
   short\_proxy\_read (fs/debugfs/file.c:373)
   vfs\_read (fs/read\_write.c:572)
   ksys\_read (fs/read\_write.c:716)
   do\_syscall\_64 (arch/x86/entry/syscall\_64.c:94)
   entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:121)
  ...
  Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a
  RIP: 0010:ieee80211\_if\_read\_link (net/mac80211/debugfs\_netdev.c:127)
  Kernel panic - not syncing: Fatal exception

## Affected and fixed versions

- Linux: \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 329589417214d3b7221432e5b266ed2bba7ff674; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< c57d97f381306bbfba174e8f708419e007824e0c; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 901a73523e093beff123b54b1ceaf3113f18acc9; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 952c02b33f56207a160421bcd61e7ac53c9c59ae (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 952c02b33f56207a160421bcd61e7ac53c9c59ae 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-64574. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64574.md
Affected: Linux >= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, < 329589417214d3b7221432e5b266ed2bba7ff674; >= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, < c57d97f381306bbfba174e8f708419e007824e0c; >= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, < 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f; >= 170cd6a66d9a164180eb4dc…
Fixed in: Linux 329589417214d3b7221432e5b266ed2bba7ff674, Linux 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f, Linux 901a73523e093beff123b54b1ceaf3113f18acc9, Linux 952c02b33f56207a160421bcd61e7ac53c9c59ae

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

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

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

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

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

Linux \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 329589417214d3b7221432e5b266ed2bba7ff674; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< c57d97f381306bbfba174e8f708419e007824e0c; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 901a73523e093beff123b54b1ceaf3113f18acc9; \>= 170cd6a66d9a164180eb4dc72d50afa6ce1ce566, \< 952c02b33f56207a160421bcd61e7ac53c9c59ae; Linux 6.4.

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

Yes. Fixed in Linux 329589417214d3b7221432e5b266ed2bba7ff674, Linux 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f, Linux 901a73523e093beff123b54b1ceaf3113f18acc9, Linux 952c02b33f56207a160421bcd61e7ac53c9c59ae. Upgrade Linux to 952c02b33f56207a160421bcd61e7ac53c9c59ae or later.

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

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/329589417214d3b7221432e5b266ed2bba7ff674>
- other: <https://git.kernel.org/stable/c/c57d97f381306bbfba174e8f708419e007824e0c>
- other: <https://git.kernel.org/stable/c/0f7eaeb950adb77f71beb546e5ab30f90b41fe6f>
- other: <https://git.kernel.org/stable/c/901a73523e093beff123b54b1ceaf3113f18acc9>
- other: <https://git.kernel.org/stable/c/952c02b33f56207a160421bcd61e7ac53c9c59ae>

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

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