CVE-2024-50009

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

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
Oct 30, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

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

cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it and return in case of error.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 93f404a55ff06fb0978dfdc786139b8af4a531a8Affected
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6Affected
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 5f250d44b8191d612355dd97b89b37bbc1b5d2cbAffected
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 5493f9714e4cdaf0ee7cec15899a231400cb1a9fAffected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.75 through 6.6.*Not affected
  • 6.11.3 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.