# git rev-parse -q --verify e4d8a29997731b3bb14059024b24df9f784288d0^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify e4d8a29997731b3bb14059024b24df9f784288d0^{commit} e4d8a29997731b3bb14059024b24df9f784288d0 # git checkout -q -f -B kisskb e4d8a29997731b3bb14059024b24df9f784288d0 # git clean -qxdf # < git log -1 # commit e4d8a29997731b3bb14059024b24df9f784288d0 # Author: Mikulas Patocka # Date: Wed Apr 27 11:26:40 2022 -0400 # # hex2bin: fix access beyond string end # # If we pass too short string to "hex2bin" (and the string size without # the terminating NUL character is even), "hex2bin" reads one byte after # the terminating NUL character. This patch fixes it. # # Note that hex_to_bin returns -1 on error and hex2bin return -EINVAL on # error - so we can't just return the variable "hi" or "lo" on error. # This inconsistency may be fixed in the next merge window, but for the # purpose of fixing this bug, we just preserve the existing behavior and # return -1 and -EINVAL. # # Signed-off-by: Mikulas Patocka # Reviewed-by: Andy Shevchenko # Fixes: b78049831ffe ("lib: add error checking to hex2bin") # Cc: stable@vger.kernel.org # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e4d8a29997731b3bb14059024b24df9f784288d0 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # 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 # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4913:warning: override: reassigning to symbol STANDALONE .config:4919:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/build/tmp/ccBXjZOq.s: Assembler messages: /kisskb/build/tmp/ccBXjZOq.s:91017: Error: invalid operands (.text.unlikely and .text sections) for `-' /kisskb/build/tmp/ccBXjZOq.s:91048: Error: invalid operands (.text.unlikely and .text sections) for `-' make[5]: *** [/kisskb/src/scripts/Makefile.build:288: arch/x86/kernel/cpu/mce/core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/kernel/cpu/mce] Error 2 make[4]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: warning: arch/x86/entry/vdso/vclock_gettime-x32.o: corrupt GNU_PROPERTY_TYPE (5) size: 0x10 /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: warning: arch/x86/entry/vdso/vgetcpu-x32.o: corrupt GNU_PROPERTY_TYPE (5) size: 0x10 /kisskb/build/tmp/cchhfPos.s: Assembler messages: /kisskb/build/tmp/cchhfPos.s:104808: Error: invalid operands (.text.unlikely and .text sections) for `-' /kisskb/build/tmp/cchhfPos.s:105396: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: arch/x86/events/core.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/kernel/cpu] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/build/tmp/cc0rS5FY.s: Assembler messages: /kisskb/build/tmp/cc0rS5FY.s:49897: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: arch/x86/mm/ioremap.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/kernel] Error 2 /kisskb/build/tmp/ccBKsyAd.s: Assembler messages: /kisskb/build/tmp/ccBKsyAd.s:32779: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: security/safesetid/securityfs.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: security/safesetid] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/events] Error 2 /kisskb/build/tmp/ccZoQ2G1.s: Assembler messages: /kisskb/build/tmp/ccZoQ2G1.s:54390: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: fs/crypto/keyring.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/build/tmp/cck3znpH.s: Assembler messages: /kisskb/build/tmp/cck3znpH.s:48637: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: fs/crypto/policy.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: fs/crypto] Error 2 make[1]: *** [/kisskb/src/Makefile:1834: fs] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/build/tmp/ccJCqLO3.s: Assembler messages: /kisskb/build/tmp/ccJCqLO3.s:136274: Error: invalid operands (.text.unlikely and .text sections) for `-' /kisskb/build/tmp/ccJCqLO3.s:136315: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: arch/x86/kvm/lapic.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/build/tmp/ccPZtKSB.s: Assembler messages: /kisskb/build/tmp/ccPZtKSB.s:69354: Error: invalid operands (.text.unlikely and .text sections) for `-' /kisskb/build/tmp/ccPZtKSB.s:69435: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: kernel/irq/irqdomain.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: kernel/irq] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1834: security] Error 2 /kisskb/build/tmp/ccezSSQS.s: Assembler messages: /kisskb/build/tmp/ccezSSQS.s:46175: Error: invalid operands (.text.unlikely and .text sections) for `-' make[3]: *** [/kisskb/src/scripts/Makefile.build:288: kernel/dma/swiotlb.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: kernel/dma] Error 2 make[1]: *** [/kisskb/src/Makefile:1834: kernel] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/kvm] Error 2 make[1]: *** [/kisskb/src/Makefile:1834: arch/x86] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:00:22.367879