[PATCH 6.1 0/1] cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value

Anastasia Belova posted 1 patch 1 year, 3 months ago
There is a newer version of this series
[PATCH 6.1 0/1] cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
Posted by Anastasia Belova 1 year, 3 months ago
NULL-dereference is possible in amd_pstate_adjust_perf in 6.1 stable
release.

The problem has been fixed by the following upstream patch that was adapted
to 6.1. The patch couldn't be applied clearly but the changes made are 
minor.

Found by Linux Verification Center (linuxtesting.org) with SVACE.