# git rev-parse -q --verify 4c80ba392bf603d468ea827d902f8e7b2505fbf4^{commit} 4c80ba392bf603d468ea827d902f8e7b2505fbf4 already have revision, skipping fetch # git checkout -q -f -B kisskb 4c80ba392bf603d468ea827d902f8e7b2505fbf4 # git clean -qxdf # < git log -1 # commit 4c80ba392bf603d468ea827d902f8e7b2505fbf4 # Author: Eric Auger # Date: Tue Nov 26 18:54:13 2019 +0100 # # iommu: fix KASAN use-after-free in iommu_insert_resv_region # # In case the new region gets merged into another one, the nr list node is # freed. Checking its type while completing the merge algorithm leads to # a use-after-free. Use new->type instead. # # Fixes: 4dbd258ff63e ("iommu: Revisit iommu_insert_resv_region() implementation") # Signed-off-by: Eric Auger # Reported-by: Qian Cai # Reviewed-by: Jerry Snitselaar # Cc: Stable #v5.3+ # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4c80ba392bf603d468ea827d902f8e7b2505fbf4 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x8B98846B # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # yes \n | make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/eeh.c:1769:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] static int proc_eeh_show(struct seq_file *m, void *v) ^~~~~~~~~~~~~ /kisskb/src/drivers/cpufreq/cpufreq.c: In function 'refresh_frequency_limits.part.25': /kisskb/src/drivers/cpufreq/cpufreq.c:1125:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/cpufreq/cpufreq.c: In function 'store_scaling_governor': /kisskb/src/drivers/cpufreq/cpufreq.c:792:1: warning: the frame size of 1136 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/cpufreq/cpufreq.c: In function 'cpufreq_init_policy': /kisskb/src/drivers/cpufreq/cpufreq.c:1090:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_reboot_notifier': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:896:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_work_fn': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:928:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/vhost/vhost.c: In function 'log_used': /kisskb/src/drivers/vhost/vhost.c:1937:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[1]: *** [/kisskb/src/Makefile:1077: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 # Build took: 0:03:36.969343