loop5: detected capacity change from 0 to 184
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4549 at drivers/scsi/scsi_lib.c:1024 scsi_alloc_sgtables+0x9aa/0xbb0
Modules linked in:
CPU: 0 PID: 4549 Comm: syz-executor.3 Not tainted 5.19.0-rc4-next-20220704 #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 74 e9 34 02 48 89 04 24 e9 66 fd ff ff e8 06 b8 86 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:ffff88801b0bf578 EFLAGS: 00010212
RAX: 00000000000004e4 RBX: ffff88800f30c108 RCX: ffffc900027e3000
RDX: 0000000000040000 RSI: ffffffff82be3d9a RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800f30c01c
R13: ffff88800f206000 R14: ffff88800f30c000 R15: 0000000000000001
FS: 00007fe3a5c68700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2df21000 CR3: 000000001b356000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Call Trace:
scsi_queue_rq+0x26c9/0x31e0
blk_mq_dispatch_rq_list+0x6c2/0x21d0
__blk_mq_sched_dispatch_requests+0x206/0x3e0
blk_mq_sched_dispatch_requests+0x106/0x190
__blk_mq_run_hw_queue+0xff/0x350
__blk_mq_delay_run_hw_queue+0x465/0x670
blk_mq_run_hw_queue+0x33b/0x490
blk_mq_sched_insert_request+0x2e5/0x3e0
blk_execute_rq+0x16d/0x4b0
sg_io+0x675/0xfe0
scsi_ioctl+0x52b/0x1540
sr_block_ioctl+0x1f0/0x240
blkdev_ioctl+0x356/0x7f0
__x64_sys_ioctl+0x196/0x210
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x46/0xb0
loop5: detected capacity change from 0 to 16383
RIP: 0033:0x7fe3a86f2b19
=======================================================
WARNING: The mand mount option has been deprecated and
and is ignored by this kernel. Remove the mand
option from the mount to silence this warning.
=======================================================
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:00007fe3a5c68188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe3a8805f60 RCX: 00007fe3a86f2b19
RDX: 0000000020000300 RSI: 0000000000002285 RDI: 0000000000000003
RBP: 00007fe3a874cf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcfefc516f R14: 00007fe3a5c68300 R15: 0000000000022000
irq event stamp: 1143
hardirqs last enabled at (1153): [] __up_console_sem+0x78/0x80
hardirqs last disabled at (1166): [] __up_console_sem+0x5d/0x80
softirqs last enabled at (1026): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (995): [] __irq_exit_rcu+0x113/0x170
---[ end trace 0000000000000000 ]---
nfs4: Unknown parameter 'iso9660'
blk_print_req_error: 70 callbacks suppressed
I/O error, dev loop5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
buffer_io_error: 86 callbacks suppressed
Buffer I/O error on dev loop5, logical block 0, async page read
loop5: unable to read partition table
loop5: partition table beyond EOD, truncated
loop5: detected capacity change from 0 to 184
I/O error, dev loop5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev loop5, logical block 0, async page read
sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
sr 1:0:0:0: [sr0] tag#0 Sense Key : Not Ready [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Medium not present
sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 40 00
I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 30 prio class 2
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 0, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 1, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 2, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 3, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 4, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 5, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
I/O error, dev sr0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sr0, logical block 6, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
Buffer I/O error on dev sr0, logical block 7, async page read
----------------
Code disassembly (best guess), 1 bytes skipped:
0: ff c3 inc %ebx
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 40 00 nopl 0x0(%rax)
10: 48 89 f8 mov %rdi,%rax
13: 48 89 f7 mov %rsi,%rdi
16: 48 89 d6 mov %rdx,%rsi
19: 48 89 ca mov %rcx,%rdx
1c: 4d 89 c2 mov %r8,%r10
1f: 4d 89 c8 mov %r9,%r8
22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
27: 0f 05 syscall
* 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
2f: 73 01 jae 0x32
31: c3 retq
32: 48 c7 c1 bc ff ff ff mov $0xffffffffffffffbc,%rcx
39: f7 d8 neg %eax
3b: 64 89 01 mov %eax,%fs:(%rcx)
3e: 48 rex.W