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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= a28b2bfc099c6b9caa6ef697660408e076a32019, < 9a185cc5a79ba408e1c73375706630662304f618; >= a28b2bfc099c6b9caa6ef697660408e076a32019, < 769c4f355b7962895205b86ad35617873feef9a5; >= a28b2bfc099c6b9caa6ef697660408e076a32019, < f84b9b25d045e67a7eee5e73f21278c8ab06713c; >= a28b2bfc099c6b9caa6ef697660408e076a32019, < b18daa4ec727c0266de5bfc78e818d168cc4aedf; >= a28b2bfc099c6b9caa6ef697660408e076a32019, < dfec15222529d22b15e5b0d63572a9e39570cab4; >= a28b2bfc099c6b9caa6ef697660408e076a32019, < cf7de25878a1f4508c69dc9f6819c21ba177dbfe |
| Linux | Linux | 5.11 |
| linux | linux_kernel | >= a28b2bfc099c, < 9a185cc5a79b |
| linux | linux_kernel | >= a28b2bfc099c, < 769c4f355b79 |
| linux | linux_kernel | >= a28b2bfc099c, < f84b9b25d045 |
| linux | linux_kernel | >= a28b2bfc099c, < b18daa4ec727 |
| linux | linux_kernel | >= a28b2bfc099c, < dfec15222529 |
| linux | acrn | >= a28b2bfc099c, < cf7de25878a1 |
| linux | linux_kernel | 5.11 |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
References
- https://git.kernel.org/stable/c/769c4f355b7962895205b86ad35617873feef9a5Patch
- https://git.kernel.org/stable/c/9a185cc5a79ba408e1c73375706630662304f618Patch
- https://git.kernel.org/stable/c/b18daa4ec727c0266de5bfc78e818d168cc4aedfPatch
- https://git.kernel.org/stable/c/cf7de25878a1f4508c69dc9f6819c21ba177dbfePatch
- https://git.kernel.org/stable/c/dfec15222529d22b15e5b0d63572a9e39570cab4Patch
- https://git.kernel.org/stable/c/f84b9b25d045e67a7eee5e73f21278c8ab06713cPatch
- https://git.kernel.org/stable/c/769c4f355b7962895205b86ad35617873feef9a5Patch
- https://git.kernel.org/stable/c/9a185cc5a79ba408e1c73375706630662304f618Patch
- https://git.kernel.org/stable/c/b18daa4ec727c0266de5bfc78e818d168cc4aedfPatch
- https://git.kernel.org/stable/c/cf7de25878a1f4508c69dc9f6819c21ba177dbfePatch
- https://git.kernel.org/stable/c/dfec15222529d22b15e5b0d63572a9e39570cab4Patch
- https://git.kernel.org/stable/c/f84b9b25d045e67a7eee5e73f21278c8ab06713cPatch
Timeline
- Published
- Jun 19, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed