================================================================== BUG: KCSAN: data-race in do_epoll_wait / ep_poll_callback write to 0xffff88813865bf68 of 4 bytes by task 3776 on cpu 0: ep_send_events fs/eventpoll.c:1708 [inline] ep_poll fs/eventpoll.c:1823 [inline] do_epoll_wait+0x86c/0xe90 fs/eventpoll.c:2258 do_epoll_pwait fs/eventpoll.c:2292 [inline] __do_sys_epoll_pwait fs/eventpoll.c:2305 [inline] __se_sys_epoll_pwait+0x15f/0x280 fs/eventpoll.c:2299 __x64_sys_epoll_pwait+0x78/0x90 fs/eventpoll.c:2299 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 read to 0xffff88813865bf68 of 4 bytes by task 3767 on cpu 1: ep_poll_callback+0x44e/0x530 fs/eventpoll.c:1215 __wake_up_common+0xb3/0x130 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up_sync_key+0x82/0xc0 kernel/sched/wait.c:208 unix_write_space+0xcd/0x140 net/unix/af_unix.c:538 sock_wfree+0x119/0x330 net/core/sock.c:2442 unix_destruct_scm+0x137/0x160 net/unix/scm.c:152 skb_release_head_state+0xb7/0x1a0 net/core/skbuff.c:953 skb_release_all net/core/skbuff.c:964 [inline] __kfree_skb+0x16/0x140 net/core/skbuff.c:980 kfree_skb_reason+0x9f/0x280 net/core/skbuff.c:1013 kfree_skb include/linux/skbuff.h:1225 [inline] unix_release_sock+0x63d/0x780 net/unix/af_unix.c:650 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 value changed: 0x6000001c -> 0x60000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3767 Comm: syz-executor.2 Not tainted 6.2.0-syzkaller-10443-g8cbd92339db0-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 ==================================================================