HIGH Introduced in 5.4
cfg80211 HiddenGroup UAF
CVE-2026-98823
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: preserve hidden-group beacon IE ownership A hidden-group probe-response entry borrows its beacon IEs from the group's beacon entry. cfg80211_update_assoc_bss_entry() can pass such an entry to cfg80211_update_known_bss() when merging scan entries after a channel switch. Copying the borrowed beacon_ies into the associated entry gives the same allocation two owners. Releasing the group's beacon entry can then leave the associated entry pointing to freed IEs, which are freed again when that entry is released. Skip beacon IE replacement when the source entry belongs to a hidden group. Preserve probe-response processing, the subsequent metadata updates, and the existing rejection path for conflicting hidden beacon updates.
02KernelScan AI Analysis
Risk summary
A local attacker with WiFi access can trigger a use-after-free and double-free in the kernel's WiFi scan entry management by manipulating hidden SSID groups during a channel switch. This can lead to kernel memory corruption, privilege escalation, or denial of service.
Vulnerability analysis
When a WiFi access point uses a hidden SSID, the kernel's cfg80211 subsystem groups probe-response entries under a shared beacon entry, causing the probe-response entries to borrow the beacon's information elements (IEs) rather than owning their own copy. During a channel switch, the kernel merges scan entries and incorrectly copies the borrowed IE pointer into the associated BSS entry, giving two separate entries ownership of the same memory allocation. When the original beacon entry is later freed, the associated entry is left pointing to freed memory, and a subsequent free of that entry attempts to free the same memory a second time. The fix skips the beacon IE replacement when the source entry belongs to a hidden group, preserving the single-owner semantics. The vulnerability is reachable by any local user who can trigger WiFi scanning and channel-switch operations (typically requiring only standard network privileges), and does not require physical proximity or special hardware beyond a WiFi interface.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.10 | 5.4 | 5.10.273 | 00f83d39675a |
| 5.15 | 5.4 | 5.15.224 | 3c44f780d173 |
| 6.1 | 5.4 | 6.1.191 | 8f79f429dc87 |
| 6.12 | 5.4 | 6.12.113 | 49b66110a08e |
| 6.18 | 5.4 | 6.18.56 | dd7973a4130b |
| 6.6 | 5.4 | 6.6.160 | 5617d5328839 |
| 7.2 | 5.4 | 7.2.10 | 5f27581c176f |
| mainline | 5.4 | 7.3 | cc45f313d855 |
| cip/6.12 | 5.4 | 6.12.114-cip34 | 49b66110a08e |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |