Files
linux/arch/arm/lib/copy_to_user.S
Julien Thierry 042b172201 ARM: 8797/1: spectre-v1.1: harden __copy_to_user
Commit a1d09e0742 upstream.

Sanitize user pointer given to __copy_to_user, both for standard version
and memcopy version of the user accessor.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David A. Long <dave.long@linaro.org>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-20 10:25:37 +01:00

2.2 KiB