# git rev-parse -q --verify 59f2f4b8a757412fce372f6d0767bdb55da127a8^{commit} 59f2f4b8a757412fce372f6d0767bdb55da127a8 already have revision, skipping fetch # git checkout -q -f -B kisskb 59f2f4b8a757412fce372f6d0767bdb55da127a8 # git clean -qxdf # < git log -1 # commit 59f2f4b8a757412fce372f6d0767bdb55da127a8 # Author: Liam Howlett # Date: Mon Nov 7 20:11:42 2022 +0000 # # fs/userfaultfd: Fix maple tree iterator in userfaultfd_unregister() # # When iterating the VMAs, the maple state needs to be invalidated if the # tree is modified by a split or merge to ensure the maple tree node # contained in the maple state is still valid. These invalidations were # missed, so add them to the paths which alter the tree. # # Reported-by: syzbot+0d2014e4da2ccced5b41@syzkaller.appspotmail.com # Fixes: 69dbe6daf104 (userfaultfd: use maple tree iterator to iterate VMAs) # Signed-off-by: Liam R. Howlett # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 59f2f4b8a757412fce372f6d0767bdb55da127a8 # < make -s -j 32 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig # < make -s -j 32 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 32 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 32 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In function 'setup_lowcore_dat_on', inlined from 'setup_arch' at /kisskb/src/arch/s390/kernel/setup.c:1059:2: /kisskb/src/arch/s390/kernel/setup.c:524:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds] 524 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | sizeof(abs_lc->cregs_save_area)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_s390-defconfig_s390x-gcc11 # Build took: 0:08:11.108189