CVE-2025-40014
Last modified
CVE-2025-40014 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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(). EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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()
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.14, < 6.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-40014?
How severe is CVE-2025-40014?
How do I fix CVE-2025-40014?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40009In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4001A vulnerability has been found in scipopt scip up to 9.2.1 a…4.8
- CVE-2025-40010In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40011In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40012In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40013In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40015In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40016In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40017In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40018In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40019In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4002A vulnerability was found in RefindPlusRepo RefindPlus 0.14.…6.8
Are you affected by CVE-2025-40014?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
