# git rev-parse -q --verify acc657692aed438e9931438f8c923b2b107aebf9^{commit} acc657692aed438e9931438f8c923b2b107aebf9 already have revision, skipping fetch # git checkout -q -f -B kisskb acc657692aed438e9931438f8c923b2b107aebf9 # git clean -qxdf # < git log -1 # commit acc657692aed438e9931438f8c923b2b107aebf9 # Author: David Howells # Date: Wed Jan 10 21:11:40 2024 +0000 # # keys, dns: Fix size check of V1 server-list header # # Fix the size check added to dns_resolver_preparse() for the V1 server-list # header so that it doesn't give EINVAL if the size supplied is the same as # the size of the header struct (which should be valid). # # This can be tested with: # # echo -n -e '\0\0\01\xff\0\0' | keyctl padd dns_resolver desc @p # # which will give "add_key: Invalid argument" without this fix. # # Fixes: 1997b3cb4217 ("keys, dns: Fix missing size check of V1 server-list header") # Reported-by: Pengfei Xu # Link: https://lore.kernel.org/r/ZZ4fyY4r3rqgZL+4@xpf.sh.intel.com/ # Signed-off-by: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/loongarch64-linux/bin/loongarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/loongarch64-linux/bin/loongarch64-linux-ld --version # < git log --format=%s --max-count=1 acc657692aed438e9931438f8c923b2b107aebf9 # make -s -j 160 ARCH=loongarch O=/kisskb/build/linus_loongson3_defconfig_loongarch-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/loongarch64-linux/bin/loongarch64-linux- loongson3_defconfig # < make -s -j 160 ARCH=loongarch O=/kisskb/build/linus_loongson3_defconfig_loongarch-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/loongarch64-linux/bin/loongarch64-linux- help # make -s -j 160 ARCH=loongarch O=/kisskb/build/linus_loongson3_defconfig_loongarch-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/loongarch64-linux/bin/loongarch64-linux- olddefconfig # make -s -j 160 ARCH=loongarch O=/kisskb/build/linus_loongson3_defconfig_loongarch-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/loongarch64-linux/bin/loongarch64-linux- /kisskb/src/arch/loongarch/kernel/asm-offsets.c:18:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes] 18 | void output_ptreg_defines(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:65:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes] 65 | void output_task_defines(void) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:80:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes] 80 | void output_thread_info_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:96:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes] 96 | void output_thread_defines(void) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:132:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes] 132 | void output_thread_fpu_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:173:6: warning: no previous prototype for 'output_thread_lbt_defines' [-Wmissing-prototypes] 173 | void output_thread_lbt_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:183:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes] 183 | void output_mm_defines(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:215:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes] 215 | void output_sc_defines(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:223:6: warning: no previous prototype for 'output_signal_defines' [-Wmissing-prototypes] 223 | void output_signal_defines(void) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:261:6: warning: no previous prototype for 'output_smpboot_defines' [-Wmissing-prototypes] 261 | void output_smpboot_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:271:6: warning: no previous prototype for 'output_pbe_defines' [-Wmissing-prototypes] 271 | void output_pbe_defines(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/arch/loongarch/kernel/asm-offsets.c:294:6: warning: no previous prototype for 'output_kvm_defines' [-Wmissing-prototypes] 294 | void output_kvm_defines(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/irq_work.c:72:13: warning: no previous prototype for 'arch_irq_work_raise' [-Wmissing-prototypes] 72 | void __weak arch_irq_work_raise(void) | ^~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_loongson3_defconfig_loongarch-gcc13 # Build took: 0:03:00.969735