CVE-2025-39864
HighIn the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix use-after-free in cmp_bss() Following bss_free() quirk introduced in commit 776b3580178f ("cfg80211: track hidden SSID networks properly"), adjust cfg80211_update_known_bss() to free the last beacon frame elements only if they're not shared via the corresponding 'hidden_beacon_bss' pointer.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2025-39864 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.4
and later are affected. Fixed in
5.4.299,
5.10.243,
5.15.192,
6.1.151,
6.6.105,
6.12.46,
6.16.6,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-39864 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List Third Party Advisory
-
Mailing List Third Party Advisory
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/26e84445f02ce6b2fe5f3e0e28ff7add77f35e08
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5b7ae04969f822283a95c866967e42b4d75e0eef
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6854476d9e1aeaaf05ebc98d610061c2075db07d
Frequently asked questions
-
What is CVE-2025-39864?
CVE-2025-39864 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 5.4 onward and has been patched in 5.4.299, 5.10.243, 5.15.192 and others. CVE-2025-39864 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-39864?
CVE-2025-39864 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2025-39864?
Yes — CVE-2025-39864 has been patched. Fixed versions include 5.4.299, 5.10.243, 5.15.192 and others. If you are running Linux kernel 5.4 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39864 actively exploited?
No — CVE-2025-39864 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →