# 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/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 4c80ba392bf603d468ea827d902f8e7b2505fbf4 # < make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- randconfig KCONFIG_SEED=0xD9279588 # Added to kconfig CONFIG_STANDALONE=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_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # yes \n | make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- /kisskb/src/tools/objtool /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 # Build took: 0:05:14.134802