loop1: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in blkdev_open / queue_limits_commit_update read to 0xffff8881023d04c4 of 4 bytes by task 2997 on cpu 0: bdev_can_atomic_write include/linux/blkdev.h:1789 [inline] blkdev_open+0x161/0x290 block/fops.c:673 do_dentry_open+0x649/0xa20 fs/open.c:964 vfs_open+0x37/0x1e0 fs/open.c:1094 do_open fs/namei.c:3896 [inline] path_openat+0x1c5e/0x2170 fs/namei.c:4055 do_filp_open+0x109/0x230 fs/namei.c:4082 do_sys_openat2+0xa6/0x110 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1463 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+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffff8881023d0440 of 184 bytes by task 3634 on cpu 1: queue_limits_commit_update+0x4c/0x110 block/blk-settings.c:456 __loop_clr_fd drivers/block/loop.c:1130 [inline] lo_release+0x1e9/0x400 drivers/block/loop.c:1719 bdev_release+0x370/0x3d0 block/bdev.c:-1 blkdev_release+0x15/0x20 block/fops.c:684 __fput+0x29b/0x650 fs/file_table.c:465 fput_close_sync+0x6e/0x120 fs/file_table.c:570 __do_sys_close fs/open.c:1589 [inline] __se_sys_close fs/open.c:1574 [inline] __x64_sys_close+0x56/0xf0 fs/open.c:1574 x64_sys_call+0x2747/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:4 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 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3634 Comm: syz.1.44 Not tainted 6.16.0-rc6-syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ================================================================== loop1: detected capacity change from 0 to 1024 EXT4-fs (loop1): stripe (5) is not aligned with cluster size (16), stripe is disabled EXT4-fs (loop1): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. EXT4-fs warning (device loop1): ext4_expand_extra_isize_ea:2848: Unable to expand inode 12. Delete some EAs or run e2fsck. EXT4-fs error (device loop1): ext4_check_all_de:659: inode #12: block 7: comm syz.1.44: bad entry in directory: rec_len is too small for name_len - offset=16, inode=14, rec_len=40, size=124 fake=0 EXT4-fs (loop1): Remounting filesystem read-only