------------[ cut here ]------------ WARNING: kernel/printk/printk_ringbuffer.c:1278 at get_data+0x364/0x400, CPU#1: syz-executor.3/7732 Modules linked in: CPU: 1 UID: 0 PID: 7732 Comm: syz-executor.3 Not tainted 6.18.0-rc4-next-20251103 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:get_data+0x364/0x400 Code: e8 83 e0 07 83 c0 03 38 d0 0f 8c be fe ff ff 84 d2 0f 84 b6 fe ff ff 48 89 ef e8 c7 ed 5b 00 e9 a9 fe ff ff e8 cd f1 1e 00 90 <0f> 0b 90 45 31 e4 e9 3b ff ff ff e8 bc f1 1e 00 90 0f 0b 90 45 31 RSP: 0018:ffff88801718f0a8 EFLAGS: 00010212 RAX: 000000000000216c RBX: ffff88801718f1c0 RCX: ffffc90005801000 RDX: 0000000000040000 RSI: ffffffff81558d53 RDI: 0000000000000006 RBP: ffff88801718f188 R08: 0000000000001055 R09: 000000d585140e31 R10: 0000000000000000 R11: 00001e34c2000030 R12: ffffffff85d2e130 R13: 00003fffffffffff R14: 0000000000000000 R15: 0000000000000000 FS: 00007f4d0f52e700(0000) GS:ffff8880e54a8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020004080 CR3: 000000001dec9000 CR4: 0000000000350ef0 Call Trace: _prb_read_valid+0x2f3/0x830 prb_read_valid+0x78/0xa0 printk_get_next_message+0x10b/0x570 console_flush_one_record+0x64f/0xb20 __console_flush_and_unlock+0xb1/0x1d0 vprintk_emit+0x4c1/0x690 _printk+0xbe/0xf0 set_capacity_and_notify+0x16a/0x240 loop_configure+0xcbd/0x15a0 lo_ioctl+0x66d/0x1ca0 blkdev_ioctl+0x365/0x6d0 __x64_sys_ioctl+0x18f/0x210 do_syscall_64+0xbf/0x3f0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4d11fb88d7 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4d0f52df48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4d12002970 RCX: 00007f4d11fb88d7 RDX: 0000000000000003 RSI: 0000000000004c00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000003 R14: 0000000020004060 R15: 0000000000000004 irq event stamp: 5055 hardirqs last enabled at (5061): [] vprintk_emit+0x650/0x690 hardirqs last disabled at (5078): [] vprintk_emit+0x5e1/0x690 softirqs last enabled at (5074): [] handle_softirqs+0x50c/0x770 softirqs last disabled at (5065): [] __irq_exit_rcu+0xc4/0x100 ---[ end trace 0000000000000000 ]--- loop1: detected capacity change from 0 to 64 loop7: detected capacity change from 0 to 14 loop0: detected capacity change from 0 to 14 EXT4-fs (loop0): VFS: Can't find ext4 filesystem EXT4-fs (loop1): VFS: Can't find ext4 filesystem loop0: detected capacity change from 0 to 264192 loop2: detected capacity change from 0 to 64 loop0: detected capacity change from 0 to 264192 EXT4-fs (loop7): VFS: Can't find ext4 filesystem loop4: detected capacity change from 0 to 64 EXT4-fs (loop2): VFS: Can't find ext4 filesystem EXT4-fs (loop4): VFS: Can't find ext4 filesystem loop7: detected capacity change from 0 to 264192 loop4: detected capacity change from 0 to 264192 loop6: detected capacity change from 0 to 64 EXT4-fs (loop6): VFS: Can't find ext4 filesystem loop6: detected capacity change from 0 to 264192 loop6: detected capacity change from 0 to 264192 loop6: detected capacity change from 0 to 264192 loop5: detected capacity change from 0 to 64 EXT4-fs (loop5): VFS: Can't find ext4 filesystem loop5: detected capacity change from 0 to 264192 loop5: detected capacity change from 0 to 264192 loop5: detected capacity change from 0 to 264192 loop0: detected capacity change from 0 to 14 EXT4-fs (loop0): VFS: Can't find ext4 filesystem loop0: detected capacity change from 0 to 264192 loop0: detected capacity change from 0 to 264192 loop7: detected capacity change from 0 to 14 loop3: detected capacity change from 0 to 64 EXT4-fs (loop3): VFS: Can't find ext4 filesystem EXT4-fs (loop7): VFS: Can't find ext4 filesystem loop4: detected capacity change from 0 to 64 EXT4-fs (loop4): VFS: Can't find ext4 filesystem loop7: detected capacity change from 0 to 264192 loop4: detected capacity change from 0 to 264192 loop3: detected capacity change from 0 to 264192 loop2: detected capacity change from 0 to 64 loop3: detected capacity change from 0 to 264192 loop0: detected capacity change from 0 to 14 loop3: detected capacity change from 0 to 264192 EXT4-fs (loop2): VFS: Can't find ext4 filesystem loop6: detected capacity change from 0 to 64 loop5: detected capacity change from 0 to 64 loop1: detected capacity change from 0 to 64 EXT4-fs (loop0): VFS: Can't find ext4 filesystem loop2: detected capacity change from 0 to 264192 EXT4-fs (loop5): VFS: Can't find ext4 filesystem EXT4-fs (loop1): VFS: Can't find ext4 filesystem EXT4-fs (loop6): VFS: Can't find ext4 filesystem loop0: detected capacity change from 0 to 264192 loop2: detected capacity change from 0 to 264192 loop5: detected capacity change from 0 to 264192 loop1: detected capacity change from 0 to 264192 loop6: detected capacity change from 0 to 264192 loop6: detected capacity change from 0 to 264192 loop0: detected capacity change from 0 to 264192 EXT4-fs (loop7): unable to read superblock loop4: detected capacity change from 0 to 64 loop5: detected capacity change from 0 to 264192 EXT4-fs (loop4): VFS: Can't find ext4 filesystem loop2: detected capacity change from 0 to 264192 loop7: detected capacity change from 0 to 264192 loop4: detected capacity change from 0 to 264192 loop6: detected capacity change from 0 to 264192 loop5: detected capacity change from 0 to 264192