CVE-2025-38013: linux Improper Validation of Array Index
Vulnerability summary
CVE-2025-38013 is a high (CVSS 7.8) Improper Validation of Array Index vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 8.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 32 · Related 30Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request Make sure that n_channels is set after allocating the struct cfg80211_registered_device::int_scan_req member. Seen with syzkaller: UBSAN: array-index-out-of-bounds in net/mac80211/scan.c:1208:5 index 0 is out of range for type 'struct ieee80211_channel *[] __counted_by(n_channels)' (aka 'struct ieee80211_channel *[]') This was missed in the initial conversions because I failed to locate the allocation likely due to the "sizeof(void *)" not matching the "channels" array type.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
0.00 pp
From 0.20% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu118 products
- linux< 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ e3eac9f32ec04112b39e01b574ac739382469bf9, < fde33ab3c052a302ee8a0b739094b88ceae4dd67 | ≥ e3eac9f32ec04112b39e01b574ac739382469bf9, < 07c737d9ab02c07b562aefcca16aa95077368e24 | ≥ e3eac9f32ec04112b39e01b574ac739382469bf9, < e3192e999a0d05ea0ba2c59c09afaf0b8ee70b81 | ≥ e3eac9f32ec04112b39e01b574ac739382469bf9, < 82bbe02b2500ef0a62053fe2eb84773fe31c5a0a | 6.6
- linux_kernel≥ 6.6, < 6.6.92 | ≥ 6.7, < 6.12.30 | ≥ 6.13, < 6.14.8 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3 | 6.15:rc4 | 6.15:rc5 | 6.15:rc6
Debian1 product
- linux< 6.12.30-1
3 vendors · 121 products