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

Published Sep 19, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

Following bssfree() quirk introduced in commit 776b3580178f ("cfg80211: track hidden SSID networks properly"), adjust cfg80211updateknownbss() to free the last beacon frame elements only if they're not shared via the corresponding 'hiddenbeaconbss' pointer.

Affected Software

16 affected components
Linux Linux kernel
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.104.2-4
Linux Linux kernel>=5.4<5.4.299
Linux Linux kernel>=5.5<5.10.243
Linux Linux kernel>=5.11<5.15.192
Linux Linux kernel>=5.16<6.1.151
Linux Linux kernel>=6.2<6.6.105
Linux Linux kernel>=6.7<6.12.46
Linux Linux kernel>=6.13<6.16.6
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3
Linux Linux kernel=6.17-rc4
Debian Debian Linux=11.0
IBM Cloud Pak for Data System<=11.3.0.2-IF1

Event History

Sep 19, 2025
CVE Published
via MITRE·03:26 PM
Data Sourced
via MITRE·03:26 PM
DescriptionSeverity
Data Sourced
via Red Hat·04:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 21, 2025
Data Sourced
via Microsoft·01:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:03 AM
DescriptionSeverity
Updated
via Microsoft·01:03 AM
Affected Software
Aug 28, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-39864?

CVE-2025-39864 has been classified with a severity level that indicates a significant risk to the Linux kernel.

2

How do I fix CVE-2025-39864?

To mitigate CVE-2025-39864, users should update their Linux kernel to the latest stable version that includes the fix for this vulnerability.

3

What systems are affected by CVE-2025-39864?

CVE-2025-39864 affects all versions of the Linux kernel that are susceptible to the use-after-free issue in cfg80211.

4

What type of vulnerability is CVE-2025-39864?

CVE-2025-39864 is categorized as a use-after-free vulnerability within the Linux kernel's cfg80211 component.

5

What impact does CVE-2025-39864 have on system security?

If exploited, CVE-2025-39864 could potentially allow an attacker to execute arbitrary code in the context of the kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203