summaryrefslogtreecommitdiff
path: root/crypto/cast_common.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-02-05 18:34:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-20 09:21:08 +0300
commit1cd969fdb447655e6f4b1e0a3213e27c7ad236c2 (patch)
tree96fab9dba1f2a4a3c73ad8c2b847e66ed6c8f1ed /crypto/cast_common.c
parent82236561095d64471a3a38d3a8f1fd7d815df3dd (diff)
downloadlinux-1cd969fdb447655e6f4b1e0a3213e27c7ad236c2.tar.xz
arm64: futex: Mask __user pointers prior to dereference
commit 91b2d3442f6a44dce875670d702af22737ad5eff upstream. The arm64 futex code has some explicit dereferencing of user pointers where performing atomic operations in response to a futex command. This patch uses masking to limit any speculative futex operations to within the user address space. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com> [v4.9 backport] Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/cast_common.c')
0 files changed, 0 insertions, 0 deletions