android_kernel_samsung_sm8650/arch
Michal Hocko cf0d44d513 s390: fix info leak in do_sigsegv
Aleksa has reported incorrect si_errno value when stracing task which
received SIGSEGV:
[pid 20799] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_errno=2510266, si_addr=0x100000000000000}

The reason seems to be that do_sigsegv is not initializing siginfo
structure defined on the stack completely so it will leak 4B of
the previous stack content. Fix it simply by initializing si_errno
to 0 (same as do_sigbus does already).

Cc: stable # introduced pre-git times
Reported-by: Aleksa Sarai <asarai@suse.de>
Signed-off-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-05-23 16:45:25 +02:00
..
alpha This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
arc This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
arm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-05-18 17:12:23 -07:00
arm64 ARM: SoC defconfig updates for v4.7 2016-05-18 13:07:57 -07:00
avr32 This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
blackfin Blackfin: comment spelling s/divsor/divisor/ 2016-04-18 12:51:57 +02:00
c6x c6x: Fix misspellings in comments. 2016-04-18 12:45:53 +02:00
cris This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
frv asm-generic changes for 4.6 2016-03-24 23:13:48 -07:00
h8300 h8300: switch EARLYCON 2016-03-25 01:45:19 +09:00
hexagon hexagon: Fix misspellings in comments. 2016-04-18 12:45:54 +02:00
ia64 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2016-05-17 17:05:30 -07:00
m32r Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-03-19 10:05:34 -07:00
m68k This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
metag This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
microblaze arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00
mips This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
mn10300 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-03-19 10:05:34 -07:00
nios2 This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
openrisc openrisc: drop wrongly typed definition of page_to_virt() 2016-04-22 10:08:34 +01:00
parisc parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls 2016-05-06 15:09:07 +02:00
powerpc Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-05-18 11:51:59 -07:00
s390 s390: fix info leak in do_sigsegv 2016-05-23 16:45:25 +02:00
score Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-03-19 10:05:34 -07:00
sh This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
sparc This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
tile net: dsa: mv88e6xxx: factorize the switch driver 2016-05-09 14:26:13 -04:00
um Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-05-17 16:26:30 -07:00
unicore32 unicore32: gpio: switch to gpiochip_add_data() 2016-03-30 10:54:15 +02:00
x86 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching 2016-05-17 17:11:27 -07:00
xtensa This is the bulk of GPIO changes for kernel cycle v4.7: 2016-05-17 17:39:42 -07:00
.gitignore
Kconfig objtool: Add CONFIG_STACK_VALIDATION option 2016-02-29 08:35:13 +01:00