CVE
CVE-2024-38573
CNA description
In the Linux kernel, the following vulnerability has been resolved: cppc_cpufreq: Fix possible null pointer dereference cppc_cpufreq_get_rate() and hisi_cppc_cpufreq_get_rate() can be called from different places with various parameters. So cpufreq_cpu_get() can return null as 'policy' in some circumstances. Fix this bug by adding null return check. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.9, < 6.9.3Fixed in 6.9.3
- ≥ 6.7, < 6.8.12Fixed in 6.8.12
- ≥ 6.2, < 6.6.33Fixed in 6.6.33
- ≥ 5.16, < 6.1.93Fixed in 6.1.93
- ≥ 5.11, < 5.15.161Fixed in 5.15.161
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/769c4f355b7962895205b86ad35617873feef9a5 · Patch
- git.kernel.org/stable/c/9a185cc5a79ba408e1c73375706630662304f618 · Patch
- git.kernel.org/stable/c/b18daa4ec727c0266de5bfc78e818d168cc4aedf · Patch
- git.kernel.org/stable/c/cf7de25878a1f4508c69dc9f6819c21ba177dbfe · Patch
- git.kernel.org/stable/c/dfec15222529d22b15e5b0d63572a9e39570cab4 · Patch
- git.kernel.org/stable/c/f84b9b25d045e67a7eee5e73f21278c8ab06713c · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.