================================================================== BUG: KCSAN: data-race in smc_setsockopt / tcp_reset write to 0xffff88810393cba8 of 4 bytes by task 11104 on cpu 1: tcp_reset+0xaf/0x1b0 tcp_rcv_synsent_state_process+0x80c/0x14e0 net/ipv4/tcp_input.c:6156 tcp_rcv_state_process+0x16c/0x1250 net/ipv4/tcp_input.c:6420 tcp_v4_do_rcv+0x42c/0x590 net/ipv4/tcp_ipv4.c:1741 sk_backlog_rcv include/net/sock.h:1037 [inline] __release_sock+0xf2/0x270 net/core/sock.c:2774 release_sock+0x40/0x110 net/core/sock.c:3306 inet_stream_connect+0x58/0x70 net/ipv4/af_inet.c:725 kernel_connect+0x3e/0x50 net/socket.c:3441 smc_connect+0x331/0x500 net/smc/af_smc.c:1279 __sys_connect_file net/socket.c:1900 [inline] __sys_connect+0x197/0x1b0 net/socket.c:1917 __do_sys_connect net/socket.c:1927 [inline] __se_sys_connect net/socket.c:1924 [inline] __x64_sys_connect+0x3d/0x50 net/socket.c:1924 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88810393cba8 of 4 bytes by task 11107 on cpu 0: smc_setsockopt+0x11e/0x5b0 net/smc/af_smc.c:2451 __sys_setsockopt+0x209/0x2a0 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2188 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000 -> 0x0000006f Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11107 Comm: syz-executor.5 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================