loop2: unable to read partition table ================================================================== BUG: KCSAN: data-race in blkdev_llseek / set_capacity_and_notify write to 0xffff8881023d6aa0 of 8 bytes by task 11117 on cpu 1: i_size_write include/linux/fs.h:886 [inline] set_capacity block/genhd.c:63 [inline] set_capacity_and_notify+0x9d/0x1d0 block/genhd.c:78 loop_set_size+0x2e/0x70 drivers/block/loop.c:237 loop_configure+0xb1b/0xc30 drivers/block/loop.c:1100 lo_ioctl+0x641/0x1290 blkdev_ioctl+0x20e/0x440 block/ioctl.c:614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881023d6aa0 of 8 bytes by task 2635 on cpu 0: i_size_read include/linux/fs.h:864 [inline] blkdev_llseek+0x4c/0x80 block/fops.c:438 vfs_llseek fs/read_write.c:289 [inline] ksys_lseek fs/read_write.c:302 [inline] __do_sys_lseek fs/read_write.c:313 [inline] __se_sys_lseek fs/read_write.c:311 [inline] __x64_sys_lseek+0xdf/0x140 fs/read_write.c:311 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000000 -> 0x0000000000001e00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2635 Comm: udevd Not tainted 6.0.0-rc3-syzkaller-00363-g7726d4c3e60b-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ================================================================== loop2: unable to read partition table blk_print_req_error: 62 callbacks suppressed I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 buffer_io_error: 57 callbacks suppressed Buffer I/O error on dev loop3, logical block 0, async page read loop3: unable to read partition table loop3: partition table beyond EOD, truncated I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 Buffer I/O error on dev loop3, logical block 0, async page read I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 Buffer I/O error on dev loop2, logical block 0, async page read loop4: unable to read partition table blk_print_req_error: 10 callbacks suppressed I/O error, dev loop2, sector 264064 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop3, sector 264064 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 buffer_io_error: 8 callbacks suppressed Buffer I/O error on dev loop3, logical block 0, async page read I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2