CVE-2024-47664

published 9 Oct 2024 · updated 30 Oct 2026

spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 16ccaf581da4fcf1e4d66086cf37263f9a656d43, Kernel 5127c42c77de18651aa9e8e0a3ced190103b449c, Kernel dc30f8d9b25db3b79d36971a90c1ee95010ff45a and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.13, >=c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c <16ccaf581da4fcf1e4d66086cf37263f9a656d43, >=c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c <5127c42c77de18651aa9e8e0a3ced190103b449c, >=c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c <dc30f8d9b25db3b79d36971a90c1ee95010ff45a, >=c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c <ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc16ccaf581da4fcf1e4d66086cf37263f9a656d43, 5127c42c77de18651aa9e8e0a3ced190103b449c, dc30f8d9b25db3b79d36971a90c1ee95010ff45a, ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-47664 severity on Zeptric[![CVE-2024-47664](https://zeptric.io/badge/cve/CVE-2024-47664.svg)](https://zeptric.io/cve/CVE-2024-47664)