================================================================== BUG: KCSAN: data-race in __fput / kernfs_refresh_inode read to 0xffff888125087000 of 2 bytes by task 23927 on cpu 0: fsnotify_close include/linux/fsnotify.h:286 [inline] __fput+0xca/0x520 fs/file_table.c:266 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888125087000 of 2 bytes by task 28429 on cpu 1: kernfs_refresh_inode+0x42/0x140 fs/kernfs/inode.c:172 kernfs_iop_permission+0x66/0xa0 fs/kernfs/inode.c:283 do_inode_permission fs/namei.c:384 [inline] inode_permission+0x241/0x370 fs/namei.c:449 may_open.isra.0+0x144/0x250 fs/namei.c:2980 do_last fs/namei.c:3416 [inline] path_openat+0xf31/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28429 Comm: udevd Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================