================================================================== BUG: KCSAN: data-race in unix_poll / unix_release_sock write to 0xffff8881425e82e0 of 4 bytes by task 2635 on cpu 0: unix_release_sock+0x3ff/0x780 net/unix/af_unix.c:633 unix_release+0x52/0x70 net/unix/af_unix.c:1042 __sock_release net/socket.c:653 [inline] sock_close+0x70/0x150 net/socket.c:1395 __fput+0x245/0x570 fs/file_table.c:321 ____fput+0x15/0x20 fs/file_table.c:349 task_work_run+0x123/0x160 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xcf/0xe0 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x6a/0xa0 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 0xffff8881425e82e0 of 4 bytes by task 2654 on cpu 1: unix_poll+0x71/0x250 net/unix/af_unix.c:3168 sock_poll+0x253/0x270 net/socket.c:1383 vfs_poll include/linux/poll.h:88 [inline] __io_arm_poll_handler+0x205/0xe30 io_uring/poll.c:600 io_arm_poll_handler+0x48b/0x5e0 io_uring/poll.c:735 io_queue_async+0x85/0x4a0 io_uring/io_uring.c:2057 io_queue_sqe io_uring/io_uring.c:2088 [inline] io_req_task_submit+0x11c/0x130 io_uring/io_uring.c:1425 handle_tw_list io_uring/io_uring.c:1184 [inline] tctx_task_work+0x1fe/0x4d0 io_uring/io_uring.c:1246 task_work_run+0x123/0x160 kernel/task_work.c:179 get_signal+0xe5c/0xfe0 kernel/signal.c:2635 arch_do_signal_or_restart+0x89/0x2b0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x6d/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6a/0xa0 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 value changed: 0x00000000 -> 0x00000068 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2654 Comm: syz-executor.0 Not tainted 6.3.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 ==================================================================