What’s Vulnerable › Vulnerabilities
CVE-2024-47664: spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-09 · updated 2026-10-30
- Weakness: CWE-369
Description
In the Linux kernel, the following vulnerability has been resolved: spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware If the value of max_speed_hz is 0, it may cause a division by zero error in hisi_calc_effective_speed(). The value of max_speed_hz is provided by firmware. Firmware is generally considered as a trusted domain. However, as division by zero errors can cause system failure, for defense measure, the value of max_speed is validated here. So 0 is regarded as invalid and an error code is returned.
Affected products
- Linux kernel: before 6.6.51; from 6.7 before 6.10.10; 6.11-rc1, 6.11-rc2 — fixed in 6.6.51, 6.10.10
- Linux: 5.13 — fixed in 6.11
How to fix
Upgrade to a fixed version: Linux kernel 6.6.51, 6.10.10; Linux 6.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/16ccaf581da4fcf1e4d66086cf37263f9a656d43
- https://git.kernel.org/stable/c/5127c42c77de18651aa9e8e0a3ced190103b449c
- https://git.kernel.org/stable/c/dc30f8d9b25db3b79d36971a90c1ee95010ff45a
- https://git.kernel.org/stable/c/ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc
Get alerted when CVE-2024-47664 or the next vulnerability affects your stack