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

CVE record · `CVE-2024-47664`

- **Identifiers:** `CVE-2024-47664`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 9 Oct 2024
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 9 Oct 2024, 14:13 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c to before dc30f8d9b25db3b79d36971a90c1ee95010ff45a` (git)
  - affected: `c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c to before 16ccaf581da4fcf1e4d66086cf37263f9a656d43` (git)
  - affected: `c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c to before ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc` (git)
  - affected: `c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c to before 5127c42c77de18651aa9e8e0a3ced190103b449c` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.13`
  - unaffected: `before 5.13` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.51 to 6.6.*, inclusive` (semver)
  - unaffected: `6.10.10 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's spi hisi-kunpeng driver is affected from commit c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c until the fixes listed for each stable branch, with 5.13 affected and earlier kernels unaffected. A zero max_speed_hz value supplied by firmware can cause a division by zero in hisi_calc_effective_speed(), which can crash the system. The source gives few details on who can trigger this. Upgrade to a kernel release that includes the fix for your branch.

Written 13 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 10th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 9 Oct 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-47664](https://www.cve.org/CVERecord?id=CVE-2024-47664)
- [NVD: CVE-2024-47664](https://nvd.nist.gov/vuln/detail/CVE-2024-47664)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-47664>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-47664/>. Everything for agents: <https://agentprime.io/llms.txt>.
