================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object write to 0xffff88812ab00c1c of 4 bytes by task 12235 on cpu 0: fsnotify_detach_connector_from_object+0xa8/0x1f0 fs/notify/mark.c:184 fsnotify_put_mark+0x340/0x420 fs/notify/mark.c:250 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:790 [inline] __se_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:762 [inline] __x64_sys_inotify_rm_watch+0xcf/0x120 fs/notify/inotify/inotify_user.c:762 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812ab00c1c of 4 bytes by task 5278 on cpu 1: fsnotify+0x195/0x830 fs/notify/fsnotify.c:346 fsnotify_file include/linux/fsnotify.h:78 [inline] fsnotify_open include/linux/fsnotify.h:270 [inline] do_sys_openat2+0x641/0x680 fs/open.c:1153 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1170 [inline] __se_sys_open fs/open.c:1168 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1168 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5278 Comm: systemd-udevd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 5278 Comm: systemd-udevd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x11d/0x187 lib/dump_stack.c:118 panic+0x210/0x640 kernel/panic.c:221 kcsan_report.cold+0xc/0x1a kernel/kcsan/report.c:626 kcsan_setup_watchpoint+0x3fb/0x440 kernel/kcsan/core.c:519 fsnotify+0x195/0x830 fs/notify/fsnotify.c:346 fsnotify_file include/linux/fsnotify.h:78 [inline] fsnotify_open include/linux/fsnotify.h:270 [inline] do_sys_openat2+0x641/0x680 fs/open.c:1153 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1170 [inline] __se_sys_open fs/open.c:1168 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1168 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f9a3afae840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fffd29ec7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fffd29ec8b0 RCX: 00007f9a3afae840 RDX: 000055860465cfe3 RSI: 00000000000a0800 RDI: 0000558604c2a010 RBP: 00007fffd29ecd00 R08: 000055860465c670 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd29ec9a0 R13: 0000558604c25010 R14: 0000558604c2a460 R15: 00007fffd29ec870 Kernel Offset: disabled Rebooting in 86400 seconds..