aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2018-07-10 19:01:22 +0100
committerWill Deacon <[email protected]>2018-07-23 14:49:14 +0100
commit14d6e289a89780377f8bb09de8926d3c62d763cd (patch)
tree7d8c11258a34c3d2576122ff5566c62456f98f59 /tools/perf/scripts/python/export-to-postgresql.py
parent11527b3e0b577513ea318f01e392ccf7feb9d2a4 (diff)
arm64: fix possible spectre-v1 write in ptrace_hbp_set_event()
It's possible for userspace to control idx. Sanitize idx when using it as an array index, to inhibit the potential spectre-v1 write gadget. Found by smatch. Signed-off-by: Mark Rutland <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions