sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 07 0d 80 00 00 40 00 critical target error, dev sr0, sector 1848832 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2 critical target error, dev sr0, sector 1849088 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 2 INFO: task syz-executor.1:4924 blocked for more than 143 seconds. Not tainted 6.17.0-next-20251002 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26704 pid:4924 tgid:4918 ppid:280 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:0x7f172a8cbb19 RSP: 002b:00007f1727e20188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f172a9df020 RCX: 00007f172a8cbb19 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f172a925f6d R08: 0000000000000000 R09: 0000000000000000 R10: 1000000000000105 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeabdeef7f R14: 00007f1727e20300 R15: 0000000000022000 INFO: task syz-executor.1:4924 blocked on an rw-semaphore likely owned by task syz-executor.1:4919 task:syz-executor.1 state:D stack:26568 pid:4919 tgid:4918 ppid:280 task_flags:0x400040 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:0x7f172a8cbb19 RSP: 002b:00007f1727e41188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f172a9def60 RCX: 00007f172a8cbb19 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f172a925f6d R08: 0000000000000000 R09: 0000000000000000 R10: 1000000000000105 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeabdeef7f R14: 00007f1727e41300 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 2 locks held by in:imklog/174: 2 locks held by kworker/1:2H/4429: #0: ffff888009800948 ((wq_completion)kblockd){+.+.}-{0:0}, at: process_one_work+0x1240/0x19c0 #1: ffff88800f337d30 ((work_completion)(&q->timeout_work)){+.+.}-{0:0}, at: process_one_work+0x857/0x19c0 2 locks held by syz-executor.1/4919: #0: ffff888009051e18 (&sb->s_type->i_mutex_key#6){++++}-{4:4}, at: blkdev_fallocate+0x248/0x450 #1: ffff888009051fb8 (mapping.invalidate_lock){++++}-{4:4}, at: blkdev_fallocate+0x279/0x450 1 lock held by syz-executor.1/4924: #0: ffff888009051e18 (&sb->s_type->i_mutex_key#6){++++}-{4:4}, at: blkdev_fallocate+0x248/0x450 ============================================= scsi_io_completion_action: 241 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 4a 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 07 4a 40 00 00 40 00 blk_print_req_error: 241 callbacks suppressed critical target error, dev sr0, sector 1911040 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 4a 80 00 00 40 00 critical target error, dev sr0, sector 1911296 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 4a c0 00 00 40 00 critical target error, dev sr0, sector 1911552 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 4b 00 00 00 40 00 critical target error, dev sr0, sector 1911808 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 4b 40 00 00 40 00 critical target error, dev sr0, sector 1912064 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 4b 80 00 00 40 00 critical target error, dev sr0, sector 1912320 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 4b c0 00 00 40 00 critical target error, dev sr0, sector 1912576 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 4c 00 00 00 40 00 critical target error, dev sr0, sector 1912832 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 4c 40 00 00 40 00 critical target error, dev sr0, sector 1913088 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2 critical target error, dev sr0, sector 1913344 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2 scsi_io_completion_action: 259 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 8d 40 00 00 40 00 blk_print_req_error: 258 callbacks suppressed critical target error, dev sr0, sector 1979648 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 8d 80 00 00 40 00 critical target error, dev sr0, sector 1979904 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 8d c0 00 00 40 00 critical target error, dev sr0, sector 1980160 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 8e 00 00 00 40 00 critical target error, dev sr0, sector 1980416 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 8e 40 00 00 40 00 critical target error, dev sr0, sector 1980672 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 8e 80 00 00 40 00 critical target error, dev sr0, sector 1980928 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 8e c0 00 00 40 00 critical target error, dev sr0, sector 1981184 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 8f 00 00 00 40 00 critical target error, dev sr0, sector 1981440 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 8f 40 00 00 40 00 critical target error, dev sr0, sector 1981696 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 8f 80 00 00 40 00 critical target error, dev sr0, sector 1981952 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2