s390/kasan: fix large PMD pages address alignment check
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 6 Aug 2021 10:55:08 +0000 (12:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 07:50:27 +0000 (09:50 +0200)
commit8b471e72b51e4d2617f27215da3f7840090fb22b
tree344fe1bc074538cec0f094d75308748e7ac4ac84
parent9d999957cb39ab7f37235808e006cf5b5bef536b
s390/kasan: fix large PMD pages address alignment check

[ Upstream commit ddd63c85ef67ea9ea7282ad35eafb6568047126e ]

It is currently possible to initialize a large PMD page when
the address is not aligned on page boundary.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/mm/kasan_init.c