================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object write to 0xffff88812a7b2eec of 4 bytes by task 18775 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 0xffff88812a7b2eec of 4 bytes by task 3952 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: 3952 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: 3952 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:0x7fcdfbbff840 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:00007ffe9f9b0d58 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffe9f9b0e20 RCX: 00007fcdfbbff840 RDX: 00005633737c1fe3 RSI: 00000000000a0800 RDI: 0000563374e35a50 RBP: 00007ffe9f9b1300 R08: 00005633737c1670 R09: 0000000000000010 R10: 0000000000000020 R11: 0000000000000246 R12: 00007ffe9f9b0f00 R13: 0000563374e15010 R14: 0000563374e2b680 R15: 00007ffe9f9b0dd0 Kernel Offset: disabled Rebooting in 86400 seconds..