================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_put_mark write to 0xffff888102663f2c of 4 bytes by task 9885 on cpu 0: fsnotify_detach_connector_from_object fs/notify/mark.c:184 [inline] fsnotify_put_mark+0x287/0x610 fs/notify/mark.c:250 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:795 [inline] __se_sys_inotify_rm_watch+0xff/0x170 fs/notify/inotify/inotify_user.c:769 __x64_sys_inotify_rm_watch+0x2d/0x40 fs/notify/inotify/inotify_user.c:769 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888102663f2c of 4 bytes by task 8453 on cpu 1: fsnotify+0x181/0x1190 fs/notify/fsnotify.c:505 __fsnotify_parent+0x2f3/0x430 fs/notify/fsnotify.c:232 fsnotify_parent include/linux/fsnotify.h:68 [inline] fsnotify_file include/linux/fsnotify.h:90 [inline] fsnotify_open include/linux/fsnotify.h:268 [inline] do_sys_openat2+0x1d9/0x240 fs/open.c:1177 do_sys_open fs/open.c:1188 [inline] __do_sys_open fs/open.c:1196 [inline] __se_sys_open fs/open.c:1192 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1192 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8453 Comm: syz-executor.0 Not tainted 5.11.0-rc3-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: 8453 Comm: syz-executor.0 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x116/0x15d lib/dump_stack.c:120 panic+0x1e7/0x5fa kernel/panic.c:231 kcsan_report+0x67b/0x680 kernel/kcsan/report.c:634 kcsan_setup_watchpoint+0x47b/0x4e0 kernel/kcsan/core.c:568 fsnotify+0x181/0x1190 fs/notify/fsnotify.c:505 __fsnotify_parent+0x2f3/0x430 fs/notify/fsnotify.c:232 fsnotify_parent include/linux/fsnotify.h:68 [inline] fsnotify_file include/linux/fsnotify.h:90 [inline] fsnotify_open include/linux/fsnotify.h:268 [inline] do_sys_openat2+0x1d9/0x240 fs/open.c:1177 do_sys_open fs/open.c:1188 [inline] __do_sys_open fs/open.c:1196 [inline] __se_sys_open fs/open.c:1192 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1192 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x417d11 Code: 75 14 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 19 00 00 c3 48 83 ec 08 e8 6a fa ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 b3 fa ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fffb81973a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fffb8197410 RCX: 0000000000417d11 RDX: 00007fffb819745a RSI: 0000000000000002 RDI: 00007fffb8197450 RBP: 00000000000e1546 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 00000000000013c2 R13: 0000000000000000 R14: 0000000000000032 R15: 00000000000e142a Kernel Offset: disabled Rebooting in 86400 seconds..