Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39864

HIGH 8.8EPSS 24%

wifi: cfg80211: fix use-after-free in cmp_bss()

Mitigation

  • Upgrade Linux to 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08 or later.

Who should check

  • Anyone running Linux >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a8bb681e879ca3c9f722aa08d3d7ae41c42a8807; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a97a9791e455bb0cd5e7a38b5abcb05523d4e21c; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < ff040562c10a540b8d851f7f4145fa112977f853; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 6854476d9e1aeaaf05ebc98d610061c2075db07d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < b7d08929178c16398278613df07ad65cf63cce9d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 5b7ae04969f822283a95c866967e42b4d75e0eef; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 912c4b66bef713a20775cfbf3b5e9bd71525c716; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08
  • Anyone running Linux 5.4

Vulnerability facts

Affected
Linux >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a8bb681e879ca3c9f722aa08d3d7ae41c42a8807; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a97a9791e455bb0cd5e7a38b5abcb05523d4e21c; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < ff040562c10a540b8d851f7f4145fa112977f853; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 6854476d9e1aeaaf05ebc98d610061c2075db07d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < b7d08929178c16398278613df07ad65cf63cce9d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 5b7ae04969f822283a95c866967e42b4d75e0eef; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 912c4b66bef713a20775cfbf3b5e9bd71525c716; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08; Linux 5.4
Fixed in
Linux 6854476d9e1aeaaf05ebc98d610061c2075db07d, Linux 5b7ae04969f822283a95c866967e42b4d75e0eef, Linux 912c4b66bef713a20775cfbf3b5e9bd71525c716, Linux 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In 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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a8bb681e879ca3c9f722aa08d3d7ae41c42a8807; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a97a9791e455bb0cd5e7a38b5abcb05523d4e21c; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < ff040562c10a540b8d851f7f4145fa112977f853; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 6854476d9e1aeaaf05ebc98d610061c2075db07d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < b7d08929178c16398278613df07ad65cf63cce9d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 5b7ae04969f822283a95c866967e42b4d75e0eef; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 912c4b66bef713a20775cfbf3b5e9bd71525c716; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39864. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39864.md
Affected: Linux >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a8bb681e879ca3c9f722aa08d3d7ae41c42a8807; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a97a9791e455bb0cd5e7a38b5abcb05523d4e21c; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < ff040562c10a540b8d851f7f4145fa112977f853; >= 3ab8227d3e7d1d2bf182967…
Fixed in: Linux 6854476d9e1aeaaf05ebc98d610061c2075db07d, Linux 5b7ae04969f822283a95c866967e42b4d75e0eef, Linux 912c4b66bef713a20775cfbf3b5e9bd71525c716, Linux 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08

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.

References

FAQ

Is CVE-2025-39864 being exploited?

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

How serious is CVE-2025-39864?

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

Which versions are affected by CVE-2025-39864?

Linux >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a8bb681e879ca3c9f722aa08d3d7ae41c42a8807; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < a97a9791e455bb0cd5e7a38b5abcb05523d4e21c; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < ff040562c10a540b8d851f7f4145fa112977f853; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 6854476d9e1aeaaf05ebc98d610061c2075db07d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < b7d08929178c16398278613df07ad65cf63cce9d; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 5b7ae04969f822283a95c866967e42b4d75e0eef; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 912c4b66bef713a20775cfbf3b5e9bd71525c716; >= 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, < 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08; Linux 5.4.

Is there a fix for CVE-2025-39864?

Yes. Fixed in Linux 6854476d9e1aeaaf05ebc98d610061c2075db07d, Linux 5b7ae04969f822283a95c866967e42b4d75e0eef, Linux 912c4b66bef713a20775cfbf3b5e9bd71525c716, Linux 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08. Upgrade Linux to 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08 or later.

How do I check if I'm affected by CVE-2025-39864?

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.

Sponsors