cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 484d3f15cc6cbaa52541d6259778e715b2c83c54, Kernel 5.15.181, Kernel 6.1.136 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scmi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference. Add NULL check after cpufreq_cpu_get_raw() to prevent this issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <484d3f15cc6cbaa52541d6259778e715b2c83c54, >=4.17 <5.15.181, >=5.16 <6.1.136, >=6.13 <6.14.5, >=6.2 <6.6.89, >=6.7 <6.12.26, =6.15, >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <f9c5423855e3687262d881aeee5cfb3bc8577bff, >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <ea834c90aa7cc80a1b456f7a91432734d5087d16, >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <cfaca93b8fe317b7faa9af732e0ba8c9081fa018, >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <bd1dcfba72aac4159c1d5e17cd861e702e6c19ac, >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <7ccfadfb2562337b4f0462a86a9746a6eea89718, >=99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 <4e3d1c1925d8e752992cd893d03d974e6807ac16, =4.17 | 484d3f15cc6cbaa52541d6259778e715b2c83c54, 5.15.181, 6.1.136, 6.14.5, 6.6.89, 6.12.26, f9c5423855e3687262d881aeee5cfb3bc8577bff, ea834c90aa7cc80a1b456f7a91432734d5087d16, cfaca93b8fe317b7faa9af732e0ba8c9081fa018, bd1dcfba72aac4159c1d5e17cd861e702e6c19ac, 7ccfadfb2562337b4f0462a86a9746a6eea89718, 4e3d1c1925d8e752992cd893d03d974e6807ac16 |
| debian | debian_linux | =11.0 | |
| linux-kernel: Kernel | >=6.7.0 <6.12.26, >=6.2.0 <6.6.89, >=6.13.0 <6.14.5, >=5.16.0 <6.1.136, >=5.11.0 <5.15.181, >=4.17.0 <5.10.248 | 6.12.26, 6.6.89, 6.14.5, 6.1.136, 5.15.181, 5.10.248 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket