================================================================== BUG: KCSAN: data-race in fsnotify_detach_mark / inotify_handle_inode_event write to 0xffff8881304a4404 of 4 bytes by task 20408 on cpu 1: fsnotify_detach_mark+0xba/0x160 fs/notify/mark.c:547 fsnotify_clear_marks_by_group+0x30c/0x4d0 fs/notify/mark.c:913 fsnotify_destroy_group+0x55/0x190 fs/notify/group.c:61 inotify_release+0x1f/0x30 fs/notify/inotify/inotify_user.c:308 __fput+0x2ac/0x640 fs/file_table.c:448 ____fput+0x1c/0x30 fs/file_table.c:476 task_work_run+0x13a/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] 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+0xa8/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881304a4404 of 4 bytes by task 20409 on cpu 0: inotify_handle_inode_event+0x2d8/0x320 fs/notify/inotify/inotify_fsnotify.c:132 fsnotify_handle_inode_event+0x1bd/0x220 fs/notify/fsnotify.c:316 fsnotify_handle_event fs/notify/fsnotify.c:345 [inline] send_to_group fs/notify/fsnotify.c:419 [inline] fsnotify+0x105a/0x1260 fs/notify/fsnotify.c:628 __fsnotify_parent+0x2aa/0x340 fs/notify/fsnotify.c:282 fsnotify_parent include/linux/fsnotify.h:96 [inline] fsnotify_path include/linux/fsnotify.h:113 [inline] fsnotify_file include/linux/fsnotify.h:127 [inline] fsnotify_open include/linux/fsnotify.h:445 [inline] vfs_open+0x1a0/0x1e0 fs/open.c:1092 do_open fs/namei.c:3830 [inline] path_openat+0x1ae0/0x1fc0 fs/namei.c:3989 do_filp_open+0x107/0x230 fs/namei.c:4016 do_sys_openat2+0xab/0x120 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_openat fs/open.c:1458 [inline] __se_sys_openat fs/open.c:1453 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1453 x64_sys_call+0x2b30/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000033 -> 0x00000030 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 20409 Comm: syz.5.5977 Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================