CVE-2025-39957: wifi: mac80211: increase scan_ies_len for S1G
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: increase scanieslen for S1G
Currently the S1G capability element is not taken into account for the scanieslen, which leads to a buffer length validation failure in ieee80211prephwscan() and subsequent WARN in ieee80211startscan(). This prevents hw scanning from functioning. To fix ensure we accommodate for the S1G capability length.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
In ieee80211_prep_hw_scan(), increase scan_ies_len to account for the S1G capability element length so scan IEs length validation does not trigger (failure in ieee80211_prep_hw_scan() / WARN on scan_ies_len).
Linux kernel (mac80211) scan_ies_len = increase to accommodate S1G capability length
Event History
Frequently Asked Questions
What is the severity of CVE-2025-39957?
The severity of CVE-2025-39957 is classified as high due to the potential for a buffer length validation failure.
How do I fix CVE-2025-39957?
To fix CVE-2025-39957, update your Linux kernel to the latest version where this vulnerability has been resolved.
What systems are affected by CVE-2025-39957?
CVE-2025-39957 affects the Linux kernel, specifically impacting configurations utilizing the mac80211 subsystem.
What type of vulnerability is CVE-2025-39957?
CVE-2025-39957 is a buffer validation vulnerability that occurs in the ieee80211_prep_hw_scan() function.
Can CVE-2025-39957 be exploited remotely?
Yes, CVE-2025-39957 could potentially be exploited remotely if the affected kernel is misconfigured or exposed.