================================================================== BUG: KCSAN: data-race in bdev_statx / queue_limits_commit_update read to 0xffff888102428858 of 4 bytes by task 3623 on cpu 1: queue_io_min include/linux/blkdev.h:1387 [inline] bdev_io_min include/linux/blkdev.h:1392 [inline] bdev_statx+0x295/0x2d0 block/bdev.c:1342 vfs_getattr_nosec+0x1b6/0x1e0 fs/stat.c:227 vfs_getattr fs/stat.c:262 [inline] vfs_fstat fs/stat.c:281 [inline] __do_sys_newfstat fs/stat.c:555 [inline] __se_sys_newfstat+0x96/0x2e0 fs/stat.c:550 __x64_sys_newfstat+0x31/0x40 fs/stat.c:550 x64_sys_call+0x2768/0x3000 arch/x86/include/generated/asm/syscalls_64.h:6 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 0xffff888102428818 of 192 bytes by task 3992 on cpu 0: queue_limits_commit_update+0x4b/0x160 block/blk-settings.c:550 loop_configure+0x78c/0x9c0 drivers/block/loop.c:1066 lo_ioctl+0x1e1/0x12b0 drivers/block/loop.c:1536 blkdev_ioctl+0x356/0x440 block/ioctl.c:705 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xce/0x140 fs/ioctl.c:583 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:583 x64_sys_call+0x1816/0x3000 arch/x86/include/generated/asm/syscalls_64.h:17 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: 0 UID: 0 PID: 3992 Comm: syz.2.167 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ================================================================== loop2: detected capacity change from 0 to 164 syz.2.167: attempt to access beyond end of device loop2: rw=524288, sector=263328, nr_sectors = 4 limit=164