================================================================== BUG: KCSAN: data-race in sctp_association_free / sctp_wait_for_connect write to 0xffff88810beee008 of 1 bytes by task 18523 on cpu 1: sctp_association_free+0x14c/0x590 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+0x2afc/0x31a0 net/sctp/sm_sideeffect.c:1169 sctp_primitive_SHUTDOWN+0x75/0x90 net/sctp/primitive.c:89 sctp_close+0x26e/0x540 net/sctp/socket.c:1528 inet_release+0xce/0xf0 net/ipv4/af_inet.c:437 __sock_release net/socket.c:659 [inline] sock_close+0x68/0x150 net/socket.c:1421 __fput+0x192/0x6f0 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88810beee008 of 1 bytes by task 18524 on cpu 0: sctp_wait_for_connect+0x179/0x360 net/sctp/socket.c:9334 sctp_sendmsg_to_asoc+0xbca/0xbe0 net/sctp/socket.c:1885 sctp_sendmsg+0x136f/0x1920 net/sctp/socket.c:2031 inet_sendmsg+0xc5/0xd0 net/ipv4/af_inet.c:853 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x102/0x180 net/socket.c:745 __sys_sendto+0x1e5/0x260 net/socket.c:2192 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2200 x64_sys_call+0x16d7/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18524 Comm: syz.2.4250 Not tainted 6.10.0-rc7-syzkaller-00012-g34afb82a3c67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 ==================================================================