CVE-2024-47664 Details
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.
A division by zero vulnerability has been identified in the Linux kernel SPI Hisilicon Kunpeng driver. This issue arises when the max_speed_hz value, provided by firmware, is set to zero, leading to a potential system failure. Although firmware is typically trusted, the Linux kernel has implemented a safeguard by validating the max_speed_hz value. The recent patch ensures that a value of zero is considered invalid, thus preventing the division by zero error.
Users can apply the latest patch available in the Linux kernel stable tree, which validates the max_speed_hz value to prevent it from being set to zero.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/16ccaf581da4fcf1e4d66086cf37263f9a656d43 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5127c42c77de18651aa9e8e0a3ced190103b449c | kernel.org | Patch |
| https://git.kernel.org/stable/c/dc30f8d9b25db3b79d36971a90c1ee95010ff45a | kernel.org | |
| https://git.kernel.org/stable/c/ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-369 | Divide By Zero | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.6.51 >= 6.7, < 6.10.10 6.11 rc1 6.11 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 23, 2024 | Initial Analysis | [email protected] |
| Oct 9, 2024 | New CVE Received | kernel.org |