---
id: CVE-2025-39957
title: 'wifi: mac80211: increase scan_ies_len for S1G'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  wifi: mac80211: increase scan_ies_len for S1G

  Currently the S1G capability element is not taken into account
  for the scan_ies_len, which leads to a buffer length valid…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 <
    93e063f15e17acb8cd6ac90c8f0802c2624e1a74
  - >-
    Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 <
    32adb020b0c32939da1322dcc87fc0ae2bc935d1
  - >-
    Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 <
    0dbad5f5549e54ac269cc04ce89f212892a98cab
  - >-
    Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 <
    7e2f3213e85eba00acb4cfe6d71647892d63c3a1
  - Linux 6.4
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T21:55:06.430509Z'
published: '2025-10-09'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:02:33.942Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-39957'
references:
  - url: 'https://git.kernel.org/stable/c/93e063f15e17acb8cd6ac90c8f0802c2624e1a74'
  - url: 'https://git.kernel.org/stable/c/32adb020b0c32939da1322dcc87fc0ae2bc935d1'
  - url: 'https://git.kernel.org/stable/c/0dbad5f5549e54ac269cc04ce89f212892a98cab'
  - url: 'https://git.kernel.org/stable/c/7e2f3213e85eba00acb4cfe6d71647892d63c3a1'
tags:
  - cve.org
epss: 0.00154
epssPercentile: 0.04459
ingestedAt: '2026-10-15T22:48:25.532Z'
---

## Overview

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

wifi: mac80211: increase scan_ies_len for S1G

Currently the S1G capability element is not taken into account
for the scan_ies_len, which leads to a buffer length validation
failure in ieee80211_prep_hw_scan() and subsequent WARN in
__ieee80211_start_scan(). This prevents hw scanning from functioning.
To fix ensure we accommodate for the S1G capability length.

## Affected

- `Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 < 93e063f15e17acb8cd6ac90c8f0802c2624e1a74`
- `Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 < 32adb020b0c32939da1322dcc87fc0ae2bc935d1`
- `Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 < 0dbad5f5549e54ac269cc04ce89f212892a98cab`
- `Linux >= 0333a81bc83431d7f90391d38aa09e856c5e5b25 < 7e2f3213e85eba00acb4cfe6d71647892d63c3a1`
- `Linux 6.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
