diff options
author | Mathieu Desnoyers <[email protected]> | 2013-06-28 09:49:46 -0400 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-06-29 11:29:08 -0700 |
commit | 706b23bde27a391f0974df2a8351661770fa2e07 (patch) | |
tree | 2b8d6be33dda49dcfc9ed8a5a688db4e8f56ac4c /lib/mpi | |
parent | bd2931b5cff6a3bf39bfe15fae051fb8229c0029 (diff) |
Fix: kernel/ptrace.c: ptrace_peek_siginfo() missing __put_user() validation
This __put_user() could be used by unprivileged processes to write into
kernel memory. The issue here is that even if copy_siginfo_to_user()
fails, the error code is not checked before __put_user() is executed.
Luckily, ptrace_peek_siginfo() has been added within the 3.10-rc cycle,
so it has not hit a stable release yet.
Signed-off-by: Mathieu Desnoyers <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Cc: Andrey Vagin <[email protected]>
Cc: Roland McGrath <[email protected]>
Cc: Paul McKenney <[email protected]>
Cc: David Howells <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Pedro Alves <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions