Gustavo A. R. Silva
d7ac3c6ef5
applicom: Fix potential Spectre v1 vulnerabilities
...
IndexCard is indirectly controlled by user-space, hence leading to
a potential exploitation of the Spectre variant 1 vulnerability.
This issue was detected with the help of Smatch:
drivers/char/applicom.c:418 ac_write() warn: potential spectre issue 'apbs' [r]
drivers/char/applicom.c:728 ac_ioctl() warn: potential spectre issue 'apbs' [r] (local cap)
Fix this by sanitizing IndexCard before using it to index apbs.
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/[email protected] /
Cc: [email protected]
Signed-off-by: Gustavo A. R. Silva <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-01-22 13:34:35 +01:00
..
agp
mm: convert totalram_pages and totalhigh_pages variables to atomic
2018-12-28 12:11:47 -08:00
hw_random
hwrng: bcm2835 - Switch to SPDX identifier
2018-11-16 14:11:04 +08:00
ipmi
drivers/ipmi: Replace synchronize_sched() with synchronize_rcu()
2018-11-27 09:21:36 -08:00
mwave
pcmcia
Remove 'type' argument from access_ok() function
2019-01-03 18:57:57 -08:00
tpm
tpm: add support for partial reads
2018-12-17 13:45:10 +02:00
xilinx_hwicap
xillybus
PCI: Add Altera vendor ID
2018-03-14 19:13:47 +01:00
adi.c
char: sparc64: Add privileged ADI driver
2018-06-05 11:24:55 -07:00
apm-emulation.c
proc: introduce proc_create_single{,_data}
2018-05-16 07:23:35 +02:00
applicom.c
applicom: Fix potential Spectre v1 vulnerabilities
2019-01-22 13:34:35 +01:00
applicom.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
bsr.c
ds1620.c
proc: introduce proc_create_single{,_data}
2018-05-16 07:23:35 +02:00
dsp56k.c
vfs: do bulk POLL* -> EPOLL* replacement
2018-02-11 14:34:03 -08:00
dtlk.c
vfs: do bulk POLL* -> EPOLL* replacement
2018-02-11 14:34:03 -08:00
efirtc.c
efirtc: remove unnecessary code efi_rtc_open & efi_rtc_close
2019-01-22 13:19:12 +01:00
hangcheck-timer.c
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
hpet.c
hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
2019-01-22 13:34:35 +01:00
Kconfig
powerpc: Enable HAVE_ARCH_NVRAM_OPS and disable GENERIC_NVRAM
2019-01-22 10:21:45 +01:00
lp.c
char: lp: use new parport device model
2018-12-19 10:40:17 +01:00
Makefile
char/generic_nvram: Remove as unused
2019-01-22 10:21:45 +01:00
mbcs.c
mbcs.h
mem.c
Remove 'type' argument from access_ok() function
2019-01-03 18:57:57 -08:00
misc.c
proc: introduce proc_create_seq{,_data}
2018-05-16 07:23:35 +02:00
mspec.c
char: mspec: change return type to vm_fault_t
2018-04-23 13:51:53 +02:00
nsc_gpio.c
nvram.c
powerpc: Adopt nvram module for PPC64
2019-01-22 10:21:45 +01:00
nwbutton.c
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
nwbutton.h
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
nwflash.c
Remove 'type' argument from access_ok() function
2019-01-03 18:57:57 -08:00
pc8736x_gpio.c
powernv-op-panel.c
ppdev.c
vfs: do bulk POLL* -> EPOLL* replacement
2018-02-11 14:34:03 -08:00
ps3flash.c
random.c
crypto: chacha20-generic - refactor to allow varying number of rounds
2018-11-20 14:26:55 +08:00
raw.c
treewide: Use array_size() in vzalloc()
2018-06-12 16:19:22 -07:00
rtc.c
RTC for 4.21
2019-01-01 13:24:31 -08:00
scx200_gpio.c
snsc.c
vfs: do bulk POLL* -> EPOLL* replacement
2018-02-11 14:34:03 -08:00
snsc.h
snsc_event.c
sonypi.c
vfs: do bulk POLL* -> EPOLL* replacement
2018-02-11 14:34:03 -08:00
tb0219.c
tlclk.c
tlclk: clean an indentation issue, remove extraneous tabs
2018-11-11 12:58:27 -08:00
toshiba.c
proc: introduce proc_create_single{,_data}
2018-05-16 07:23:35 +02:00
ttyprintk.c
ttyprintk: make the printk log level configurable
2018-11-09 08:58:18 -08:00
uv_mmtimer.c
virtio_console.c
char: virtio: Change to use DEFINE_SHOW_ATTRIBUTE macro
2018-12-06 15:42:18 +01:00