]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 8797/1: spectre-v1.1: harden __copy_to_user
authorJulien Thierry <julien.thierry@arm.com>
Tue, 11 Sep 2018 09:15:12 +0000 (10:15 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 5 Oct 2018 09:51:15 +0000 (10:51 +0100)
commita1d09e074250fad24f1b993f327b18cc6812eb7a
tree92904d2fbb862da96ffdfa670f7ab1556239553f
parentafaf6838f4bc896a711180b702b388b8cfa638fc
ARM: 8797/1: spectre-v1.1: harden __copy_to_user

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>
arch/arm/lib/copy_to_user.S
arch/arm/lib/uaccess_with_memcpy.c