Files
twx-linux/kernel
Jann Horn 122be5afdf ptrace: restore smp_rmb() in __ptrace_may_access()
commit f6581f5b55 upstream.

Restore the read memory barrier in __ptrace_may_access() that was deleted
a couple years ago. Also add comments on this barrier and the one it pairs
with to explain why they're there (as far as I understand).

Fixes: bfedb58925 ("mm: Add a user_ns owner to mm_struct and fix ptrace permission checks")
Cc: stable@vger.kernel.org
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-22 08:17:18 +02:00
..
2019-05-16 19:43:40 +02:00
…
…
2019-05-31 06:48:20 -07:00
…
…
…
…
…
…
…
2019-01-13 10:03:51 +01:00
…
…
2018-08-03 07:55:12 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-08-03 07:55:24 +02:00
…
…
2018-05-09 09:50:20 +02:00
…
…
…
…
…