aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2021-09-09 16:22:41 +0000
committerChristian Borntraeger <[email protected]>2021-10-25 07:20:38 +0000
commitb159f94c86b43cf7e73e654bc527255b1f4eafc4 (patch)
tree2c25f796861da3dc1c2f18038edb32b623ea4af3 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parents390/gmap: validate VMA in __gmap_zap() (diff)
downloadkernel-b159f94c86b43cf7e73e654bc527255b1f4eafc4.tar.gz
kernel-b159f94c86b43cf7e73e654bc527255b1f4eafc4.zip
s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
... 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: 1e133ab296f3 ("s390/mm: split arch/s390/mm/pgtable.c") Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Acked-by: Heiko Carstens <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions