arm: oabi compat: add missing access checks
Add access checks to sys_oabi_epoll_wait() and sys_oabi_semtimedop(). This fixes CVE-2016-3857, a local privilege escalation under CONFIG_OABI_COMPAT. Cc: stable@vger.kernel.org Reported-by: NChiachih Wu <wuchiachih@gmail.com> Reviewed-by: NKees Cook <keescook@chromium.org> Reviewed-by: NNicolas Pitre <nico@linaro.org> Signed-off-by: NDave Weinstein <olorin@google.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录