CVE-2024-47664
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.30% (higher than 15% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c before dc30f8d9b25db3b79d36971a90c1ee95010ff45a, from c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c before 16ccaf581da4fcf1e4d66086cf37263f9a656d43, from c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c before ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc, from c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c before 5127c42c77de18651aa9e8e0a3ced190103b449c, 5.13
Not affected: before 5.13, from 6.1.191 up to 6.1.*, from 6.6.51 up to 6.6.*, from 6.10.10 up to 6.10.*, from 6.11 up to *
CVE List
linux linux_kernelbefore 6.6.51, from 6.7 before 6.10.10, 6.11NVD

Classification

CWE-369

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: hisi-kunpeng: Agregar verificación para max_frequency proporcionada por el firmware Si el valor de max_speed_hz es 0, puede causar un error de división por cero en hisi_calc_effective_speed(). El valor de max_speed_hz lo proporciona el firmware. El firmware generalmente se considera un dominio confiable. Sin embargo, como los errores de división por cero pueden causar fallas del sistema, como medida de defensa, el valor de max_speed se valida aquí. Entonces, 0 se considera inválido y se devuelve un código de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47664 changed 2026-10-30CVE Terms of Use
NVDCVE-2024-47664 changed 2026-10-30Public domain