================================================================== BUG: KCSAN: data-race in fsnotify_detach_mark / inotify_handle_inode_event write to 0xffff888156f4a8b4 of 4 bytes by task 15742 on cpu 1: fsnotify_detach_mark+0xba/0x160 fs/notify/mark.c:554 fsnotify_clear_marks_by_group+0x2f9/0x4b0 fs/notify/mark.c:921 fsnotify_destroy_group+0x53/0x180 fs/notify/group.c:61 inotify_release+0x1f/0x30 fs/notify/inotify/inotify_user.c:308 __fput+0x298/0x650 fs/file_table.c:465 ____fput+0x1c/0x30 fs/file_table.c:493 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work+0x6a/0x70 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x77/0xb0 kernel/entry/common.c:218 do_syscall_64+0xdd/0x1a0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888156f4a8b4 of 4 bytes by task 15744 on cpu 0: inotify_handle_inode_event+0x34e/0x3d0 fs/notify/inotify/inotify_fsnotify.c:132 fsnotify_handle_inode_event+0x1bd/0x220 fs/notify/fsnotify.c:321 fsnotify_handle_event fs/notify/fsnotify.c:376 [inline] send_to_group fs/notify/fsnotify.c:424 [inline] fsnotify+0x13c9/0x14b0 fs/notify/fsnotify.c:641 fsnotify_parent include/linux/fsnotify.h:99 [inline] fsnotify_path include/linux/fsnotify.h:113 [inline] fsnotify_file include/linux/fsnotify.h:127 [inline] fsnotify_open include/linux/fsnotify.h:471 [inline] vfs_open+0x1bc/0x1e0 fs/open.c:1093 do_open fs/namei.c:3880 [inline] path_openat+0x1c5e/0x2170 fs/namei.c:4039 do_filp_open+0x109/0x230 fs/namei.c:4066 do_sys_openat2+0xa6/0x110 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1455 x64_sys_call+0x1af/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000033 -> 0x00000030 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15744 Comm: syz.5.4278 Not tainted 6.15.0-rc5-syzkaller-00136-g9c69f8884904 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 ==================================================================