FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5104 Comm: syz.0.0 Not tainted 6.12.0-rc4-syzkaller-00085-g4e46774408d9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:53 [inline] should_fail_ex+0x3b0/0x4e0 lib/fault-inject.c:154 should_failslab+0xac/0x100 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4038 [inline] slab_alloc_node mm/slub.c:4114 [inline] kmem_cache_alloc_noprof+0x6c/0x2a0 mm/slub.c:4141 mt_alloc_one lib/maple_tree.c:162 [inline] mas_alloc_nodes+0x26c/0x840 lib/maple_tree.c:1241 mas_node_count_gfp lib/maple_tree.c:1321 [inline] mas_preallocate+0x554/0x8c0 lib/maple_tree.c:5546 vma_iter_prealloc mm/vma.h:432 [inline] mmap_region+0x1fd6/0x2a30 mm/mmap.c:1516 do_mmap+0x8f0/0x1000 mm/mmap.c:496 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1422d7e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1423b72038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f1422f35f80 RCX: 00007f1422d7e719 RDX: 0000000002000007 RSI: 0000000000c00000 RDI: 0000000020400000 RBP: 00007f1423b72090 R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000401d031 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f1422f35f80 R15: 00007ffec297f088 ------------[ cut here ]------------ kernel BUG at mm/huge_memory.c:2085! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5104 Comm: syz.0.0 Not tainted 6.12.0-rc4-syzkaller-00085-g4e46774408d9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:zap_huge_pmd+0x953/0xc40 mm/huge_memory.c:2085 Code: fe ff ff f3 0f 1e fa e8 ab 16 92 ff 48 89 df 4c 89 fe e8 50 ba 08 00 e9 2c f8 ff ff e8 96 16 92 ff 90 0f 0b e8 8e 16 92 ff 90 <0f> 0b e8 86 16 92 ff 4c 89 ef 48 c7 c6 20 65 17 8c e8 37 a2 dd ff RSP: 0018:ffffc9000ddef1e0 EFLAGS: 00010293 RAX: ffffffff8202c152 RBX: 000000000000001e RCX: ffff88801f750000 RDX: 0000000000000000 RSI: 000000000000001f RDI: 000000000000001a RBP: 000000000000001f R08: ffffffff8202bca6 R09: 1ffff11007a89906 R10: dffffc0000000000 R11: ffffed1007a89907 R12: 0000000000000000 R13: ffffc9000ddef750 R14: 0000000020e00000 R15: fffffffffffffa00 FS: 00007f1423b726c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1423a6d9b8 CR3: 000000003a73a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: zap_pmd_range mm/memory.c:1719 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x762/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 unmap_region+0x214/0x380 mm/vma.c:354 mmap_region+0x23fa/0x2a30 mm/mmap.c:1583 do_mmap+0x8f0/0x1000 mm/mmap.c:496 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1422d7e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1423b72038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f1422f35f80 RCX: 00007f1422d7e719 RDX: 0000000002000007 RSI: 0000000000c00000 RDI: 0000000020400000 RBP: 00007f1423b72090 R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000401d031 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f1422f35f80 R15: 00007ffec297f088 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:zap_huge_pmd+0x953/0xc40 mm/huge_memory.c:2085 Code: fe ff ff f3 0f 1e fa e8 ab 16 92 ff 48 89 df 4c 89 fe e8 50 ba 08 00 e9 2c f8 ff ff e8 96 16 92 ff 90 0f 0b e8 8e 16 92 ff 90 <0f> 0b e8 86 16 92 ff 4c 89 ef 48 c7 c6 20 65 17 8c e8 37 a2 dd ff RSP: 0018:ffffc9000ddef1e0 EFLAGS: 00010293 RAX: ffffffff8202c152 RBX: 000000000000001e RCX: ffff88801f750000 RDX: 0000000000000000 RSI: 000000000000001f RDI: 000000000000001a RBP: 000000000000001f R08: ffffffff8202bca6 R09: 1ffff11007a89906 R10: dffffc0000000000 R11: ffffed1007a89907 R12: 0000000000000000 R13: ffffc9000ddef750 R14: 0000000020e00000 R15: fffffffffffffa00 FS: 00007f1423b726c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1423a6d9b8 CR3: 000000003a73a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400