1
0
Fork 0
alistair23-linux/arch/arm64/include
Robin Murphy 4d8efc2d5e arm64: Use pointer masking to limit uaccess speculation
Similarly to x86, mitigate speculation past an access_ok() check by
masking the pointer against the address limit before use.

Even if we don't expect speculative writes per se, it is plausible that
a CPU may still speculate at least as far as fetching a cache line for
writing, hence we also harden put_user() and clear_user() for peace of
mind.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2018-02-06 22:53:34 +00:00
..
asm arm64: Use pointer masking to limit uaccess speculation 2018-02-06 22:53:34 +00:00
uapi/asm arm64: v8.4: Support for new floating point multiplication instructions 2018-01-05 11:29:48 +00:00