================================================================== BUG: KCSAN: data-race in sctp_association_free / sctp_wait_for_connect write to 0xffff888131091008 of 1 bytes by task 12442 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:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x38f/0x500 net/socket.c:2492 ___sys_sendmsg net/socket.c:2546 [inline] __sys_sendmmsg+0x27c/0x4a0 net/socket.c:2632 __do_sys_sendmmsg net/socket.c:2661 [inline] __se_sys_sendmmsg net/socket.c:2658 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2658 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+0x46/0xb0 read to 0xffff888131091008 of 1 bytes by task 12440 on cpu 1: sctp_wait_for_connect+0x177/0x360 net/sctp/socket.c:9303 __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:4610 sock_common_setsockopt+0x5d/0x70 net/core/sock.c:3581 __sys_setsockopt+0x212/0x2b0 net/socket.c:2259 __do_sys_setsockopt net/socket.c:2270 [inline] __se_sys_setsockopt net/socket.c:2267 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2267 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+0x46/0xb0 value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 12440 Comm: syz-executor.2 Not tainted 5.18.0-syzkaller-11080-g664a393a2663-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================