aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-07-30 22:21:41 -0500
committerDavid S. Miller <davem@davemloft.net>2019-08-02 17:30:36 -0700
commitea443e5e98b5b74e317ef3d26bcaea54931ccdee (patch)
treebec48b840e6e8aca80e399e9cde1db571b7ba9b1 /tools/perf/scripts/python/net_dropmonitor.py
parenthv_sock: Fix hang when a connection is closed (diff)
downloadlinux-ea443e5e98b5b74e317ef3d26bcaea54931ccdee.tar.gz
linux-ea443e5e98b5b74e317ef3d26bcaea54931ccdee.zip
atm: iphase: Fix Spectre v1 vulnerability
board is 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/atm/iphase.c:2765 ia_ioctl() warn: potential spectre issue 'ia_dev' [r] (local cap) drivers/atm/iphase.c:2774 ia_ioctl() warn: possible spectre second half. 'iadev' drivers/atm/iphase.c:2782 ia_ioctl() warn: possible spectre second half. 'iadev' drivers/atm/iphase.c:2816 ia_ioctl() warn: possible spectre second half. 'iadev' drivers/atm/iphase.c:2823 ia_ioctl() warn: possible spectre second half. 'iadev' drivers/atm/iphase.c:2830 ia_ioctl() warn: potential spectre issue '_ia_dev' [r] (local cap) drivers/atm/iphase.c:2845 ia_ioctl() warn: possible spectre second half. 'iadev' drivers/atm/iphase.c:2856 ia_ioctl() warn: possible spectre second half. 'iadev' Fix this by sanitizing board before using it to index ia_dev and _ia_dev 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/ Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
s='insertions'>+5 2018-04-25Revert "drm/sun4i: add lvds mode_valid function"Ondrej Jirman1-55/+0 2018-04-25virtio_console: reset on out of memoryMichael S. Tsirkin1-7/+10 2018-04-25virtio_console: move removal codeMichael S. Tsirkin1-36/+36 2018-04-25virtio_console: drop custom control queue cleanupMichael S. Tsirkin1-17/+0 2018-04-25virtio_console: free buffers after resetMichael S. Tsirkin1-25/+24 2018-04-25virtio: add ability to iterate over vqsMichael S. Tsirkin1-0/+3 2018-04-25virtio_console: don't tie bufs to a vqMichael S. Tsirkin1-7/+7 2018-04-25firmware: some documentation fixesAndres Rodriguez3-6/+6 2018-04-25ARM: amba: Don't read past the end of sysfs "driver_override" bufferGeert Uytterhoeven1-1/+2 2018-04-25ARM: amba: Fix race condition with driver_overrideGeert Uytterhoeven1-2/+9 2018-04-25Revert "blk-mq: remove code for dealing with remapping queue"Ming Lei1-3/+31 2018-04-25selftests:firmware: fixes a call to a wrong function nameJeffrin Jose T1-1/+1 2018-04-25drm/amd/display: Check dc_sink every time in MST hotplugJerry (Fangzhi) Zuo1-7/+9 2018-04-25drm/amd/display: Update MST edid property every timeJerry (Fangzhi) Zuo1-3/+3 2018-04-25drm/amd/display: Don't read EDID in atomic_checkHarry Wentland1-22/+10 2018-04-25drm/amd/display: Disallow enabling CRTC without primary plane with FBHarry Wentland1-1/+9 2018-04-25drm/amd/display: Fix deadlock when flushing irqMikita Lipski1-2/+3 2018-04-25ALSA: hda - Skip jack and others for non-existing PCM streamsTakashi Iwai1-1/+8 2018-04-25tracing: Fix missing tab for hwlat_detector print formatPeter Xu1-1/+1