------------[ cut here ]------------ WARNING: CPU: 0 PID: 10232 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: 10232 Comm: syz-executor.5 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:ffff88804619f778 EFLAGS: 00010216 RAX: 000000000001fa7e RBX: ffff88801e3df300 RCX: ffffc9000222c000 RDX: 0000000000040000 RSI: ffffffff811243f6 RDI: 0000000000000007 RBP: ffff88804619f830 R08: 0000000000000000 R09: ffff88804619f700 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000000000028 R13: 1ffff11008c33eef R14: 0000000000000000 R15: ffff88801e3df350 FS: 00007f015f46e700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555678d7c58 CR3: 0000000033a08000 CR4: 0000000000350ef0 Call Trace: untrack_pfn+0xdc/0x240 arch/x86/mm/pat/memtype.c:1121 unmap_single_vma+0x1bc/0x300 mm/memory.c:1499 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3265 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 dup_mm kernel/fork.c:1396 [inline] copy_mm kernel/fork.c:1436 [inline] copy_process+0x6450/0x78b0 kernel/fork.c:2211 kernel_clone+0xe7/0x980 kernel/fork.c:2582 __do_sys_fork+0x8a/0xc0 kernel/fork.c:2645 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f0161ef8b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f015f46e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f016200bf60 RCX: 00007f0161ef8b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f015f46e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fffb1a4d5df R14: 00007f015f46e300 R15: 0000000000022000 irq event stamp: 2055 hardirqs last enabled at (2063): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (2072): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (1632): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1529): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 9c77444cbe24a53c ]--- FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 10355 Comm: syz-executor.5 Tainted: G W 5.10.244 #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:512 [inline] slab_alloc_node mm/slub.c:2826 [inline] slab_alloc mm/slub.c:2909 [inline] kmem_cache_alloc+0x5b/0x310 mm/slub.c:2914 ptlock_alloc+0x1d/0x70 mm/memory.c:5364 ptlock_init include/linux/mm.h:2207 [inline] pgtable_pte_page_ctor include/linux/mm.h:2234 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:66 [inline] pte_alloc_one+0x68/0x1a0 arch/x86/mm/pgtable.c:33 __pte_alloc+0x1d/0x330 mm/memory.c:428 copy_pte_range mm/memory.c:952 [inline] copy_pmd_range mm/memory.c:1070 [inline] copy_pud_range mm/memory.c:1107 [inline] copy_p4d_range mm/memory.c:1131 [inline] copy_page_range+0x1b62/0x3810 mm/memory.c:1204 dup_mmap kernel/fork.c:596 [inline] dup_mm kernel/fork.c:1380 [inline] copy_mm kernel/fork.c:1436 [inline] copy_process+0x7658/0x78b0 kernel/fork.c:2211 kernel_clone+0xe7/0x980 kernel/fork.c:2582 __do_sys_fork+0x8a/0xc0 kernel/fork.c:2645 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f0161ef8b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f015f46e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f016200bf60 RCX: 00007f0161ef8b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f015f46e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fffb1a4d5df R14: 00007f015f46e300 R15: 0000000000022000