summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorJordy Zomer <jordy@pwning.systems>2022-01-29 18:06:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-08 20:34:06 +0300
commit24f8e12d965b24f8aea762589e0e9fe2025c005e (patch)
treecdffcb1506215dfbebad9097a3eb04553fd3abbf /.mailmap
parentf576721152fdf9c919cc2f16784f5caa6bba91ff (diff)
downloadlinux-24f8e12d965b24f8aea762589e0e9fe2025c005e.tar.xz
dma-buf: heaps: Fix potential spectre v1 gadget
commit 92c4cfaee6872038563c5b6f2e8e613f9d84d47d upstream. It appears like nr 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> Fixes: c02a81fba74f ("dma-buf: Add dma-buf heaps framework") Cc: <stable@vger.kernel.org> # v5.6+ Acked-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> [sumits: added fixes and cc: stable tags] Link: https://patchwork.freedesktop.org/patch/msgid/20220129150604.3461652-1-jordy@pwning.systems Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions