CVEvulnerability

CVE-2024-47664

5.5 MEDIUM Published 2024-10-09 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-10-09
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-369

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 configurations

• linux linux kernel (< 6.6.51) • linux linux kernel (>= 6.7 < 6.10.10) • linux linux kernel 6.11

Related

Weakness · CWE (1)

References