]> 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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 Sep 2016 09:14:32 +0000 (11:14 +0200)
commitba2540d8680b26475e48bbf527eea6d70fcc1ad2
tree362801a9418205924bc394bc1b13a7d3ceb2792d
parent1334047d29ad3e40fee3bb6bdb75e1707739ad01
frv: fix clear_user()

commit 3b8767a8f00cc6538ba6b1cf0f88502e2fd2eb90 upstream.

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/frv/include/asm/uaccess.h