Re: [PATCH] sparc32: fix a user-triggerable oops in clear_user()

2020-07-21 Thread David Miller
From: Al Viro Date: Mon, 20 Jul 2020 02:21:51 +0100 > Back in 2.1.29 the clear_user() guts (__bzero()) had been merged > with memset(). Unfortunately, while all exception handlers had been > copied, one of the exception table entries got lost. As the result, > clear_user() starting at 128*n byt

[PATCH] sparc32: fix a user-triggerable oops in clear_user()

2020-07-19 Thread Al Viro
Back in 2.1.29 the clear_user() guts (__bzero()) had been merged with memset(). Unfortunately, while all exception handlers had been copied, one of the exception table entries got lost. As the result, clear_user() starting at 128*n bytes before the end of page and spanning between 8 and 127 bytes