CVE-2024-47664

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

published October 9, 2024

CVSS
—
EPSS
0%
Percentile
10.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00206 · 10.1th percentile
Published
2024-10-09T14:13Z
EPSS history
Timeline
  • 09 OCT 14:13Z
    spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
    cvelistv5