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 0 INFO: task syz-executor.5:5691 can't die for more than 143 seconds. task:syz-executor.5 state:D stack:26736 pid: 5691 ppid: 297 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x882/0x2190 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 io_schedule+0xea/0x160 kernel/sched/core.c:8414 blk_mq_get_tag+0x564/0xaa0 block/blk-mq-tag.c:158 __blk_mq_alloc_requests+0x53d/0xd90 block/blk-mq.c:490 blk_mq_get_new_requests block/blk-mq.c:2743 [inline] blk_mq_submit_bio+0x994/0x1f10 block/blk-mq.c:2819 __submit_bio+0x1df/0x250 block/blk-core.c:802 __submit_bio_noacct_mq block/blk-core.c:877 [inline] submit_bio_noacct block/blk-core.c:903 [inline] submit_bio_noacct+0x6c5/0x8a0 block/blk-core.c:892 blk_next_bio block/blk-lib.c:19 [inline] __blkdev_issue_zero_pages+0x270/0x570 block/blk-lib.c:319 blkdev_issue_zeroout+0x3d0/0x450 block/blk-lib.c:413 blkdev_fallocate+0x318/0x420 block/fops.c:662 vfs_fallocate+0x48f/0xe10 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc44c6a1b19 RSP: 002b:00007fc449c17188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fc44c7b4f60 RCX: 00007fc44c6a1b19 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007fc44c6fbf6d R08: 0000000000000000 R09: 0000000000000000 R10: 008000000040007d R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe889cad5f R14: 00007fc449c17300 R15: 0000000000022000 INFO: task syz-executor.2:5700 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:26888 pid: 5700 ppid: 289 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x882/0x2190 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x60b/0x1070 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 filemap_invalidate_lock include/linux/fs.h:822 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:652 vfs_fallocate+0x48f/0xe10 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4e6cc78b19 RSP: 002b:00007f4e6a1ee188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f4e6cd8bf60 RCX: 00007f4e6cc78b19 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f4e6ccd2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 008000000040007d R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc37bef96f R14: 00007f4e6a1ee300 R15: 0000000000022000 INFO: task syz-executor.2:5700 blocked for more than 143 seconds. Not tainted 5.16.0-rc6-next-20211224 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26888 pid: 5700 ppid: 289 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x882/0x2190 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x60b/0x1070 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 filemap_invalidate_lock include/linux/fs.h:822 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:652 vfs_fallocate+0x48f/0xe10 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4e6cc78b19 RSP: 002b:00007f4e6a1ee188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f4e6cd8bf60 RCX: 00007f4e6cc78b19 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f4e6ccd2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 008000000040007d R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc37bef96f R14: 00007f4e6a1ee300 R15: 0000000000022000 INFO: task syz-executor.2:5708 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:27168 pid: 5708 ppid: 289 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x882/0x2190 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x60b/0x1070 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 filemap_invalidate_lock include/linux/fs.h:822 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:652 vfs_fallocate+0x48f/0xe10 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4e6cc78b19 RSP: 002b:00007f4e6a1cd188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f4e6cd8c020 RCX: 00007f4e6cc78b19 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000005 RBP: 00007f4e6ccd2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 008000000040007d R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc37bef96f R14: 00007f4e6a1cd300 R15: 0000000000022000 INFO: task syz-executor.2:5708 blocked for more than 143 seconds. Not tainted 5.16.0-rc6-next-20211224 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27168 pid: 5708 ppid: 289 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x882/0x2190 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 rwsem_down_write_slowpath+0x60b/0x1070 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 filemap_invalidate_lock include/linux/fs.h:822 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:652 vfs_fallocate+0x48f/0xe10 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4e6cc78b19 RSP: 002b:00007f4e6a1cd188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f4e6cd8c020 RCX: 00007f4e6cc78b19 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000005 RBP: 00007f4e6ccd2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 008000000040007d R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc37bef96f R14: 00007f4e6a1cd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/24: #0: ffffffff85201e80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by in:imklog/187: 1 lock held by syz-executor.5/5691: #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:822 [inline] #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:652 1 lock held by syz-executor.2/5700: #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:822 [inline] #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:652 1 lock held by syz-executor.2/5708: #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:822 [inline] #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:652 1 lock held by syz-executor.3/6634: #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:822 [inline] #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:652 1 lock held by syz-executor.3/6635: #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:822 [inline] #0: ffff888007c81fb0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:652 ============================================= scsi_io_completion_action: 248 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 d6 80 00 00 40 00 blk_print_req_error: 248 callbacks suppressed critical target error, dev sr0, sector 2054656 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 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 0 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 0 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 0 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 0 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 0 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 0 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 40 00 00 40 00 critical target error, dev sr0, sector 2056448 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 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 80 00 00 40 00 critical target error, dev sr0, sector 2056704 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 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 c0 00 00 40 00 critical target error, dev sr0, sector 2056960 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer