------------[ cut here ]------------ WARNING: CPU: 1 PID: 12609 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: 12609 Comm: syz-executor.7 Not tainted 5.10.233 #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 81 81 2e 00 0f 0b e9 97 fe ff ff 41 bc ea ff ff ff e9 77 ff ff ff e8 6a 81 2e 00 <0f> 0b 41 bc ea ff ff ff e9 65 ff ff ff 4c 89 ff e8 f5 78 5a 00 e9 RSP: 0018:ffff888047d17898 EFLAGS: 00010212 RAX: 0000000000011f27 RBX: ffff888019e3e400 RCX: ffffc900033f9000 RDX: 0000000000040000 RSI: ffffffff81123696 RDI: 0000000000000007 RBP: ffff888047d17950 R08: 0000000000000000 R09: ffff888047d17820 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000000000028 R13: 1ffff11008fa2f13 R14: 0000000000000000 R15: ffff888019e3e450 FS: 00007f1ba0faa700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555590100c58 CR3: 0000000047f2c000 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_file+0x5e/0xe0 mm/util.c:1080 __mmap_region mm/mmap.c:1805 [inline] mmap_region+0xc49/0x1500 mm/mmap.c:2945 do_mmap+0xcdb/0x11e0 mm/mmap.c:1582 vm_mmap_pgoff+0x198/0x1f0 mm/util.c:539 ksys_mmap_pgoff+0x41c/0x560 mm/mmap.c:1633 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f1ba3a34b62 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:00007f1ba0faa0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000008011 RCX: 00007f1ba3a34b62 RDX: 0000000000000003 RSI: 0000000000120140 RDI: 0000000020ffb000 RBP: 0000000020ffb000 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000100 R13: 0000000020ffe000 R14: 0000000020000000 R15: 0000000020ffb000 irq event stamp: 1303 hardirqs last enabled at (1313): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (1322): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (718): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (613): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 6365edec3a5b57c4 ]--- FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 12633 Comm: syz-executor.1 Tainted: G W 5.10.233 #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 prepare_alloc_pages mm/page_alloc.c:4941 [inline] __alloc_pages_nodemask+0x182/0x600 mm/page_alloc.c:4983 alloc_pages_current+0x187/0x280 mm/mempolicy.c:2266 alloc_pages include/linux/gfp.h:547 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:63 [inline] pte_alloc_one+0x16/0x1a0 arch/x86/mm/pgtable.c:33 __pte_alloc+0x1d/0x330 mm/memory.c:428 remap_pte_range mm/memory.c:2208 [inline] remap_pmd_range mm/memory.c:2241 [inline] remap_pud_range mm/memory.c:2263 [inline] remap_p4d_range mm/memory.c:2285 [inline] remap_pfn_range_internal+0x9a3/0xf60 mm/memory.c:2337 remap_pfn_range_notrack mm/memory.c:2353 [inline] remap_pfn_range+0xcd/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:1805 [inline] mmap_region+0xc49/0x1500 mm/mmap.c:2945 do_mmap+0xcdb/0x11e0 mm/mmap.c:1582 vm_mmap_pgoff+0x198/0x1f0 mm/util.c:539 ksys_mmap_pgoff+0x41c/0x560 mm/mmap.c:1633 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f0e6488ab62 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:00007f0e61e000f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000008011 RCX: 00007f0e6488ab62 RDX: 0000000000000003 RSI: 0000000000120140 RDI: 0000000020ffb000 RBP: 0000000020ffb000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000100 R13: 0000000020ffe000 R14: 0000000020000000 R15: 0000000020ffb000