# git rev-parse -q --verify ba422731316dde1e22dcc84b83c7349dc0ce1c3c^{commit} ba422731316dde1e22dcc84b83c7349dc0ce1c3c already have revision, skipping fetch # git checkout -q -f -B kisskb ba422731316dde1e22dcc84b83c7349dc0ce1c3c # git clean -qxdf # < git log -1 # commit ba422731316dde1e22dcc84b83c7349dc0ce1c3c # Author: Sean Christopherson # Date: Wed Jan 9 16:51:17 2019 -0800 # # mm/mmu_notifier: mm/rmap.c: Fix a mmu_notifier range bug in try_to_unmap_one # # The conversion to use a structure for mmu_notifier_invalidate_range_*() # unintentionally changed the usage in try_to_unmap_one() to init the # 'struct mmu_notifier_range' with vma->vm_start instead of @address, # i.e. it invalidates the wrong address range. Revert to the correct # address range. # # Manifests as KVM use-after-free WARNINGs and subsequent "BUG: Bad page # state in process X" errors when reclaiming from a KVM guest due to KVM # removing the wrong pages from its own mappings. # # Reported-by: leozinho29_eu@hotmail.com # Reported-by: Mike Galbraith # Reported-and-tested-by: Adam Borowski # Reviewed-by: Jérôme Glisse # Reviewed-by: Pankaj gupta # Cc: Christian König # Cc: Jan Kara # Cc: Matthew Wilcox # Cc: Ross Zwisler # Cc: Dan Williams # Cc: Paolo Bonzini # Cc: Radim Krčmář # Cc: Michal Hocko # Cc: Felix Kuehling # Cc: Ralph Campbell # Cc: John Hubbard # Cc: Andrew Morton # Fixes: ac46d4f3c432 ("mm/mmu_notifier: use structure for invalidate_range_start/end calls v2") # Signed-off-by: Sean Christopherson # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 ba422731316dde1e22dcc84b83c7349dc0ce1c3c # < make -s -j 120 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" FIT description: Linux 5.0.0-rc1-gba422731316d Created: Fri Jan 11 03:58:03 2019 Image 0 (kernel@0) Description: Linux 5.0.0-rc1-gba422731316d Created: Fri Jan 11 03:58:03 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4499987 Bytes = 4394.52 KiB = 4.29 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808544d0 Hash algo: sha1 Hash value: c6bbcd66035c8b821bd2d2b8d9a854ff4c3771ed Image 1 (fdt@boston) Description: img,boston Device Tree Created: Fri Jan 11 03:58:03 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Fri Jan 11 03:58:03 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Fri Jan 11 03:58:03 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 509ce58e44c561d54539e64e9d4b47054e696fc6 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/linus_mips-defconfig_mipsel # Build took: 0:00:59.153636