================================================================== BUG: KCSAN: data-race in unix_poll / unix_release_sock write to 0xffff88810483b3e0 of 4 bytes by task 8892 on cpu 1: 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:651 [inline] sock_close+0x70/0x150 net/socket.c:1393 __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:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88810483b3e0 of 4 bytes by task 8898 on cpu 0: unix_poll+0x71/0x250 net/unix/af_unix.c:3162 sock_poll+0x253/0x270 net/socket.c:1381 vfs_poll include/linux/poll.h:88 [inline] __io_arm_poll_handler+0x205/0xe30 io_uring/poll.c:600 io_arm_poll_handler+0x44a/0x5a0 io_uring/poll.c:734 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:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296 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: 0 PID: 8898 Comm: syz-executor.3 Not tainted 6.3.0-rc1-syzkaller-00019-g6a98c9cae232 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 ==================================================================