aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2018-04-25 16:13:40 +0000
committerWill Deacon <[email protected]>2018-04-26 15:58:39 +0000
commit19791a7ca674fb3009bb068260e852a2f05b605c (patch)
treedd3b7b1e9dc98708b0f28711df83b16b7eb85ebf /fs/proc/array.c
parentarm64: support __int128 with clang (diff)
downloadkernel-19791a7ca674fb3009bb068260e852a2f05b605c.tar.gz
kernel-19791a7ca674fb3009bb068260e852a2f05b605c.zip
arm64: fix possible spectre-v1 in ptrace_hbp_get_event()
It's possible for userspace to control idx. Sanitize idx when using it as an array index. 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 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions