loop3: detected capacity change from 0 to 512 ================================================================== BUG: KCSAN: data-race in data_push_tail / string write to 0xffffffff86ee1630 of 1 bytes by task 15655 on cpu 1: string_nocheck lib/vsprintf.c:650 [inline] string+0x16c/0x200 lib/vsprintf.c:728 vsnprintf+0xa09/0xe20 lib/vsprintf.c:2819 va_format lib/vsprintf.c:1683 [inline] pointer+0x8a1/0xd10 lib/vsprintf.c:2450 vsnprintf+0x861/0xe20 lib/vsprintf.c:2823 vscnprintf+0x42/0x80 lib/vsprintf.c:2925 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2124 vprintk_store+0x56f/0x800 kernel/printk/printk.c:2238 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 __ext4_msg+0x130/0x1a0 fs/ext4/super.c:1008 ext4_parse_param+0x8cd/0xf80 fs/ext4/super.c:2206 vfs_parse_fs_param+0x136/0x290 fs/fs_context.c:146 vfs_parse_fs_string fs/fs_context.c:188 [inline] vfs_parse_monolithic_sep fs/fs_context.c:230 [inline] generic_parse_monolithic+0x165/0x1d0 fs/fs_context.c:258 parse_monolithic_mount_data+0x42/0x50 fs/fs_context.c:719 do_new_mount+0x1d6/0x660 fs/namespace.c:3333 path_mount+0x496/0xb30 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff86ee1630 of 8 bytes by task 15658 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x893/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2228 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 set_capacity_and_notify+0x11d/0x170 block/genhd.c:86 loop_set_size+0x2e/0x70 drivers/block/loop.c:237 loop_configure+0xaf9/0xca0 drivers/block/loop.c:1100 lo_ioctl+0x682/0x12e0 blkdev_ioctl+0x375/0x460 block/ioctl.c:633 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000100036011 -> 0x6f6e6f6974706f20 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 15658 Comm: syz-executor.3 Not tainted 6.6.0-syzkaller-15156-g13d88ac54ddd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 ================================================================== EXT4-fs: Ignoring removed mblk_io_submit option EXT4-fs (loop3): 1 truncate cleaned up