Re: [PATCH] xtensa: fix access check in csum_and_copy_from_user

2020-07-21 Thread Max Filippov
On Tue, Jul 21, 2020 at 4:04 PM Al Viro wrote: > > On Tue, Jul 21, 2020 at 03:00:35PM -0700, Max Filippov wrote: > > Commit d341659f470b ("xtensa: switch to providing > > csum_and_copy_from_user()") introduced access check, but incorrectly > > tested dst instead of src. > > Fix access_ok argument

Re: [PATCH] xtensa: fix access check in csum_and_copy_from_user

2020-07-21 Thread Al Viro
On Tue, Jul 21, 2020 at 03:00:35PM -0700, Max Filippov wrote: > Commit d341659f470b ("xtensa: switch to providing > csum_and_copy_from_user()") introduced access check, but incorrectly > tested dst instead of src. > Fix access_ok argument in csum_and_copy_from_user. Applied, with apologies...

[PATCH] xtensa: fix access check in csum_and_copy_from_user

2020-07-21 Thread Max Filippov
Commit d341659f470b ("xtensa: switch to providing csum_and_copy_from_user()") introduced access check, but incorrectly tested dst instead of src. Fix access_ok argument in csum_and_copy_from_user. Cc: Al Viro Fixes: d341659f470b ("xtensa: switch to providing csum_and_copy_from_user()")