]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
frv: fix clear_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Aug 2016 00:54:02 +0000 (20:54 -0400)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 6 Oct 2016 02:40:20 +0000 (22:40 -0400)
commita4bc5779f6e3ec3d1052d7b327aa76f26d73acaf
treeebbba0b4af11d3b2ee694ab412098cdfe6167df9
parentf13847df64d58b4ca99423b6e678675217702d14
frv: fix clear_user()

[ Upstream commit 3b8767a8f00cc6538ba6b1cf0f88502e2fd2eb90 ]

It should check access_ok().  Otherwise a bunch of places turn into
trivially exploitable rootholes.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
arch/frv/include/asm/uaccess.h