summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-09-10 22:31:04 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-09-16 01:51:55 +0200
commit7798bf2140ebcc36eafec6a4194fffd8d585d471 (patch)
treef3babde13b19f0f95ba1f27d5af1569404722444 /arch/arm/lib
parentalpha: get rid of tail-zeroing in __copy_user() (diff)
downloadlinux-7798bf2140ebcc36eafec6a4194fffd8d585d471.tar.xz
linux-7798bf2140ebcc36eafec6a4194fffd8d585d471.zip
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>
Diffstat (limited to 'arch/arm/lib')
0 files changed, 0 insertions, 0 deletions