linux/arch
David Hildenbrand ccf592fbe4 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
[ Upstream commit b159f94c86 ]

... otherwise we will try unlocking a spinlock that was never locked via a
garbage pointer.

At the time we reach this code path, we usually successfully looked up
a PGSTE already; however, evil user space could have manipulated the VMA
layout in the meantime and triggered removal of the page table.

Fixes: 1e133ab296 ("s390/mm: split arch/s390/mm/pgtable.c")
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20210909162248.14969-3-david@redhat.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:40:31 +01:00
..
alpha alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile 2021-10-06 15:05:07 +02:00
arc arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 2021-11-12 14:28:22 +01:00
arm ARM: 9136/1: ARMv7-M uses BE-8, not BE-32 2021-11-26 11:40:29 +01:00
arm64 arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55 2021-10-06 15:05:10 +02:00
blackfin
c6x
cris
frv
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 14:00:33 +01:00
hexagon hexagon: use common DISCARDS macro 2021-07-20 16:17:54 +02:00
ia64 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK 2021-11-26 11:40:27 +01:00
m32r
m68k m68k: Handle arrivals of multiple signals correctly 2021-10-17 10:08:34 +02:00
metag
microblaze microblaze: Prevent the overflow of the start 2020-02-28 16:36:08 +01:00
mips MIPS: lantiq: dma: reset correct number of channel 2021-11-26 11:40:26 +01:00
mn10300
nios2 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 2021-11-02 18:25:12 +01:00
openrisc openrisc: don't printk() unconditionally 2021-09-22 11:45:26 +02:00
parisc parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling 2021-11-26 11:40:29 +01:00
powerpc powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found 2021-11-26 11:40:24 +01:00
s390 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap() 2021-11-26 11:40:31 +01:00
score
sh sh: dma: fix kconfig dependency for G2_DMA 2021-01-30 13:31:15 +01:00
sparc sparc64: fix pci_iounmap() when CONFIG_PCI is not set 2021-10-09 14:09:46 +02:00
tile
um um: fix error return code in winch_tramp() 2021-07-20 16:17:53 +02:00
unicore32
x86 x86: Increase exception stack sizes 2021-11-26 11:40:26 +01:00
xtensa xtensa: xtfpga: Try software restart before simulating CPU reset 2021-10-27 09:51:39 +02:00
.gitignore
Kconfig mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race 2020-11-18 18:28:03 +01:00