================================================================== BUG: KCSAN: data-race in sctp_association_free / sctp_wait_for_connect write to 0xffff88813c3e9008 of 1 bytes by task 24487 on cpu 0: sctp_association_free+0x148/0x5a0 net/sctp/associola.c:339 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:944 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1328 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x28b1/0x2ed0 net/sctp/sm_sideeffect.c:1170 sctp_primitive_ABORT+0x71/0x80 net/sctp/primitive.c:104 sctp_sendmsg_check_sflags+0x199/0x1d0 net/sctp/socket.c:1778 sctp_sendmsg+0x11c6/0x1840 net/sctp/socket.c:2018 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0x38f/0x500 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmmsg+0x27c/0x4a0 net/socket.c:2553 __do_sys_sendmmsg net/socket.c:2582 [inline] __se_sys_sendmmsg net/socket.c:2579 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2579 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813c3e9008 of 1 bytes by task 24469 on cpu 1: sctp_wait_for_connect+0x177/0x360 net/sctp/socket.c:9305 __sctp_connect+0x707/0x780 net/sctp/socket.c:1244 __sctp_setsockopt_connectx+0xa6/0xc0 net/sctp/socket.c:1333 sctp_setsockopt_connectx net/sctp/socket.c:1360 [inline] sctp_setsockopt+0x7d1/0xc60 net/sctp/socket.c:4611 sock_common_setsockopt+0x5d/0x70 net/core/sock.c:3505 __sys_setsockopt+0x212/0x2b0 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+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 24469 Comm: syz-executor.3 Tainted: G W 5.18.0-rc6-syzkaller-00153-g2fe1020d73ca-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================