aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOliver O'Halloran <[email protected]>2020-02-06 17:26:21 +1100
committerMichael Ellerman <[email protected]>2020-03-13 21:13:11 +1100
commitd0a72efac89d1c35ac55197895201b7b94c5e6ef (patch)
tree7ccd069c42df06af64cb6dd79d772ed3fd1f7fcf /tools/perf/scripts/python/export-to-postgresql.py
parentffd3eaf178b0f616a071e510e289d937330b0b35 (diff)
cpufreq: powernv: Fix use-after-free
The cpufreq driver has a use-after-free that we can hit if: a) There's an OCC message pending when the notifier is registered, and b) The cpufreq driver fails to register with the core. When a) occurs the notifier schedules a workqueue item to handle the message. The backing work_struct is located on chips[].throttle and when b) happens we clean up by freeing the array. Once we get to the (now free) queued item and the kernel crashes. Fixes: c5e29ea7ac14 ("cpufreq: powernv: Fix bugs in powernv_cpufreq_{init/exit}") Cc: [email protected] # v4.6+ Signed-off-by: Oliver O'Halloran <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions