7.8

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

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

Vulnerability summary

CVE-2025-40014 is a high (CVSS 7.8) Improper Validation of Array Index vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.2% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
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 16 · Related 17

Timeline

  1. 18-04-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: objtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq() If speed_hz < AMD_SPI_MIN_HZ, amd_set_spi_freq() iterates over the entire amd_spi_freq array without breaking out early, causing 'i' to go beyond the array bounds. Fix that by stopping the loop when it gets to the last entry, so the low speed_hz value gets clamped up to AMD_SPI_MIN_HZ. Fixes the following warning with an UBSAN kernel: drivers/spi/spi-amd.o: error: objtool: amd_set_spi_freq() falls through to next function amd_spi_set_opcode()

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

0.00 pp

From 0.23% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.23%

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

Ubuntu114 products
  • linuxAll versions (No fix recorded) | < 6.8.0-147.147
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1067.70
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ e6204f39fe3a7b4538815a2d778b601bd543649e, < 7f2c746e09a3746bf937bc708129dc8af61d8f19 | ≥ e6204f39fe3a7b4538815a2d778b601bd543649e, < 76e51db43fe4aaaebcc5ddda67b0807f7c9bdecc | 6.14
  • linux_kernel≥ 6.14, < 6.14.2
Debian1 product
  • linux< 6.16.3-1

3 vendors · 117 products

References

11 links
Show all 11 references