7.8

CVE-2025-38013: linux Improper Validation of Array Index

CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2025-38013DEBIAN-CVE-2025-38013
Published 18-06-2025Last modified 11-05-2026

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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 32 · Related 30

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

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

19-09-202619-10-2026
EPSS score
0.20%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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

References

27 links
Show all 27 references