CVE-2024-47664

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

MEDIUM
5.5
CVSS Score
Published: October 9, 2024 at 02:13 PM UTC
Updated: June 17, 2026 at 07:57 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.515.13 ≤ v < 6.10.105.13 ≤ v < 6.115.13 ≤ v < 6.6.516.7 ≤ v < 6.10.106.11 rc16.11 rc2c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c
Vendor states this is fixed in 16ccaf581da4fcf1e4d66086cf37263f9a656d43 (fixed)
Vendor states this is fixed in 5127c42c77de18651aa9e8e0a3ced190103b449c (fixed)
Vendor states this is fixed in ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/16ccaf581da4fcf1e4d66086cf37263f9a656d43
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5127c42c77de18651aa9e8e0a3ced190103b449c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-369

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card