Files
linux/arch/arm64
Mark Rutland 14d6e289a8 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 <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-07-23 14:49:14 +01:00
..
2018-07-12 14:49:48 +01:00
2018-07-05 17:24:15 +01:00
2018-07-12 14:40:38 +01:00
2018-07-12 14:49:48 +01:00
2017-04-04 17:03:32 +01:00