debug_vm_pgtable+0x39f/0x3b0 mm/debug_vm_pgtable.c:1340 do_one_initcall+0x233/0x820 init/main.c:1269 do_initcall_level+0x104/0x190 init/main.c:1331 do_initcalls+0x59/0xa0 init/main.c:1347 kernel_init_freeable+0x334/0x4b0 init/main.c:1579 kernel_init+0x1d/0x1d0 init/main.c:1469 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:154! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 7094 Comm: syz.2.223 Not tainted 6.17.0-rc1-syzkaller-00029-g91325f31afc1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:filemap_unaccount_folio+0x715/0x790 mm/filemap.c:154 Code: a6 c9 ff 48 89 df 48 c7 c6 20 3c 94 8b e8 63 f6 31 ff 90 0f 0b e8 fb a5 c9 ff 48 89 df 48 c7 c6 00 3b 94 8b e8 4c f6 31 ff 90 <0f> 0b e8 e4 a5 c9 ff 48 89 df 48 c7 c6 20 3c 94 8b e8 35 f6 31 ff RSP: 0018:ffffc90003bbee20 EFLAGS: 00010046 RAX: 3cd112829e66ac00 RBX: ffffea0001ee0000 RCX: 3cd112829e66ac00 RDX: 0000000000000005 RSI: ffffffff8dba5fd1 RDI: ffff888027708000 RBP: 0000000000000001 R08: ffff8880b8624253 R09: 1ffff110170c484a R10: dffffc0000000000 R11: ffffed10170c484b R12: 0000000000000040 R13: 1ffffd40003dc000 R14: 1ffffd40003dc001 R15: ffffea0001ee0008 FS: 00007efff3e286c0(0000) GS:ffff888125c1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000008d5c0 CR3: 000000007bcc4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 00000000ffff000b DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __filemap_remove_folio+0xc3/0x500 mm/filemap.c:223 filemap_remove_folio+0xe6/0x1f0 mm/filemap.c:253 hugetlb_delete_from_page_cache fs/hugetlbfs/inode.c:331 [inline] remove_inode_single_folio fs/hugetlbfs/inode.c:536 [inline] remove_inode_hugepages+0x594/0x1100 fs/hugetlbfs/inode.c:593 hugetlbfs_punch_hole fs/hugetlbfs/inode.c:716 [inline] hugetlbfs_fallocate+0xbc7/0x1100 fs/hugetlbfs/inode.c:742 vfs_fallocate+0x669/0x7e0 fs/open.c:342 madvise_remove mm/madvise.c:1049 [inline] madvise_vma_behavior+0x3254/0x3af0 mm/madvise.c:1346 madvise_walk_vmas+0x51c/0xa30 mm/madvise.c:1669 madvise_do_behavior+0x38e/0x550 mm/madvise.c:1885 do_madvise+0x1bc/0x270 mm/madvise.c:1978 __do_sys_madvise mm/madvise.c:1987 [inline] __se_sys_madvise mm/madvise.c:1985 [inline] __x64_sys_madvise+0xa7/0xc0 mm/madvise.c:1985 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efff2f8ebe9 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:00007efff3e28038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007efff31b6450 RCX: 00007efff2f8ebe9 RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000200000000000 RBP: 00007efff3011e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efff31b64e8 R14: 00007efff31b6450 R15: 00007efff32dfa28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_unaccount_folio+0x715/0x790 mm/filemap.c:154 Code: a6 c9 ff 48 89 df 48 c7 c6 20 3c 94 8b e8 63 f6 31 ff 90 0f 0b e8 fb a5 c9 ff 48 89 df 48 c7 c6 00 3b 94 8b e8 4c f6 31 ff 90 <0f> 0b e8 e4 a5 c9 ff 48 89 df 48 c7 c6 20 3c 94 8b e8 35 f6 31 ff RSP: 0018:ffffc90003bbee20 EFLAGS: 00010046 RAX: 3cd112829e66ac00 RBX: ffffea0001ee0000 RCX: 3cd112829e66ac00 RDX: 0000000000000005 RSI: ffffffff8dba5fd1 RDI: ffff888027708000 RBP: 0000000000000001 R08: ffff8880b8624253 R09: 1ffff110170c484a R10: dffffc0000000000 R11: ffffed10170c484b R12: 0000000000000040 R13: 1ffffd40003dc000 R14: 1ffffd40003dc001 R15: ffffea0001ee0008 FS: 00007efff3e286c0(0000) GS:ffff888125c1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000008d5c0 CR3: 000000007bcc4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 00000000ffff000b DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400