# 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-11.3.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 acc657692aed438e9931438f8c923b2b107aebf9 # make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- se7619_defconfig # < make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/mm/cache-sh2.c:85:13: warning: no previous prototype for 'sh2_cache_init' [-Wmissing-prototypes] 85 | void __init sh2_cache_init(void) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:76:13: warning: no previous prototype for 'kmap_coherent_init' [-Wmissing-prototypes] 76 | void __init kmap_coherent_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:80:7: warning: no previous prototype for 'kmap_coherent' [-Wmissing-prototypes] 80 | void *kmap_coherent(struct page *page, unsigned long addr) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:86:6: warning: no previous prototype for 'kunmap_coherent' [-Wmissing-prototypes] 86 | void kunmap_coherent(void *kvaddr) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/init.c:99:29: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes] 99 | void __attribute__ ((weak)) l2_cache_init(void) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/return_address.c:49:7: warning: no previous prototype for 'return_address' [-Wmissing-prototypes] 49 | void *return_address(unsigned int depth) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/sys_sh.c:58:16: warning: no previous prototype for 'sys_cacheflush' [-Wmissing-prototypes] 58 | asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/traps_32.c:735:6: warning: no previous prototype for 'per_cpu_trap_init' [-Wmissing-prototypes] 735 | void per_cpu_trap_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/hw_breakpoint.c:135:5: warning: no previous prototype for 'arch_bp_generic_fields' [-Wmissing-prototypes] 135 | int arch_bp_generic_fields(int sh_len, int sh_type, | ^~~~~~~~~~~~~~~~~~~~~~ during RTL pass: final In file included from /kisskb/src/fs/namespace.c:11: /kisskb/src/fs/namespace.c: In function '__se_sys_listmount': /kisskb/src/include/linux/syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275 258 | } \ | ^ /kisskb/src/include/linux/syscalls.h:233:9: note: in expansion of macro '__SYSCALL_DEFINEx' 233 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' 225 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /kisskb/src/fs/namespace.c:5079:1: note: in expansion of macro 'SYSCALL_DEFINE4' 5079 | SYSCALL_DEFINE4(listmount, const struct mnt_id_req __user *, req, | ^~~~~~~~~~~~~~~ 0x13636d9 internal_error(char const*, ...) ???:0 0x61d1db fancy_abort(char const*, int, char const*) ???:0 0x8278b4 adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>, int, int, int, poly_int<1u, long>) ???:0 0x86a031 output_operand(rtx_def*, int) ???:0 0x86a55c output_asm_insn(char const*, rtx_def**) ???:0 0x86bfa8 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. {standard input}: Assembler messages: {standard input}:14653: Warning: end of file not at end of a line; newline inserted {standard input}:16661: Error: missing operand {standard input}:16661: Error: invalid operands for opcode {standard input}:16355: Error: displacement to undefined symbol .L4323 overflows 12-bit field {standard input}:16401: Error: displacement to undefined symbol .L4324 overflows 12-bit field {standard input}:16491: Error: displacement to undefined symbol .L4253 overflows 12-bit field {standard input}:16511: Error: displacement to undefined symbol .L4262 overflows 12-bit field {standard input}:16543: Error: displacement to undefined symbol .L4328 overflows 12-bit field {standard input}:16560: Error: displacement to undefined symbol .L4290 overflows 12-bit field {standard input}:16607: Error: displacement to undefined symbol .L4367 overflows 8-bit field {standard input}:16611: Error: displacement to undefined symbol .L4367 overflows 8-bit field {standard input}:16614: Error: displacement to undefined symbol .L4367 overflows 8-bit field {standard input}:16552: Error: pcrel too far {standard input}:16554: Error: pcrel too far {standard input}:16568: Error: pcrel too far {standard input}:16570: Error: pcrel too far {standard input}:16615: Error: pcrel too far {standard input}:16632: Error: pcrel too far make[4]: *** [/kisskb/src/scripts/Makefile.build:243: fs/namespace.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: fs] Error 2 make[3]: *** Waiting for unfinished jobs.... /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) | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [/kisskb/src/Makefile:1912: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_se7619_defconfig_sh4-gcc11 # Build took: 0:00:20.177295