cppc_cpufreq: Fix possible null pointer dereference
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 769c4f355b7962895205b86ad35617873feef9a5, Kernel 9a185cc5a79ba408e1c73375706630662304f618, Kernel b18daa4ec727c0266de5bfc78e818d168cc4aedf and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.11, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <769c4f355b7962895205b86ad35617873feef9a5, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <9a185cc5a79ba408e1c73375706630662304f618, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <b18daa4ec727c0266de5bfc78e818d168cc4aedf, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <cf7de25878a1f4508c69dc9f6819c21ba177dbfe, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <dfec15222529d22b15e5b0d63572a9e39570cab4, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <f84b9b25d045e67a7eee5e73f21278c8ab06713c | 769c4f355b7962895205b86ad35617873feef9a5, 9a185cc5a79ba408e1c73375706630662304f618, b18daa4ec727c0266de5bfc78e818d168cc4aedf, cf7de25878a1f4508c69dc9f6819c21ba177dbfe, dfec15222529d22b15e5b0d63572a9e39570cab4, f84b9b25d045e67a7eee5e73f21278c8ab06713c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket