================================================================== BUG: KCSAN: data-race in fsnotify_detach_mark / inotify_handle_inode_event write to 0xffff8881049c9c24 of 4 bytes by task 7035 on cpu 0: 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+0x29b/0x650 fs/file_table.c:468 ____fput+0x1c/0x30 fs/file_table.c:496 task_work_run+0x131/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xed/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881049c9c24 of 4 bytes by task 7036 on cpu 1: inotify_handle_inode_event+0x34e/0x3d0 fs/notify/inotify/inotify_fsnotify.c:132 fsnotify_handle_inode_event+0x1c0/0x220 fs/notify/fsnotify.c:321 fsnotify_handle_event fs/notify/fsnotify.c:350 [inline] send_to_group fs/notify/fsnotify.c:424 [inline] fsnotify+0x1296/0x14b0 fs/notify/fsnotify.c:641 __fsnotify_parent+0x29e/0x330 fs/notify/fsnotify.c:287 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:446 [inline] vfs_open+0x19c/0x1e0 fs/open.c:1104 do_open fs/namei.c:3975 [inline] path_openat+0x1c5e/0x2170 fs/namei.c:4134 do_filp_open+0x109/0x230 fs/namei.c:4161 do_sys_openat2+0xa6/0x110 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_open fs/open.c:1460 [inline] __se_sys_open fs/open.c:1456 [inline] __x64_sys_open+0xe6/0x110 fs/open.c:1456 x64_sys_call+0x1457/0x3000 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 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: 1 UID: 0 PID: 7036 Comm: syz.6.1128 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================