================================================================== BUG: KCSAN: data-race in __dentry_kill / lookup_fast read-write to 0xffff88813e36ea80 of 4 bytes by task 2210 on cpu 0: dentry_unlist fs/dcache.c:547 [inline] __dentry_kill+0x13f/0x450 fs/dcache.c:603 dentry_kill+0x8d/0x1e0 dput+0x11e/0x1f0 fs/dcache.c:913 do_unlinkat+0x288/0x510 fs/namei.c:4300 __do_sys_unlink fs/namei.c:4345 [inline] __se_sys_unlink fs/namei.c:4343 [inline] __x64_sys_unlink+0x2c/0x30 fs/namei.c:4343 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813e36ea80 of 4 bytes by task 1434 on cpu 1: d_revalidate fs/namei.c:855 [inline] lookup_fast+0xca/0x270 fs/namei.c:1634 walk_component+0x3f/0x230 fs/namei.c:1989 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x11d/0x2b0 fs/namei.c:2474 filename_lookup+0x133/0x310 fs/namei.c:2503 user_path_at_empty+0x3e/0x110 fs/namei.c:2876 do_readlinkat+0x98/0x210 fs/stat.c:468 __do_sys_readlink fs/stat.c:501 [inline] __se_sys_readlink fs/stat.c:498 [inline] __x64_sys_readlink+0x43/0x50 fs/stat.c:498 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00600008 -> 0x00008008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1434 Comm: udevd Not tainted 6.0.0-syzkaller-07362-g62e6e5940c0c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 ================================================================== ================================================================== BUG: KCSAN: data-race in __fsnotify_parent / fsnotify_detach_connector_from_object write to 0xffff888101ebd61c of 4 bytes by task 2210 on cpu 1: fsnotify_detach_connector_from_object+0x80/0x260 fs/notify/mark.c:253 fsnotify_put_mark+0x198/0x3b0 fs/notify/mark.c:316 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:820 [inline] __se_sys_inotify_rm_watch+0xff/0x170 fs/notify/inotify/inotify_user.c:794 __x64_sys_inotify_rm_watch+0x2d/0x40 fs/notify/inotify/inotify_user.c:794 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888101ebd61c of 4 bytes by task 1434 on cpu 0: fsnotify_event_needs_parent fs/notify/fsnotify.c:161 [inline] __fsnotify_parent+0x126/0x470 fs/notify/fsnotify.c:202 fsnotify_parent include/linux/fsnotify.h:77 [inline] fsnotify_file include/linux/fsnotify.h:99 [inline] fsnotify_close include/linux/fsnotify.h:341 [inline] __fput+0x4b0/0x570 fs/file_table.c:306 ____fput+0x11/0x20 fs/file_table.c:348 task_work_run+0x8e/0x110 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00002008 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1434 Comm: udevd Not tainted 6.0.0-syzkaller-07362-g62e6e5940c0c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 ==================================================================