CVE-2025-39864
wifi: cfg80211: fix use-after-free in cmp_bss()
Check your servers for CVE-2025-39864
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39864 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before a8bb681e879ca3c9f722aa08d3d7ae41c42a8807 affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before a97a9791e455bb0cd5e7a38b5abcb05523d4e21c affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before ff040562c10a540b8d851f7f4145fa112977f853 affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before 6854476d9e1aeaaf05ebc98d610061c2075db07d affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before b7d08929178c16398278613df07ad65cf63cce9d affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before 5b7ae04969f822283a95c866967e42b4d75e0eef affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before 912c4b66bef713a20775cfbf3b5e9bd71525c716 affected from 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, before 26e84445f02ce6b2fe5f3e0e28ff7add77f35e08
Other versions: unaffected
|
| Linux |
affected 5.4 unaffected before 5.4 unaffected from 5.4.299 up to and including 5.4.* unaffected from 5.10.243 up to and including 5.10.* unaffected from 5.15.192 up to and including 5.15.* unaffected from 6.1.151 up to and including 6.1.* unaffected from 6.6.105 up to and including 6.6.* unaffected from 6.12.46 up to and including 6.12.* unaffected from 6.16.6 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39864 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39864
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39864
trivy image --scanners vuln IMAGE | grep CVE-2025-39864
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a8bb681e879ca3c9f722aa08d3d7ae41c42a8807 git.kernel.org
- https://git.kernel.org/stable/c/a97a9791e455bb0cd5e7a38b5abcb05523d4e21c git.kernel.org
- https://git.kernel.org/stable/c/ff040562c10a540b8d851f7f4145fa112977f853 git.kernel.org
- https://git.kernel.org/stable/c/6854476d9e1aeaaf05ebc98d610061c2075db07d git.kernel.org
- https://git.kernel.org/stable/c/b7d08929178c16398278613df07ad65cf63cce9d git.kernel.org
- https://git.kernel.org/stable/c/5b7ae04969f822283a95c866967e42b4d75e0eef git.kernel.org
- https://git.kernel.org/stable/c/912c4b66bef713a20775cfbf3b5e9bd71525c716 git.kernel.org
- https://git.kernel.org/stable/c/26e84445f02ce6b2fe5f3e0e28ff7add77f35e08 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
Source: the record CVE-2025-39864 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse