diff options
author | 2018-10-30 14:10:49 +0800 | |
---|---|---|
committer | 2018-10-31 12:39:15 -0700 | |
commit | ff002269a4ee9c769dbf9365acef633ebcbd6cbe (patch) | |
tree | 4857add07b45c82cc591f888f6571d94a86dafb8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | net: drop a space before tabs (diff) | |
download | linux-dev-ff002269a4ee9c769dbf9365acef633ebcbd6cbe.tar.xz linux-dev-ff002269a4ee9c769dbf9365acef633ebcbd6cbe.zip |
vhost: Fix Spectre V1 vulnerability
The idx in vhost_vring_ioctl() was controlled by userspace, hence a
potential exploitation of the Spectre variant 1 vulnerability.
Fixing this by sanitizing idx before using it to index d->vqs.
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions