# cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value

CVE record · `CVE-2024-50009`

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

Published by the CVE Program (CNA: Linux) at 21 Oct 2024, 18:54 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: `ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 93f404a55ff06fb0978dfdc786139b8af4a531a8` (git)
  - affected: `ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6` (git)
  - affected: `ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 5f250d44b8191d612355dd97b89b37bbc1b5d2cb` (git)
  - affected: `ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 5493f9714e4cdaf0ee7cec15899a231400cb1a9f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.17`
  - unaffected: `before 5.17` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.75 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.3 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12 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 amd-pstate cpufreq driver is affected from 5.17 until fixed. It does not check whether cpufreq_cpu_get returns NULL before using the result, which can cause a NULL pointer dereference. The source gives few details on how an attacker would trigger this or what they could gain. Upgrade to Linux 6.1.191, 6.6.75, 6.11.3, 6.12, or a later release in the matching 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.0023, the 14th 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 21 Oct 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/93f404a55ff06fb0978dfdc786139b8af4a531a8>
- <https://git.kernel.org/stable/c/cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6>
- <https://git.kernel.org/stable/c/5f250d44b8191d612355dd97b89b37bbc1b5d2cb>
- <https://git.kernel.org/stable/c/5493f9714e4cdaf0ee7cec15899a231400cb1a9f>

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-50009>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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