Skip to main content
Mallory
HighVulnerability

CVE-2025-39864: Use-after-free in Linux kernel cfg80211 cmp_bss()

Published Sep 19, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.38%24th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Debian ProjectLinux
IdentifiersCVE-2025-39864CWE-416 · Use After Free

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+13 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.