https://github.com/torvalds/linux
Revision f72271e2a0ae4277d53c4053f5eed8bb346ba38a authored by Brian King on 17 November 2017, 17:05:49 UTC, committed by Jeff Kirsher on 22 November 2017, 07:52:38 UTC
The original issue being fixed in this patch was seen with the ixgbe
driver, but the same issue exists with i40evf as well, as the code is
very similar. read_barrier_depends is not sufficient to ensure
loads following it are not speculatively loaded out of order
by the CPU, which can result in stale data being loaded, causing
potential system crashes.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent 7b8edcc
History
Tip revision: f72271e2a0ae4277d53c4053f5eed8bb346ba38a authored by Brian King on 17 November 2017, 17:05:49 UTC
i40evf: Use smp_rmb rather than read_barrier_depends
Tip revision: f72271e
File Mode Size
apparmor
integrity
keys
loadpin
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 8.9 KB
Makefile -rw-r--r-- 1.0 KB
commoncap.c -rw-r--r-- 38.9 KB
device_cgroup.c -rw-r--r-- 20.4 KB
inode.c -rw-r--r-- 10.5 KB
lsm_audit.c -rw-r--r-- 10.7 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 43.5 KB

back to top