mbox series

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

Message ID 20241106182000.40167-1-abelova@astralinux.ru
Headers show
Series cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value | expand

Message

Anastasia Belova Nov. 6, 2024, 6:19 p.m. UTC
NULL-dereference is possible in amd_pstate_adjust_perf in 6.6 stable
release.

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

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