CVE & CISA-KEV Catalog

CVE-2025-40014

HIGH
7.8
CVSS v3
NVD

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()

How to fix

Remediation Available
linuxDebian
Fixed in:6.16.3-1CVE-2025-40014

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.19%probability of exploitation in 30 days
9thpercentile

Low risk: more likely to be exploited than 9% of all known CVEs.

References

Related Vulnerabilities

Other CWE-129 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-35592Medium6.351%-Fix
CVE-2021-35598Medium6.350%-Fix
CVE-2021-35594Medium6.350%-Fix
CVE-2022-35737High7.519%-Fix
CVE-2014-6317High7.118%--
CVE-2023-40477High7.813%-Fix
Embed a live status badge for CVE-2025-40014
CVE-2025-40014 severity badge

Markdown

[![CVE-2025-40014](https://tridentstack.com/cve/badge/CVE-2025-40014.svg)](https://tridentstack.com/cve/CVE-2025-40014)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-40014"><img src="https://tridentstack.com/cve/badge/CVE-2025-40014.svg" alt="CVE-2025-40014"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-30.