Revision 342300cc9cd3428bc6bfe5809bfcc1b9a0f06702 authored by Martin Schwidefsky on 19 February 2016, 13:44:14 UTC, committed by Martin Schwidefsky on 22 February 2016, 08:29:35 UTC
git commit 8070361799ae1e3f4ef347bd10f0a508ac10acfb "s390: add support for vector extension" broke 31-bit compat processes in regard to signal handling. The restore_sigregs_ext32() function is used to restore the additional elements from the user space signal frame. Among the additional elements are the upper registers halves for 64-bit register support for 31-bit processes. The copy_from_user that is used to retrieve the high-gprs array from the user stack uses an incorrect length, 8 bytes instead of 64 bytes. This causes incorrect upper register halves to get loaded. Cc: stable@vger.kernel.org # 3.8+ Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 81f70ba
File | Mode | Size |
---|---|---|
40x_mmu.c | -rw-r--r-- | 4.4 KB |
44x_mmu.c | -rw-r--r-- | 6.6 KB |
Makefile | -rw-r--r-- | 1.6 KB |
copro_fault.c | -rw-r--r-- | 3.9 KB |
dma-noncoherent.c | -rw-r--r-- | 10.5 KB |
fault.c | -rw-r--r-- | 15.0 KB |
fsl_booke_mmu.c | -rw-r--r-- | 8.6 KB |
hash64_4k.c | -rw-r--r-- | 3.7 KB |
hash64_64k.c | -rw-r--r-- | 8.8 KB |
hash_low_32.S | -rw-r--r-- | 19.1 KB |
hash_native_64.c | -rw-r--r-- | 19.4 KB |
hash_utils_64.c | -rw-r--r-- | 41.6 KB |
highmem.c | -rw-r--r-- | 2.2 KB |
hugepage-hash64.c | -rw-r--r-- | 4.8 KB |
hugetlbpage-book3e.c | -rw-r--r-- | 4.1 KB |
hugetlbpage-hash64.c | -rw-r--r-- | 3.8 KB |
hugetlbpage.c | -rw-r--r-- | 25.2 KB |
icswx.c | -rw-r--r-- | 7.9 KB |
icswx.h | -rw-r--r-- | 2.0 KB |
icswx_pid.c | -rw-r--r-- | 1.8 KB |
init_32.c | -rw-r--r-- | 5.5 KB |
init_64.c | -rw-r--r-- | 12.4 KB |
mem.c | -rw-r--r-- | 14.6 KB |
mmap.c | -rw-r--r-- | 2.8 KB |
mmu_context_hash32.c | -rw-r--r-- | 3.4 KB |
mmu_context_hash64.c | -rw-r--r-- | 3.4 KB |
mmu_context_iommu.c | -rw-r--r-- | 6.6 KB |
mmu_context_nohash.c | -rw-r--r-- | 13.2 KB |
mmu_decl.h | -rw-r--r-- | 4.8 KB |
numa.c | -rw-r--r-- | 39.2 KB |
pgtable.c | -rw-r--r-- | 6.8 KB |
pgtable_32.c | -rw-r--r-- | 10.9 KB |
pgtable_64.c | -rw-r--r-- | 21.8 KB |
ppc_mmu_32.c | -rw-r--r-- | 8.4 KB |
slb.c | -rw-r--r-- | 10.8 KB |
slb_low.S | -rw-r--r-- | 8.6 KB |
slice.c | -rw-r--r-- | 19.1 KB |
subpage-prot.c | -rw-r--r-- | 6.4 KB |
tlb_hash32.c | -rw-r--r-- | 4.5 KB |
tlb_hash64.c | -rw-r--r-- | 7.6 KB |
tlb_low_64e.S | -rw-r--r-- | 36.8 KB |
tlb_nohash.c | -rw-r--r-- | 19.7 KB |
tlb_nohash_low.S | -rw-r--r-- | 10.1 KB |
vphn.c | -rw-r--r-- | 2.0 KB |
vphn.h | -rw-r--r-- | 489 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...