# git rev-parse -q --verify 8565d64430f8278bea38dab0a3ab60b4e11c71e4^{commit} 8565d64430f8278bea38dab0a3ab60b4e11c71e4 already have revision, skipping fetch # git checkout -q -f -B kisskb 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # git clean -qxdf # < git log -1 # commit 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # Merge: d0858cbdef50 fad278388e01 # Author: Linus Torvalds # Date: Mon Mar 21 19:58:27 2022 -0700 # # Merge tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux # # Pull bounds fixes from Kees Cook: # "These are a handful of buffer and array bounds fixes that I've been # carrying in preparation for the coming memcpy improvements and the # enabling of '-Warray-bounds' globally. # # There are additional similar fixes in other maintainer's trees, but # these ended up getting carried by me. :)" # # * tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: # media: omap3isp: Use struct_group() for memcpy() region # tpm: vtpm_proxy: Check length to avoid compiler warning # alpha: Silence -Warray-bounds warnings # m68k: cmpxchg: Dereference matching size # intel_th: msu: Use memset_startat() for clearing hw header # KVM: x86: Replace memset() "optimization" with normal per-field writes # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # < make -s -j 32 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- vmlinux.o: warning: objtool: mce_start()+0x5c: call to __kasan_check_write() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_gather_info()+0x5f: call to v8086_mode.constprop.0() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_read_aux()+0x8a: call to mca_msr_reg() leaves .noinstr.text section vmlinux.o: warning: objtool: do_machine_check()+0x192: call to mce_no_way_out() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_severity_amd.constprop.0()+0xca: call to mce_severity_amd_smca() leaves .noinstr.text section Completed OK # rm -rf /kisskb/build/linus_x86-allmodconfig_x86_64-gcc11 # Build took: 0:37:20.195648