R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000005 R14: 0000000020000070 R15: 0000000000000002 loop6: detected capacity change from 0 to 328 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8995 at drivers/scsi/scsi_lib.c:1024 scsi_alloc_sgtables+0x9aa/0xbb0 Modules linked in: CPU: 0 PID: 8995 Comm: syz-executor.1 Not tainted 5.18.0-rc2-next-20220414 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:scsi_alloc_sgtables+0x9aa/0xbb0 Code: 48 c1 e8 03 80 3c 10 00 0f 85 57 01 00 00 48 c7 c0 00 00 00 80 48 2b 05 b4 8f 38 02 48 89 04 24 e9 66 fd ff ff e8 66 50 8b fe <0f> 0b 41 bc 0a 00 00 00 e9 83 fa ff ff 41 bc 09 00 00 00 e9 78 fa RSP: 0018:ffff888040daf578 EFLAGS: 00010216 RAX: 00000000000004ab RBX: ffff88800b4ad108 RCX: ffffc90001600000 RDX: 0000000000040000 RSI: ffffffff82b8d5fa RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000000 R10: ffffffff82b8d58d R11: 0000000000000000 R12: ffff88800b4ad01c R13: ffff88800b50a000 R14: ffff88800b4ad000 R15: 0000000000000001 FS: 00007fbeff436700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffedc765e18 CR3: 000000000e594000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Call Trace: scsi_queue_rq+0x26dc/0x31f0 blk_mq_dispatch_rq_list+0x6c2/0x21d0 __blk_mq_sched_dispatch_requests+0x206/0x3e0 blk_mq_sched_dispatch_requests+0x101/0x180 __blk_mq_run_hw_queue+0xff/0x350 __blk_mq_delay_run_hw_queue+0x58a/0x670 blk_mq_run_hw_queue+0x321/0x4a0 blk_mq_sched_insert_request+0x2e5/0x3e0 blk_execute_rq+0xcc/0x340 sg_io+0x675/0xfe0 scsi_ioctl+0x52b/0x1540 sr_block_ioctl+0x1f0/0x240 FAT-fs (loop0): Directory bread(block 72) failed blkdev_ioctl+0x356/0x7f0 __x64_sys_ioctl+0x196/0x210 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fbf01ec0b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fbeff436188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbf01fd3f60 RCX: 00007fbf01ec0b19 RDX: 00000000200003c0 RSI: 0000000000002285 RDI: 0000000000000003 RBP: 00007fbf01f1af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 FAT-fs (loop0): Directory bread(block 73) failed R13: 00007fffda77a73f R14: 00007fbeff436300 R15: 0000000000022000 irq event stamp: 1705 hardirqs last enabled at (1713): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (1722): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (952): [] __irq_exit_rcu+0x113/0x170 softirqs last disabled at (915): [] __irq_exit_rcu+0x113/0x170 ---[ end trace 0000000000000000 ]--- FAT-fs (loop0): Directory bread(block 74) failed FAT-fs (loop0): Directory bread(block 75) failed FAT-fs (loop0): Directory bread(block 76) failed FAT-fs (loop0): Directory bread(block 77) failed FAT-fs (loop0): Directory bread(block 78) failed FAT-fs (loop0): Directory bread(block 79) failed FAT-fs (loop0): Directory bread(block 80) failed FAT-fs (loop0): Directory bread(block 81) failed FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9012 Comm: syz-executor.2 Tainted: G W 5.18.0-rc2-next-20220414 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 should_fail.cold+0x5/0xa should_failslab+0x5/0x10 kmem_cache_alloc+0x5b/0x480 create_object.isra.0+0x3a/0xa20 kmem_cache_alloc+0x239/0x480 getname_flags.part.0+0x50/0x4f0 getname+0x8e/0xd0 do_sys_openat2+0xf5/0x4c0 __x64_sys_openat+0x13f/0x1f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f410203ea04 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f40ff600ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f41020d5970 RCX: 00007f410203ea04 RDX: 0000000000000002 RSI: 00007f40ff601000 RDI: 00000000ffffff9c RBP: 00007f40ff601000 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000005 R14: 0000000020000070 R15: 0000000000000002 loop0: detected capacity change from 0 to 72 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9014 Comm: syz-executor.3 Tainted: G W 5.18.0-rc2-next-20220414 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 should_fail.cold+0x5/0xa should_failslab+0x5/0x10 kmem_cache_alloc+0x5b/0x480 create_object.isra.0+0x3a/0xa20 kmem_cache_alloc+0x239/0x480 getname_flags.part.0+0x50/0x4f0 getname+0x8e/0xd0 do_sys_openat2+0xf5/0x4c0 __x64_sys_openat+0x13f/0x1f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f01ead0ca04 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f01e82ceed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f01eada3970 RCX: 00007f01ead0ca04 RDX: 0000000000000002 RSI: 00007f01e82cf000 RDI: 00000000ffffff9c RBP: 00007f01e82cf000 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000005 R14: 0000000020000070 R15: 0000000000000002 FAT-fs (loop0): Directory bread(block 72) failed FAT-fs (loop0): Directory bread(block 73) failed FAT-fs (loop0): Directory bread(block 74) failed FAT-fs (loop0): Directory bread(block 75) failed FAT-fs (loop0): Directory bread(block 76) failed FAT-fs (loop0): Directory bread(block 77) failed FAT-fs (loop0): Directory bread(block 78) failed loop5: detected capacity change from 0 to 64 FAT-fs (loop0): Directory bread(block 79) failed FAT-fs (loop0): Directory bread(block 80) failed FAT-fs (loop0): Directory bread(block 81) failed FAT-fs (loop5): error, invalid access to FAT (entry 0x00fffff8) FAT-fs (loop5): Filesystem has been set read-only loop6: detected capacity change from 0 to 328 FAT-fs (loop6): error, corrupted directory (invalid entries) FAT-fs (loop6): Filesystem has been set read-only