Buildresult: linus-rand/x86_64-randconfig/x86_64-gcc11 built on Apr 28 2022, 06:00
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Apr 28 2022, 06:00
Duration:
0:09:23.304927
Builder:
blade4b
Revision:
hex2bin: fix access beyond string end (
e4d8a29997731b3bb14059024b24df9f784288d0)
Target:
linus-rand/x86_64-randconfig/x86_64-gcc11
Branch:
linus-rand
Compiler:
x86_64-gcc11
(x86_64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible warnings (8)
.config:5872:warning: override: reassigning to symbol STANDALONE .config:5873:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5878:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY vmlinux.o: warning: objtool: vmx_l1d_flush()+0x13: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: vmx_vcpu_enter_exit()+0x29: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: vmx_update_host_rsp()+0x35: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_nmi()+0x12: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault()+0x37: call to static_key_count() leaves .noinstr.text section
Full Log
# git rev-parse -q --verify e4d8a29997731b3bb14059024b24df9f784288d0^{commit} e4d8a29997731b3bb14059024b24df9f784288d0 already have revision, skipping fetch # git checkout -q -f -B kisskb e4d8a29997731b3bb14059024b24df9f784288d0 # git clean -qxdf # < git log -1 # commit e4d8a29997731b3bb14059024b24df9f784288d0 # Author: Mikulas Patocka <mpatocka@redhat.com> # 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 <mpatocka@redhat.com> # Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> # Fixes: b78049831ffe ("lib: add error checking to hex2bin") # Cc: stable@vger.kernel.org # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /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 e4d8a29997731b3bb14059024b24df9f784288d0 # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.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 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_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 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:5872:warning: override: reassigning to symbol STANDALONE .config:5873:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5878:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_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: vmx_l1d_flush()+0x13: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: vmx_vcpu_enter_exit()+0x29: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: vmx_update_host_rsp()+0x35: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_nmi()+0x12: call to static_key_count() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault()+0x37: call to static_key_count() leaves .noinstr.text section Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:09:23.304927
© Michael Ellerman 2006-2018.