loop6: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in fsnotify_detach_mark / fsnotify_handle_inode_event write to 0xffff88810424c1d4 of 4 bytes by task 8479 on cpu 1: fsnotify_detach_mark+0xba/0x160 fs/notify/mark.c:547 fsnotify_destroy_mark+0x6e/0x140 fs/notify/mark.c:589 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:805 [inline] __se_sys_inotify_rm_watch+0xea/0x170 fs/notify/inotify/inotify_user.c:786 __x64_sys_inotify_rm_watch+0x31/0x40 fs/notify/inotify/inotify_user.c:786 x64_sys_call+0x25e0/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:256 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 read to 0xffff88810424c1d4 of 4 bytes by task 14748 on cpu 0: fsnotify_handle_inode_event+0xf6/0x1f0 fs/notify/fsnotify.c:290 fsnotify_handle_event fs/notify/fsnotify.c:353 [inline] send_to_group fs/notify/fsnotify.c:401 [inline] fsnotify+0x10ae/0x1190 fs/notify/fsnotify.c:610 __fsnotify_parent+0x285/0x380 fs/notify/fsnotify.c:264 fsnotify_parent include/linux/fsnotify.h:96 [inline] fsnotify_file include/linux/fsnotify.h:131 [inline] fsnotify_close include/linux/fsnotify.h:412 [inline] __fput+0x5a5/0x6d0 fs/file_table.c:436 __fput_sync+0x96/0xc0 fs/file_table.c:535 __do_sys_close fs/open.c:1554 [inline] __se_sys_close+0x109/0x1b0 fs/open.c:1539 __x64_sys_close+0x1f/0x30 fs/open.c:1539 x64_sys_call+0x266c/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:4 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: 0x00000003 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 14748 Comm: syz.6.3350 Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ================================================================== EXT4-fs (loop6): orphan cleanup on readonly fs EXT4-fs warning (device loop6): ext4_enable_quotas:7156: Failed to enable quota tracking (type=2, err=-22, ino=15). Please run e2fsck to fix. EXT4-fs (loop6): Cannot turn on quotas: error -22 EXT4-fs error (device loop6): ext4_ext_check_inode:524: inode #13: comm syz.6.3350: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop6): ext4_orphan_get:1394: comm syz.6.3350: couldn't read orphan inode 13 (err -117) EXT4-fs (loop6): warning: mounting fs with errors, running e2fsck is recommended EXT4-fs warning (device loop6): read_mmp_block:115: Error -117 while reading MMP block 2