Revision 6497d0a9c53df6e98b25e2b79f2295d7caa47b6e authored by Gustavo A. R. Silva on 31 July 2019, 17:54:28 UTC, committed by Doug Ledford on 01 August 2019, 16:14:15 UTC
sl is controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. Fix this by sanitizing sl before using it to index ibp->sl_to_sc. Notice that given that speculation windows are large, the policy is to kill the speculation on the first load and not worry if it can be completed with a dependent load/store [1]. [1] https://lore.kernel.org/lkml/20180423164740.GY17484@dhcp22.suse.cz/ Cc: stable@vger.kernel.org Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Link: https://lore.kernel.org/r/20190731175428.GA16736@embeddedor Signed-off-by: Doug Ledford <dledford@redhat.com>
1 parent 770b7d9
File | Mode | Size |
---|---|---|
auxdisplay | ||
binderfs | ||
bpf | ||
configfs | ||
connector | ||
hidraw | ||
hw_breakpoint | ||
kdb | ||
kfifo | ||
kobject | ||
kprobes | ||
livepatch | ||
mei | ||
mic | ||
pidfd | ||
pktgen | ||
qmi | ||
rpmsg | ||
seccomp | ||
timers | ||
trace_events | ||
trace_printk | ||
uhid | ||
v4l | ||
vfio-mdev | ||
vfs | ||
watchdog | ||
Kconfig | -rw-r--r-- | 5.3 KB |
Makefile | -rw-r--r-- | 880 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...