Skip to content

cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value

Anastasia Belova linux-pm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1cpufreq: amd-pstate: add check for cpufreq_cpu_get's return valuedrivers/cpufreq/amd-pstate.c+6 -11 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPerry Yuan
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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.