CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

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.

Classification

CVE ID: CVE-2024-47664

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.03% (scored less or equal to compared to others)

EPSS Date: 2025-02-15 (when was this score calculated)

References

https://git.kernel.org/stable/c/16ccaf581da4fcf1e4d66086cf37263f9a656d43
https://git.kernel.org/stable/c/ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc
https://git.kernel.org/stable/c/5127c42c77de18651aa9e8e0a3ced190103b449c

Timeline