waitid(): Add missing access_ok() checks
Adds missing access_ok() checks. CVE-2017-5123 Reported-by: NChris Salls <chrissalls5@gmail.com> Signed-off-by: NKees Cook <keescook@chromium.org> Acked-by: NAl Viro <viro@zeniv.linux.org.uk> Fixes: 4c48abe9 ("waitid(): switch copyout of siginfo to unsafe_put_user()") Cc: stable@kernel.org # 4.13 Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录