summaryrefslogtreecommitdiff
path: root/tools/thermal
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2018-03-21 17:10:25 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-27 19:25:09 +1100
commitbb19af816025d495376bd76bf6fbcf4244f9a06d (patch)
tree496051e83f8f73d901909fe68e3699455629ecd4 /tools/thermal
parente1ebd0e5b9d0a10ba65e63a3514b6da8c6a5a819 (diff)
downloadlwn-bb19af816025d495376bd76bf6fbcf4244f9a06d.tar.gz
lwn-bb19af816025d495376bd76bf6fbcf4244f9a06d.zip
powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
The current Branch History Rolling Buffer (BHRB) code does not check for any privilege levels before updating the data from BHRB. This could leak kernel addresses to userspace even when profiling only with userspace privileges. Add proper checks to prevent it. Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions