All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-50009

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel's AMD P-State processor frequency driver. A local user could exploit this flaw to cause a Denial of Service (DoS) by crashing the system. This issue occurs because the driver fails to validate the return value of an internal CPU lookup function, leading to a null-pointer dereference.