commit | 7798bf2140ebcc36eafec6a4194fffd8d585d471 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Sep 10 16:31:04 2016 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Sep 15 19:51:55 2016 -0400 |
tree | f3babde13b19f0f95ba1f27d5af1569404722444 | |
parent | 085354f907969fb3ee33f236368f6e1dd4c74d62 [diff] |
arc: don't leak bits of kernel stack into coredump On faulting sigreturn we do get SIGSEGV, all right, but anything we'd put into pt_regs could end up in the coredump. And since __copy_from_user() never zeroed on arc, we'd better bugger off on its failure without copying random uninitialized bits of kernel stack into pt_regs... Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>