------------[ cut here ]------------ WARNING: CPU: 1 PID: 42862 at arch/x86/mm/pat/memtype.c:1019 get_pat_info+0x216/0x270 arch/x86/mm/pat/memtype.c:1019 Modules linked in: CPU: 1 PID: 42862 Comm: syz-executor.7 Not tainted 5.10.230 #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 01 88 2e 00 0f 0b e9 97 fe ff ff 41 bc ea ff ff ff e9 77 ff ff ff e8 ea 87 2e 00 <0f> 0b 41 bc ea ff ff ff e9 65 ff ff ff 4c 89 ff e8 b5 7d 5a 00 e9 RSP: 0018:ffff8880571f78b0 EFLAGS: 00010212 RAX: 000000000001efd1 RBX: ffff888056f93800 RCX: ffffc900007fb000 RDX: 0000000000040000 RSI: ffffffff81123696 RDI: 0000000000000007 RBP: ffff8880571f7968 R08: 0000000000000000 R09: ffff8880571f7838 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000000000028 R13: 1ffff1100ae3ef16 R14: 0000000000000000 R15: ffff888056f93850 FS: 00007f58fbd78700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8d1b8639c8 CR3: 0000000056b1a000 CR4: 0000000000350ee0 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_region+0xb5a/0x1590 mm/mmap.c:1811 do_mmap+0xcdb/0x11e0 mm/mmap.c:1583 vm_mmap_pgoff+0x198/0x1f0 mm/util.c:539 ksys_mmap_pgoff+0x41c/0x560 mm/mmap.c:1634 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f58fe802b62 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:00007f58fbd780f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000008011 RCX: 00007f58fe802b62 RDX: 0000000000000003 RSI: 0000000000120140 RDI: 0000000020ffb000 RBP: 0000000020ffb000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000400 R13: 0000000020ffb000 R14: 00000000200001c0 R15: 0000000020ffb000 irq event stamp: 1493 hardirqs last enabled at (1503): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (1716): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (2038): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1725): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 07404bd7bda463e7 ]--- FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 43186 Comm: syz-executor.7 Tainted: G W 5.10.230 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x167 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x20 mm/slab_common.c:1200 slab_pre_alloc_hook mm/slab.h:515 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x5b/0x310 mm/slub.c:2909 anon_vma_chain_alloc mm/rmap.c:137 [inline] anon_vma_clone+0xdc/0x590 mm/rmap.c:283 __split_vma+0x17c/0x570 mm/mmap.c:2770 __do_munmap+0x365/0x1260 mm/mmap.c:2871 do_munmap mm/mmap.c:2934 [inline] munmap_vma_range mm/mmap.c:600 [inline] mmap_region+0x776/0x1590 mm/mmap.c:1756 do_mmap+0xcdb/0x11e0 mm/mmap.c:1583 vm_mmap_pgoff+0x198/0x1f0 mm/util.c:539 ksys_mmap_pgoff+0x41c/0x560 mm/mmap.c:1634 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f58fe802b62 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:00007f58fbd780f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000008011 RCX: 00007f58fe802b62 RDX: 0000000000000003 RSI: 0000000000120140 RDI: 0000000020ffb000 RBP: 0000000020ffb000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000400 R13: 0000000020ffb000 R14: 00000000200001c0 R15: 0000000020ffb000 sr 1:0:0:0: [sr0] tag#0 unaligned transfer print_req_error: 6 callbacks suppressed blk_update_request: I/O error, dev sr0, sector 2096896 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 2096897 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 2096898 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 blk_update_request: I/O error, dev loop4, sector 2096896 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Buffer I/O error on dev loop4, logical block 2096896, async page read blk_update_request: I/O error, dev loop4, sector 2096897 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Buffer I/O error on dev loop4, logical block 2096897, async page read blk_update_request: I/O error, dev loop4, sector 2096898 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Buffer I/O error on dev loop4, logical block 2096898, async page read sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 2096899 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 2096900 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 2096901 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 2096902 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 sr 1:0:0:0: [sr0] tag#0 unaligned transfer Buffer I/O error on dev loop4, logical block 2096899, async page read Buffer I/O error on dev loop4, logical block 2096900, async page read Buffer I/O error on dev loop4, logical block 2096901, async page read Buffer I/O error on dev loop4, logical block 2096902, async page read Buffer I/O error on dev loop4, logical block 2096903, async page read