Bug 2360936 (CVE-2025-40014)
| Summary: | CVE-2025-40014 kernel: objtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq() | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
| Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
| Status: | NEW --- | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | dfreiber, drow, jburrell, vkumar |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: |
A flaw was discovered in the Linux kernel’s AMD SPI controller driver (amd_set_spi_freq()), which calculates a frequency index without validating its range when a very low clock rate is requested. If the requested frequency (speed_hz) is below the minimum supported value (AMD_SPI_MIN_HZ), the code may access beyond the end of an internal frequency table on the stack. A local, unprivileged user could trigger this issue to cause memory corruption, leading to a system crash or potentially exposing sensitive information. The fix limits the loop to valid entries, ensuring out-of-bounds access cannot occur.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
OSIDB Bzimport
2025-04-18 08:01:56 UTC
|