diff options
author | 2022-01-29 15:58:39 +0100 | |
---|---|---|
committer | 2022-02-22 11:04:41 -0500 | |
commit | cd9c88da171a62c4b0f1c70e50c75845969fbc18 (patch) | |
tree | e6af6dfa8a8a35becda7882bb15f6439ef7fab36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm: cleanup double word in comment (diff) | |
download | wireguard-linux-cd9c88da171a62c4b0f1c70e50c75845969fbc18.tar.xz wireguard-linux-cd9c88da171a62c4b0f1c70e50c75845969fbc18.zip |
dm ioctl: prevent potential spectre v1 gadget
It appears like cmd could be a Spectre v1 gadget as it's supplied by a
user and used as an array index. Prevent the contents of kernel memory
from being leaked to userspace via speculative execution by using
array_index_nospec.
Signed-off-by: Jordy Zomer <jordy@pwning.systems>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions