------------[ cut here ]------------ WARNING: CPU: 1 PID: 16890 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: 16890 Comm: syz-executor.3 Not tainted 5.10.238 #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 89 2e 00 0f 0b e9 97 fe ff ff 41 bc ea ff ff ff e9 77 ff ff ff e8 3a 89 2e 00 <0f> 0b 41 bc ea ff ff ff e9 65 ff ff ff 4c 89 ff e8 65 8f 5a 00 e9 RSP: 0018:ffff888049d1f778 EFLAGS: 00010206 RAX: 000000000001bab0 RBX: ffff88804c859300 RCX: ffffc90001823000 RDX: 0000000000040000 RSI: ffffffff81124696 RDI: 0000000000000007 RBP: ffff888049d1f830 R08: 0000000000000000 R09: ffff888049d1f700 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000000000028 R13: 1ffff110093a3eef R14: 0000000000000000 R15: ffff88804c859350 FS: 00007f5e53f95700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555564e8708 CR3: 000000004d59c000 CR4: 0000000000350ee0 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:3253 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 CPU: 0 PID: 16988 Comm: syz-executor.0 Not tainted 5.10.238 #1 dup_mm kernel/fork.c:1396 [inline] copy_mm kernel/fork.c:1436 [inline] copy_process+0x644c/0x78b0 kernel/fork.c:2211 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 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kernel_clone+0xe7/0x980 kernel/fork.c:2582 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x159/0x310 mm/slub.c:2909 __d_alloc+0x2a/0x990 fs/dcache.c:1714 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1843 alloc_file_pseudo+0xce/0x250 fs/file_table.c:226 __shmem_file_setup mm/shmem.c:4228 [inline] __shmem_file_setup+0x144/0x320 mm/shmem.c:4202 __do_sys_memfd_create+0x275/0x450 mm/memfd.c:323 __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:0x7f902932cb19 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:00007f90268a1f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f902932cb19 RDX: 0000000000017000 RSI: 0000000000000000 RDI: 00007f90293860fb RBP: 0000000000000002 R08: 000000000000b800 R09: ffffffffffffffff R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 R13: 0000000020000100 R14: 0000000008100000 R15: 0000000020000080 hpet: Lost 1 RTC interrupts entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f5e56a1fb19 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:00007f5e53f95188 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f5e56b32f60 RCX: 00007f5e56a1fb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f5e53f951d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fffa5a0e52f R14: 00007f5e53f95300 R15: 0000000000022000 irq event stamp: 2317 hardirqs last enabled at (2327): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (2336): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (1698): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1603): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 3f6413f764d787b6 ]--- loop0: detected capacity change from 0 to 135266304 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 17030 Comm: syz-executor.3 Tainted: G W 5.10.238 #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 ptlock_alloc+0x1d/0x70 mm/memory.c:5364 ptlock_init include/linux/mm.h:2196 [inline] pgtable_pte_page_ctor include/linux/mm.h:2223 [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+0x7654/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:0x7f5e56a1fb19 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:00007f5e53f95188 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f5e56b32f60 RCX: 00007f5e56a1fb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f5e53f951d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fffa5a0e52f R14: 00007f5e53f95300 R15: 0000000000022000