================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff888100cfe500 of 8 bytes by task 20912 on cpu 0: fasync_remove_entry+0xd9/0x180 fs/fcntl.c:894 fasync_helper+0x92/0xc0 fs/fcntl.c:993 pipe_fasync+0x8f/0x160 fs/pipe.c:730 __fput+0x49f/0x4e0 fs/file_table.c:277 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x49/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888100cfe500 of 8 bytes by task 20944 on cpu 1: kill_fasync+0x1e/0x160 fs/fcntl.c:1031 pipe_write+0x95a/0xca0 fs/pipe.c:581 call_write_iter include/linux/fs.h:2114 [inline] do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740 do_iter_write+0x112/0x4c0 fs/read_write.c:866 vfs_writev fs/read_write.c:939 [inline] do_writev+0x1e0/0x400 fs/read_write.c:982 __do_sys_writev fs/read_write.c:1055 [inline] __se_sys_writev fs/read_write.c:1052 [inline] __x64_sys_writev+0x41/0x50 fs/read_write.c:1052 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff888101dd0f30 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 20944 Comm: syz-executor.4 Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================