# git rev-parse -q --verify 37faf07bf90ace7c8e34c6b825dcfbb587d2e701^{commit} 37faf07bf90ace7c8e34c6b825dcfbb587d2e701 already have revision, skipping fetch # git checkout -q -f -B kisskb 37faf07bf90ace7c8e34c6b825dcfbb587d2e701 # git clean -qxdf # < git log -1 # commit 37faf07bf90ace7c8e34c6b825dcfbb587d2e701 # Merge: f707e40d0b51 33b235a6e6eb # Author: Linus Torvalds # Date: Sun Oct 8 10:10:52 2023 -0700 # # Merge tag '6.6-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd # # Pull smb server fixes from Steve French: # "Six SMB3 server fixes for various races found by RO0T Lab of Huawei: # # - Fix oops when racing between oplock break ack and freeing file # # - Simultaneous request fixes for parallel logoffs, and for parallel # lock requests # # - Fixes for tree disconnect race, session expire race, and close/open # race" # # * tag '6.6-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd: # ksmbd: fix race condition between tree conn lookup and disconnect # ksmbd: fix race condition from parallel smb2 lock requests # ksmbd: fix race condition from parallel smb2 logoff requests # ksmbd: fix uaf in smb20_oplock_break_ack # ksmbd: fix race condition with fp # ksmbd: fix race condition between session lookup and expire # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 37faf07bf90ace7c8e34c6b825dcfbb587d2e701 # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:545, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:32: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:990:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/printk.h:455:26: note: in expansion of macro 'printk_index_wrap' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:990:3: note: in expansion of macro 'printk' printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:00:58.833186