[PATCH] arm64: uaccess: simplify uaccess_mask_ptr()

Catalin Marinas catalin.marinas at arm.com
Fri Sep 23 10:26:14 PDT 2022


On Thu, 22 Sep 2022 16:10:53 +0100, Mark Rutland wrote:
> We introduced uaccess pointer masking for arm64 in commit:
> 
>   4d8efc2d5ee4c9cc ("arm64: Use pointer masking to limit uaccess speculation")
> 
> Which was intended to prevent speculative uaccesses to kernel memory on
> CPUs where access permissions were not respected under speculation.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: uaccess: simplify uaccess_mask_ptr()
      https://git.kernel.org/arm64/c/2305b809be93

-- 
Catalin




More information about the linux-arm-kernel mailing list