CVE-2025-39864: Use-after-free in Linux kernel cfg80211 cmp_bss()
- Vendors
- Debian ProjectLinux
CVE-2025-39864 is a use-after-free vulnerability in the Linux kernel's cfg80211 Wi-Fi subsystem. During updates to known basic service set (BSS) entries, cfg80211_update_known_bss() can prematurely free beacon-frame elements shared through the hidden_beacon_bss pointer. Subsequent access in cmp_bss() can reference the freed memory. The flaw involves hidden-SSID network tracking and can cause kernel memory corruption, potentially compromising system availability, confidentiality, and integrity.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can potentially cause a kernel crash and denial of service. Depending on exploitability, the kernel memory-safety violation could also enable information disclosure, privilege escalation, or arbitrary code execution in kernel context. The CVSS v3 assessment is 7.8 with high potential confidentiality, integrity, and availability impacts; these ratings do not establish demonstrated exploitation of each outcome.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict access by untrusted local users. Where operationally feasible, disable affected cfg80211-based Wi-Fi functionality to reduce exposure to the vulnerable code path. No definitive vulnerability-specific workaround is established; these measures do not replace installing the corrected kernel.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update explicitly addressing CVE-2025-39864 and reboot into the updated kernel. The upstream fix changes cfg80211_update_known_bss() to free the previous beacon-frame elements only when they are not shared through hidden_beacon_bss. Fixed package examples include Echo Linux linux 6.1.153-1 or later; RHEL 8.10 kernel 4.18.0-553.82.1.el8_10; RHEL 9.4 kernel 5.14.0-427.103.1.el9_4; SLES 15 SP6 kernel-default 6.4.0-150600.23.73.1; and SLES 15 SP7 kernel-default 6.4.0-150700.53.22.1. Select the update appropriate to the distribution, kernel flavor, and servicing channel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-39864 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2025-39864 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-39864?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-39864.
- Is there a patch for CVE-2025-39864?
- Install a vendor-supported kernel update explicitly addressing CVE-2025-39864 and reboot into the updated kernel. The upstream fix changes cfg80211_update_known_bss() to free the previous beacon-frame elements only when they are not shared through hidden_beacon_bss.
- What products are affected by CVE-2025-39864?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-39864?
- CVE-2025-39864 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.38% (24th percentile) as of Oct 25, 2026.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.