aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2018-04-25 16:13:41 +0000
committerWill Deacon <[email protected]>2018-04-26 16:02:37 +0000
commit41b87599c74300027f305d7b34368ec558978ff2 (patch)
tree9d2911554c552c48dc3b764708aa7d96bbe6f348 /fs/proc/array.c
parentarm64: fix possible spectre-v1 in ptrace_hbp_get_event() (diff)
downloadkernel-41b87599c74300027f305d7b34368ec558978ff2.tar.gz
kernel-41b87599c74300027f305d7b34368ec558978ff2.zip
KVM: arm/arm64: vgic: fix possible spectre-v1 in vgic_get_irq()
It's possible for userspace to control intid. Sanitize intid when using it as an array index. At the same time, sort the includes when adding <linux/nospec.h>. Found by smatch. Signed-off-by: Mark Rutland <[email protected]> Acked-by: Christoffer Dall <[email protected]> Acked-by: Marc Zyngier <[email protected]> Cc: [email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions