CVE-2024-38573 cppc_cpufreq: Fix possible null pointer dereference
HighCVSS 7.5
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.94-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +20 more | 6.1.94-1 | Fixed |
| debian/linux(Debian 13) | < 6.8.12-1 | 6.8.12-1 | Fixed |
| debian/linux(Debian 14) | < 6.8.12-1 | 6.8.12-1 | Fixed |
| linux acrn | >= a28b2bfc099c, < cf7de25878a1 | cf7de25878a1 | Fixed |
| Linux kernel | < 5.15.161; < 6.1.93; < 6.6.33; < 6.8.12 +19 more | 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10, 9a185cc5a79b, 9a185cc5a79ba408e1c73375706630662304f618, 769c4f355b79, 769c4f355b7962895205b86ad35617873feef9a5, b18daa4ec727, b18daa4ec727c0266de5bfc78e818d168cc4aedf, cf7de25878a1f4508c69dc9f6819c21ba177dbfe, dfec15222529, dfec15222529d22b15e5b0d63572a9e39570cab4, f84b9b25d045, f84b9b25d045e67a7eee5e73f21278c8ab06713c | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-121.131 | 5.15.0-121.131 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-40.40 | 6.8.0-40.40 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1066.71 | 5.15.0-1066.71 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1062.65 | 5.15.0-1062.65 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 6.1.94-1 | 6.1.94-1 |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:13) | < 6.8.12-1 | 6.8.12-1 |
Show 30 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:14) | < 6.8.12-1 | 6.8.12-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-121.131 | 5.15.0-121.131 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1066.71 | 5.15.0-1066.71 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1062.65 | 5.15.0-1062.65 |
| Linux kernel | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < 9a185cc5a79ba408e1c73375706630662304f618 | 9a185cc5a79ba408e1c73375706630662304f618 |
| Linux kernel | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < 769c4f355b7962895205b86ad35617873feef9a5 | 769c4f355b7962895205b86ad35617873feef9a5 |
| Linux kernel | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < f84b9b25d045e67a7eee5e73f21278c8ab06713c | f84b9b25d045e67a7eee5e73f21278c8ab06713c |
| Linux kernel | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < b18daa4ec727c0266de5bfc78e818d168cc4aedf | b18daa4ec727c0266de5bfc78e818d168cc4aedf |
| Linux kernel | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < dfec15222529d22b15e5b0d63572a9e39570cab4 | dfec15222529d22b15e5b0d63572a9e39570cab4 |
| Linux kernel | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < cf7de25878a1f4508c69dc9f6819c21ba177dbfe | cf7de25878a1f4508c69dc9f6819c21ba177dbfe |
| Linux kernel | = 5.11 | No fix listed |
| Linux kernel | < 5.15.161 | 5.15.161 |
| Linux kernel | < 6.1.93 | 6.1.93 |
| Linux kernel | < 6.6.33 | 6.6.33 |
| Linux kernel | < 6.8.12 | 6.8.12 |
| Linux kernel | < 6.9.3 | 6.9.3 |
| Linux kernel | < 6.10 | 6.10 |
| Linux kernel | >= a28b2bfc099c, < 9a185cc5a79b | 9a185cc5a79b |
| Linux kernel | >= a28b2bfc099c, < 769c4f355b79 | 769c4f355b79 |
| Linux kernel | >= a28b2bfc099c, < f84b9b25d045 | f84b9b25d045 |
| Linux kernel | >= a28b2bfc099c, < b18daa4ec727 | b18daa4ec727 |
| Linux kernel | >= a28b2bfc099c, < dfec15222529 | dfec15222529 |
| linux acrn | >= a28b2bfc099c, < cf7de25878a1 | cf7de25878a1 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-40.40 | 6.8.0-40.40 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 |
| Linux kernel | >= 5.11, < 5.15.161 | 5.15.161 |
| Linux kernel | >= 5.16, < 6.1.93 | 6.1.93 |
| Linux kernel | >= 6.2, < 6.6.33 | 6.6.33 |
| Linux kernel | >= 6.7, < 6.8.12 | 6.8.12 |
| Linux kernel | >= 6.9, < 6.9.3 | 6.9.3 |
References
- Debian Security Tracker CVE-2024-38573 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6949-1 vendor-advisory
- USN-6952-1 vendor-advisory
- USN-6955-1 vendor-advisory
- USN-6949-2 vendor-advisory
- USN-6952-2 vendor-advisory
- USN-7007-1 vendor-advisory
- USN-7009-1 vendor-advisory
- USN-7019-1 vendor-advisory
- USN-7007-2 vendor-advisory
- USN-7007-3 vendor-advisory
- USN-7009-2 vendor-advisory
- www.cve.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch