CVE-2024-38573

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

01 Apr 2025, 18:24

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/769c4f355b7962895205b86ad35617873feef9a5 - () https://git.kernel.org/stable/c/769c4f355b7962895205b86ad35617873feef9a5 - Patch
References () https://git.kernel.org/stable/c/9a185cc5a79ba408e1c73375706630662304f618 - () https://git.kernel.org/stable/c/9a185cc5a79ba408e1c73375706630662304f618 - Patch
References () https://git.kernel.org/stable/c/b18daa4ec727c0266de5bfc78e818d168cc4aedf - () https://git.kernel.org/stable/c/b18daa4ec727c0266de5bfc78e818d168cc4aedf - Patch
References () https://git.kernel.org/stable/c/cf7de25878a1f4508c69dc9f6819c21ba177dbfe - () https://git.kernel.org/stable/c/cf7de25878a1f4508c69dc9f6819c21ba177dbfe - Patch
References () https://git.kernel.org/stable/c/dfec15222529d22b15e5b0d63572a9e39570cab4 - () https://git.kernel.org/stable/c/dfec15222529d22b15e5b0d63572a9e39570cab4 - Patch
References () https://git.kernel.org/stable/c/f84b9b25d045e67a7eee5e73f21278c8ab06713c - () https://git.kernel.org/stable/c/f84b9b25d045e67a7eee5e73f21278c8ab06713c - Patch

Information

Published : 2024-06-19 14:15

Updated : 2025-04-01 18:24


NVD link : CVE-2024-38573

Mitre link : CVE-2024-38573

CVE.ORG link : CVE-2024-38573


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference