summaryrefslogtreecommitdiffstats
path: root/scripts/ver_linux
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-01-09 16:05:10 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 13:34:35 +0100
commitd7ac3c6ef5d8ce14b6381d52eb7adafdd6c8bb3c (patch)
tree80f36428f5a486c7256dbbd2f742dd1e4fbea929 /scripts/ver_linux
parent24d48a61f2666630da130cc2ec2e526eacf229e3 (diff)
downloadlinux-d7ac3c6ef5d8ce14b6381d52eb7adafdd6c8bb3c.tar.bz2
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/20180423164740.GY17484@dhcp22.suse.cz/ Cc: stable@vger.kernel.org Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions