diff options
author | Luck, Tony <tony.luck@intel.com> | 2019-07-31 06:39:57 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-08-01 17:34:11 +0200 |
commit | 61f259821dd3306e49b7d42a3f90fb5a4ff3351b (patch) | |
tree | a67d72f9d2a8e6ddf6486a2b784c62673f551992 /include/rdma | |
parent | Do not dereference 'siw_crypto_shash' before checking (diff) | |
download | linux-61f259821dd3306e49b7d42a3f90fb5a4ff3351b.tar.xz linux-61f259821dd3306e49b7d42a3f90fb5a4ff3351b.zip |
IB/core: Add mitigation for Spectre V1
Some processors may mispredict an array bounds check and
speculatively access memory that they should not. With
a user supplied array index we like to play things safe
by masking the value with the array size before it is
used as an index.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20190731043957.GA1600@agluck-desk2.amr.corp.intel.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions