CVE-2025-38013
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
17/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request<br />
<br />
Make sure that n_channels is set after allocating the<br />
struct cfg80211_registered_device::int_scan_req member. Seen with<br />
syzkaller:<br />
<br />
UBSAN: array-index-out-of-bounds in net/mac80211/scan.c:1208:5<br />
index 0 is out of range for type &#39;struct ieee80211_channel *[] __counted_by(n_channels)&#39; (aka &#39;struct ieee80211_channel *[]&#39;)<br />
<br />
This was missed in the initial conversions because I failed to locate<br />
the allocation likely due to the "sizeof(void *)" not matching the<br />
"channels" array type.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6 (including) | 6.6.92 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.30 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.14.8 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



