================================================================== BUG: KCSAN: data-race in sctp_association_free / sctp_wait_for_connect write to 0xffff888154983008 of 1 bytes by task 24927 on cpu 0: sctp_association_free+0x14c/0x580 net/sctp/associola.c:336 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:944 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1330 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline] sctp_do_sm+0x2b39/0x31b0 net/sctp/sm_sideeffect.c:1169 sctp_primitive_SHUTDOWN+0x75/0x90 net/sctp/primitive.c:89 sctp_close+0x26e/0x540 net/sctp/socket.c:1527 inet_release+0xc9/0xf0 net/ipv4/af_inet.c:427 __sock_release net/socket.c:654 [inline] sock_close+0x70/0x150 net/socket.c:1386 __fput+0x303/0x600 fs/file_table.c:378 ____fput+0x15/0x20 fs/file_table.c:406 task_work_run+0x135/0x1a0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd1/0xe0 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888154983008 of 1 bytes by task 24908 on cpu 1: sctp_wait_for_connect+0x178/0x350 net/sctp/socket.c:9330 sctp_sendmsg_to_asoc+0xbf6/0xc00 net/sctp/socket.c:1884 sctp_sendmsg+0x134e/0x1900 net/sctp/socket.c:2030 inet_sendmsg+0x63/0x80 net/ipv4/af_inet.c:830 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] __sys_sendto+0x257/0x310 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2142 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 24908 Comm: syz-executor.5 Not tainted 6.4.0-syzkaller-10096-gdfab92f27c60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 ==================================================================