loop3: detected capacity change from 0 to 160 EXT4-fs (loop3): failed to parse options in superblock:  ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff87082f9f of 1 bytes by task 4620 on cpu 1: number+0x8a7/0xbe0 lib/vsprintf.c:561 vsnprintf+0xa5e/0xe80 lib/vsprintf.c:2848 vscnprintf+0x3e/0x80 lib/vsprintf.c:2888 printk_sprint kernel/printk/printk.c:2092 [inline] vprintk_store+0x5f2/0xb50 kernel/printk/printk.c:2206 vprintk_emit+0xcc/0x430 kernel/printk/printk.c:2252 vprintk_default+0x22/0x30 kernel/printk/printk.c:2282 vprintk+0x7f/0x90 kernel/printk/printk_safe.c:50 _printk+0x76/0x96 kernel/printk/printk.c:2292 set_capacity_and_notify+0x176/0x1d0 block/genhd.c:90 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 0xffffffff87082f98 of 8 bytes by task 4625 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x10f/0x440 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbc/0x2b0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x897/0xbd0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x51c/0xb50 kernel/printk/printk.c:2196 vprintk_emit+0xcc/0x430 kernel/printk/printk.c:2252 vprintk_default+0x22/0x30 kernel/printk/printk.c:2282 vprintk+0x7f/0x90 kernel/printk/printk_safe.c:50 _printk+0x76/0x96 kernel/printk/printk.c:2292 __ext4_msg+0x174/0x180 fs/ext4/super.c:944 parse_apply_sb_mount_options+0x521/0x5c0 fs/ext4/super.c:2477 __ext4_fill_super fs/ext4/super.c:4565 [inline] ext4_fill_super+0x1477/0x5010 fs/ext4/super.c:5517 get_tree_bdev+0x2b4/0x3b0 fs/super.c:1323 ext4_get_tree+0x18/0x20 fs/ext4/super.c:5547 vfs_get_tree+0x49/0x190 fs/super.c:1530 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4ad/0xbb0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 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: 0x000000010000fe5b -> 0x00206d6f72662065 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4625 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 ================================================================== EXT4-fs (loop3): bad geometry: block count 128 exceeds size of device (40 blocks)