CVE-2025-38013wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request
- 7.8HighCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 89% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 89% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected e3eac9f32ec04112b39e01b574ac739382469bf9 – < fde33ab3c052a302ee8a0b739094b88ceae4dd67
- affected e3eac9f32ec04112b39e01b574ac739382469bf9 – < 07c737d9ab02c07b562aefcca16aa95077368e24
- affected e3eac9f32ec04112b39e01b574ac739382469bf9 – < e3192e999a0d05ea0ba2c59c09afaf0b8ee70b81
- affected e3eac9f32ec04112b39e01b574ac739382469bf9 – < 82bbe02b2500ef0a62053fe2eb84773fe31c5a0a
- affected 6.6
- unaffected < 6.6
- unaffected 6.6.92 – ≤ 6.6.*
- unaffected 6.12.30 – ≤ 6.12.*
- unaffected 6.14.8 – ≤ 6.14.*
- unaffected 6.15 – ≤ *
References
References4
- https://git.kernel.org/stable/c/fde33ab3c052a302ee8a0b739094b88ceae4dd67 (opens in a new tab)
- https://git.kernel.org/stable/c/07c737d9ab02c07b562aefcca16aa95077368e24 (opens in a new tab)
- https://git.kernel.org/stable/c/e3192e999a0d05ea0ba2c59c09afaf0b8ee70b81 (opens in a new tab)
- https://git.kernel.org/stable/c/82bbe02b2500ef0a62053fe2eb84773fe31c5a0a (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-27865 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38013)Record last updated .