cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5493f9714e4cdaf0ee7cec15899a231400cb1a9f, Kernel 5f250d44b8191d612355dd97b89b37bbc1b5d2cb, Kernel 93f404a55ff06fb0978dfdc786139b8af4a531a8 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it and return in case of error. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.17, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <5493f9714e4cdaf0ee7cec15899a231400cb1a9f, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <5f250d44b8191d612355dd97b89b37bbc1b5d2cb, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <93f404a55ff06fb0978dfdc786139b8af4a531a8, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6 | 5493f9714e4cdaf0ee7cec15899a231400cb1a9f, 5f250d44b8191d612355dd97b89b37bbc1b5d2cb, 93f404a55ff06fb0978dfdc786139b8af4a531a8, cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket