# git rev-parse -q --verify eb555cb5b794f4e12a9897f3d46d5a72104cd4a7^{commit} eb555cb5b794f4e12a9897f3d46d5a72104cd4a7 already have revision, skipping fetch # git checkout -q -f -B kisskb eb555cb5b794f4e12a9897f3d46d5a72104cd4a7 # git clean -qxdf # < git log -1 # commit eb555cb5b794f4e12a9897f3d46d5a72104cd4a7 # Merge: f30adc0d332f 8f0541186e9a # Author: Linus Torvalds # Date: Mon Aug 8 20:15:13 2022 -0700 # # Merge tag '5.20-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbd # # Pull ksmbd updates from Steve French: # # - fixes for memory access bugs (out of bounds access, oops, leak) # # - multichannel fixes # # - session disconnect performance improvement, and session register # improvement # # - cleanup # # * tag '5.20-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbd: # ksmbd: fix heap-based overflow in set_ntacl_dacl() # ksmbd: prevent out of bound read for SMB2_TREE_CONNNECT # ksmbd: prevent out of bound read for SMB2_WRITE # ksmbd: fix use-after-free bug in smb2_tree_disconect # ksmbd: fix memory leak in smb2_handle_negotiate # ksmbd: fix racy issue while destroying session on multichannel # ksmbd: use wait_event instead of schedule_timeout() # ksmbd: fix kernel oops from idr_remove() # ksmbd: add channel rwlock # ksmbd: replace sessions list in connection with xarray # MAINTAINERS: ksmbd: add entry for documentation # ksmbd: remove unused ksmbd_share_configs_cleanup function # < /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 eb555cb5b794f4e12a9897f3d46d5a72104cd4a7 # < make -s -j 120 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 120 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 120 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:5930:warning: override: reassigning to symbol STANDALONE .config:5936:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 120 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- In file included from /kisskb/src/kernel/printk/printk.c:58: /kisskb/src/kernel/printk/printk.c: In function 'console_emit_next_record.constprop': /kisskb/src/kernel/printk/printk_ringbuffer.h:337:21: warning: array subscript 0 is outside array bounds of 'char[0]' [-Warray-bounds] 337 | r->text_buf = text_buf; | ~~~~~~~~~~~~^~~~~~~~~~ /kisskb/src/kernel/printk/printk.c:2770:21: note: while referencing 'text' 2770 | static char text[CONSOLE_LOG_MAX]; | ^~~~ /kisskb/src/drivers/gpu/drm/radeon/radeon_object.c: In function 'radeon_bo_create': /kisskb/src/drivers/gpu/drm/radeon/radeon_object.c:186:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp] 186 | #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \ | ^~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function 'amdgpu_bo_support_uswc': /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:494:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp] 494 | #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \ | ^~~~~~~ drivers/gpu/drm/vmwgfx/vmwgfx_msg.o: warning: objtool: vmw_port_hb_out+0x165: stack state mismatch: cfa1=5+16 cfa2=4+8 drivers/gpu/drm/vmwgfx/vmwgfx_msg.o: warning: objtool: vmw_port_hb_in+0x15d: stack state mismatch: cfa1=5+16 cfa2=4+8 vmlinux.o: warning: objtool: fixup_bad_iret+0x8a: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_debug+0x2d: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: noist_exc_debug+0x2d: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_nmi+0x39: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: poke_int3_handler+0x82: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x35: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: do_machine_check+0x62: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_machine_check+0x4f: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: noist_exc_machine_check+0x4d: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault+0x33: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_enter+0x3c: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_exit+0x3f: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode+0x52: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x59: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x52: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x52: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_exit_state+0x35: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_enter_state+0x37: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x39: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_enter+0x40: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_idle_exit+0x27: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_exit+0x4b: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_idle_enter+0x25: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: __ct_user_exit+0xb1: call to __kasan_check_write() leaves .noinstr.text section vmlinux.o: warning: objtool: __ct_user_enter+0x4b: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_nmi_enter+0x3c: call to ftrace_likely_update() leaves .noinstr.text section Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:04:12.675560