s390/uaccess: add missing EX_TABLE entries to __clear_user()
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 18 Oct 2022 11:39:43 +0000 (13:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:15:32 +0000 (18:15 +0100)
commit1cdaca8f00a77fa2f83a0ebe61896654d1591e40
tree19907ed5e59d07426f7730a0daa481ab7335c729
parent509cbbdec9d767cfe6c7884f17cbb96dff9af557
s390/uaccess: add missing EX_TABLE entries to __clear_user()

[ Upstream commit 4e1b5a86a5edfbefc9396d41b0fc1a2ebd0101b6 ]

For some exception types the instruction address points behind the
instruction that caused the exception. Take that into account and add
the missing exception table entries.

Cc: <stable@vger.kernel.org>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/lib/uaccess.c