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 5c 00 00 00 40 00 critical target error, dev sr0, sector 1929216 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2 INFO: task syz-executor.7:12891 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.7 state:D stack:27016 pid:12891 tgid:12873 ppid:280 task_flags:0x400140 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:0x7f6d117b1b19 RSP: 002b:00007f6d0ed06188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f6d118c5020 RCX: 00007f6d117b1b19 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f6d1180bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 1000000000000105 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc6127aeff R14: 00007f6d0ed06300 R15: 0000000000022000 INFO: task syz-executor.7:12891 blocked on an rw-semaphore likely owned by task syz-executor.7:12879 task:syz-executor.7 state:D stack:26568 pid:12879 tgid:12873 ppid:280 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:0x7f6d117b1b19 RSP: 002b:00007f6d0ed27188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f6d118c4f60 RCX: 00007f6d117b1b19 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f6d1180bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 1000000000000105 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc6127aeff R14: 00007f6d0ed27300 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: #0: ffff8880167a9278 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x2a8/0x380 2 locks held by agetty/6055: #0: ffff888047fc90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 #1: ffffc9000075f2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x423/0x14c0 2 locks held by syz-executor.7/12879: #0: ffff888009056cd8 (&sb->s_type->i_mutex_key#6){++++}-{4:4}, at: blkdev_fallocate+0x248/0x450 #1: ffff888009056e78 (mapping.invalidate_lock){++++}-{4:4}, at: blkdev_fallocate+0x279/0x450 1 lock held by syz-executor.7/12891: #0: ffff888009056cd8 (&sb->s_type->i_mutex_key#6){++++}-{4:4}, at: blkdev_fallocate+0x248/0x450 ============================================= scsi_io_completion_action: 232 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 96 40 00 00 40 00 blk_print_req_error: 232 callbacks suppressed critical target error, dev sr0, sector 1988864 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 96 80 00 00 40 00 critical target error, dev sr0, sector 1989120 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 96 c0 00 00 40 00 critical target error, dev sr0, sector 1989376 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 97 00 00 00 40 00 critical target error, dev sr0, sector 1989632 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 97 40 00 00 40 00 critical target error, dev sr0, sector 1989888 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 97 80 00 00 40 00 critical target error, dev sr0, sector 1990144 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 97 c0 00 00 40 00 critical target error, dev sr0, sector 1990400 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 98 00 00 00 40 00 critical target error, dev sr0, sector 1990656 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 98 40 00 00 40 00 critical target error, dev sr0, sector 1990912 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 98 80 00 00 40 00 critical target error, dev sr0, sector 1991168 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2 scsi_io_completion_action: 244 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 d5 c0 00 00 40 00 blk_print_req_error: 244 callbacks suppressed critical target error, dev sr0, sector 2053888 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 d6 00 00 00 40 00 critical target error, dev sr0, sector 2054144 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 d6 40 00 00 40 00 critical target error, dev sr0, sector 2054400 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 d6 80 00 00 40 00 critical target error, dev sr0, sector 2054656 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 d6 c0 00 00 40 00 critical target error, dev sr0, sector 2054912 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 d7 00 00 00 40 00 critical target error, dev sr0, sector 2055168 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 d7 40 00 00 40 00 critical target error, dev sr0, sector 2055424 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 d7 80 00 00 40 00 critical target error, dev sr0, sector 2055680 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 d7 c0 00 00 40 00 critical target error, dev sr0, sector 2055936 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 d8 00 00 00 40 00 critical target error, dev sr0, sector 2056192 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 2