critical target error, dev sr0, sector 2009856 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 2010112 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 2010368 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
INFO: task syz-executor.4:22423 blocked for more than 143 seconds.
Not tainted 6.17.0-next-20251003 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25832 pid:22423 tgid:22363 ppid:7082 task_flags:0x400040 flags:0x00080002
Call Trace:
__schedule+0xe7e/0x3580
schedule+0xdb/0x390
schedule_preempt_disabled+0x10/0x20
rwsem_down_write_slowpath+0x3c1/0x1330
down_write+0x1c2/0x1f0
blkdev_fallocate+0x248/0x450
vfs_fallocate+0x3fb/0xd60
__x64_sys_fallocate+0xd6/0x150
do_syscall_64+0xbf/0x390
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f07ce6b9b19
RSP: 002b:00007f07cbbed188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f07ce7cd0e0 RCX: 00007f07ce6b9b19
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003
RBP: 00007f07ce713f6d R08: 0000000000000000 R09: 0000000000000000
R10: 1000000000000105 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed893d82f R14: 00007f07cbbed300 R15: 0000000000022000
INFO: task syz-executor.4:22423 blocked on an rw-semaphore likely owned by task syz-executor.4:22372
task:syz-executor.4 state:D stack:26568 pid:22372 tgid:22363 ppid:7082 task_flags:0x400140 flags:0x00080003
Call Trace:
__schedule+0xe7e/0x3580
schedule+0xdb/0x390
io_schedule+0xbf/0x130
blk_mq_get_tag+0x568/0xaa0
__blk_mq_alloc_requests+0x6ed/0x15a0
blk_mq_submit_bio+0x17c3/0x2430
__submit_bio+0x17f/0x5b0
submit_bio_noacct_nocheck+0x552/0xb60
submit_bio_noacct+0x35b/0x1350
bio_chain_and_submit+0x2f/0x40
__blkdev_issue_zero_pages+0x2ee/0x630
blkdev_issue_zeroout+0x540/0x800
blkdev_fallocate+0x387/0x450
vfs_fallocate+0x3fb/0xd60
__x64_sys_fallocate+0xd6/0x150
do_syscall_64+0xbf/0x390
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f07ce6b9b19
RSP: 002b:00007f07cbc2f188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f07ce7ccf60 RCX: 00007f07ce6b9b19
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004
RBP: 00007f07ce713f6d R08: 0000000000000000 R09: 0000000000000000
R10: 1000000000000105 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed893d82f R14: 00007f07cbc2f300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/32:
#0: ffffffff85e1d9a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0
1 lock held by in:imklog/176:
2 locks held by syz-executor.4/22372:
#0: ffff88800b926198 (&sb->s_type->i_mutex_key#6){++++}-{4:4}, at: blkdev_fallocate+0x248/0x450
#1: ffff88800b926338 (mapping.invalidate_lock){++++}-{4:4}, at: blkdev_fallocate+0x279/0x450
1 lock held by syz-executor.4/22423:
#0: ffff88800b926198 (&sb->s_type->i_mutex_key#6){++++}-{4:4}, at: blkdev_fallocate+0x248/0x450
=============================================
scsi_io_completion_action: 238 callbacks suppressed
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e6 80 00 00 40 00
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e6 c0 00 00 40 00
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e7 00 00 00 40 00
blk_print_req_error: 238 callbacks suppressed
critical target error, dev sr0, sector 2071552 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e7 40 00 00 40 00
critical target error, dev sr0, sector 2071808 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e7 80 00 00 40 00
critical target error, dev sr0, sector 2072064 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e7 c0 00 00 40 00
critical target error, dev sr0, sector 2072320 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e8 00 00 00 40 00
critical target error, dev sr0, sector 2072576 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e8 40 00 00 40 00
critical target error, dev sr0, sector 2072832 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e8 80 00 00 40 00
critical target error, dev sr0, sector 2073088 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 e8 c0 00 00 40 00
critical target error, dev sr0, sector 2073344 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 2073600 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 2073856 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
scsi_io_completion_action: 242 callbacks suppressed
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 25 c0 00 00 40 00
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 26 00 00 00 40 00
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 26 40 00 00 40 00
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 26 80 00 00 40 00
blk_print_req_error: 244 callbacks suppressed
critical target error, dev sr0, sector 39424 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 26 c0 00 00 40 00
critical target error, dev sr0, sector 39680 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 27 00 00 00 40 00
critical target error, dev sr0, sector 39936 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 27 40 00 00 40 00
critical target error, dev sr0, sector 40192 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 27 80 00 00 40 00
critical target error, dev sr0, sector 40448 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 27 c0 00 00 40 00
critical target error, dev sr0, sector 40704 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 2
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 : Illegal Request [current]
sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code
sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 28 00 00 00 40 00
critical target error, dev sr0, sector 40960 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 41216 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 41472 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2
critical target error, dev sr0, sector 41728 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2