sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 01 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1024 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8091 at arch/x86/mm/pat/memtype.c:1019 get_pat_info+0x216/0x270 arch/x86/mm/pat/memtype.c:1019 Modules linked in: CPU: 0 PID: 8091 Comm: syz-executor.1 Not tainted 5.10.244 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:get_pat_info+0x216/0x270 arch/x86/mm/pat/memtype.c:1019 Code: c1 ea 03 80 3c 02 00 75 71 49 89 1e eb 8e e8 51 8e 2e 00 0f 0b e9 97 fe ff ff 41 bc ea ff ff ff e9 77 ff ff ff e8 3a 8e 2e 00 <0f> 0b 41 bc ea ff ff ff e9 65 ff ff ff 4c 89 ff e8 55 a5 5a 00 e9 RSP: 0018:ffff888046f6f890 EFLAGS: 00010216 RAX: 00000000000357c1 RBX: ffff888046931e00 RCX: ffffc90000bef000 RDX: 0000000000040000 RSI: ffffffff811243f6 RDI: 0000000000000007 RBP: ffff888046f6f948 R08: 0000000000000000 R09: ffff888046f6f818 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000000000028 R13: 1ffff11008dedf12 R14: 0000000000000000 R15: ffff888046931e50 FS: 00007f9c06128700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f74f45b56f4 CR3: 0000000046c34000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: untrack_pfn+0xdc/0x240 arch/x86/mm/pat/memtype.c:1121 unmap_single_vma+0x1bc/0x300 mm/memory.c:1499 zap_page_range_single+0x2ce/0x450 mm/memory.c:1603 remap_pfn_range_notrack mm/memory.c:2363 [inline] remap_pfn_range+0x139/0x160 mm/memory.c:2388 io_uring_mmap+0x398/0x530 io_uring/io_uring.c:9805 call_mmap include/linux/fs.h:2044 [inline] mmap_file+0x5e/0xe0 mm/util.c:1080 __mmap_region mm/mmap.c:1817 [inline] mmap_region+0xc4d/0x1500 mm/mmap.c:2957 do_mmap+0x868/0x1370 mm/mmap.c:1594 vm_mmap_pgoff+0x198/0x1f0 mm/util.c:539 ksys_mmap_pgoff+0x41c/0x560 mm/mmap.c:1645 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f9c08bb2b62 Code: 00 00 00 00 00 0f 1f 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 c7 c0 bc ff ff ff 64 RSP: 002b:00007f9c061280f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000008011 RCX: 00007f9c08bb2b62 RDX: 0000000000000003 RSI: 0000000000120140 RDI: 0000000020ffc000 RBP: 0000000020ffc000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 00000000200003c0 R13: 0000000020ffa000 R14: 0000000020000380 R15: 0000000020ffc000 irq event stamp: 1263 hardirqs last enabled at (1271): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (1280): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (736): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (685): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace ee45d9047dff342e ]--- sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 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 01 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1280 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 loop4: detected capacity change from 0 to 262144 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 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 01 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1536 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_SENSE 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 01 c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1792 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 0 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 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 02 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 2048 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_SENSE 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 02 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 2304 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 scsi_io_completion_action: 259 callbacks suppressed sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 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 43 40 00 00 40 00 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 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 43 80 00 00 40 00 print_req_error: 260 callbacks suppressed blk_update_request: critical target error, dev sr0, sector 69120 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_SENSE 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 43 c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 69376 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_SENSE 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 44 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 69632 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_SENSE 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 44 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 69888 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_SENSE 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 44 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 70144 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_SENSE 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 44 c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 70400 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_SENSE 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 45 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 70656 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_SENSE 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 45 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 70912 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_SENSE 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 45 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 71168 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 blk_update_request: critical target error, dev sr0, sector 71424 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 0