CVE-2025-40014
HIGHLinux Kernel 6.14-6.14.2 - Out-of-Bounds Array Access in amd_set_spi_freq
Title source: llmDescription
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()
References (2)
Core 2
Scores
CVSS v3
7.8
EPSS
0.0019
EPSS Percentile
9.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-129
Status
published
Products (8)
linux/Kernel
6.14.0 - 6.14.2linux
Linux/Linux
< 6.14
Linux/Linux
6.14
Linux/Linux
6.14.2 - 6.14.*
Linux/Linux
6.15
Linux/Linux
e6204f39fe3a7b4538815a2d778b601bd543649e - 76e51db43fe4aaaebcc5ddda67b0807f7c9bdecc
Linux/Linux
e6204f39fe3a7b4538815a2d778b601bd543649e - 7f2c746e09a3746bf937bc708129dc8af61d8f19
linux/linux_kernel
6.14 - 6.14.2
Published
Apr 18, 2025
Tracked Since
Feb 18, 2026