__update_and_free_hugetlb_folio+0x1e3/0x420 mm/hugetlb.c:1649 update_and_free_hugetlb_folio+0xce/0x210 mm/hugetlb.c:1704 update_and_free_pages_bulk+0x712/0xab0 mm/hugetlb.c:1806 return_unused_surplus_pages+0x232/0x300 mm/hugetlb.c:2542 hugetlb_acct_memory.part.0+0x56a/0xd10 mm/hugetlb.c:5328 hugetlb_acct_memory mm/hugetlb.c:7448 [inline] hugetlb_unreserve_pages+0x226/0x290 mm/hugetlb.c:7446 remove_inode_hugepages+0xd4a/0xed0 fs/hugetlbfs/inode.c:604 hugetlbfs_evict_inode+0x90/0x250 fs/hugetlbfs/inode.c:614 evict+0x3e6/0x920 fs/inode.c:810 iput_final fs/inode.c:1897 [inline] iput fs/inode.c:1923 [inline] iput+0x521/0x880 fs/inode.c:1909 dentry_unlink_inode+0x29c/0x480 fs/dcache.c:466 __dentry_kill+0x1d0/0x600 fs/dcache.c:669 dput.part.0+0x4b1/0x9b0 fs/dcache.c:911 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:154! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 22817 Comm: syz.2.4454 Not tainted 6.16.0-syzkaller-11364-g3c4a063b1f8a #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:filemap_unaccount_folio+0xef/0x8c0 mm/filemap.c:154 Code: 67 26 c9 ff 89 ee 31 ff 4c 8d 6b 30 e8 9a 21 c9 ff 85 ed 7e 17 e8 51 26 c9 ff 48 c7 c6 00 1a b9 8b 48 89 df e8 e2 cd 11 00 90 <0f> 0b e8 3a 26 c9 ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0000:ffffc9000485f310 EFLAGS: 00010046 RAX: 0000000000080000 RBX: ffffea0001068000 RCX: ffffc90011ae8000 RDX: 0000000000080000 RSI: ffffffff81f2624e RDI: ffff888034cbccc4 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: fffffffffffcaab0 R12: ffff888144ea2590 R13: ffffea0001068030 R14: 00000000000001b0 R15: ffffea0001068000 FS: 00007f806095d6c0(0000) GS:ffff8881246c8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000009a1f0 CR3: 000000003bba1000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000004144 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __filemap_remove_folio mm/filemap.c:223 [inline] filemap_remove_folio+0xf1/0x250 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+0x74a/0xed0 fs/hugetlbfs/inode.c:593 hugetlbfs_punch_hole fs/hugetlbfs/inode.c:716 [inline] hugetlbfs_fallocate+0xf3f/0x12e0 fs/hugetlbfs/inode.c:742 vfs_fallocate+0x5b1/0x10e0 fs/open.c:342 madvise_remove mm/madvise.c:1048 [inline] madvise_vma_behavior+0x2839/0x2c50 mm/madvise.c:1277 madvise_walk_vmas+0x31f/0x9c0 mm/madvise.c:1600 madvise_do_behavior+0x1e2/0x530 mm/madvise.c:1816 do_madvise+0x176/0x240 mm/madvise.c:1909 __do_sys_madvise mm/madvise.c:1918 [inline] __se_sys_madvise mm/madvise.c:1916 [inline] __x64_sys_madvise+0xa9/0x110 mm/madvise.c:1916 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f805fb8eb69 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:00007f806095d038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f805fdb6320 RCX: 00007f805fb8eb69 RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000200000000000 RBP: 00007f805fc11df1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f805fdb6320 R15: 00007ffce6c4a848 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_unaccount_folio+0xef/0x8c0 mm/filemap.c:154 Code: 67 26 c9 ff 89 ee 31 ff 4c 8d 6b 30 e8 9a 21 c9 ff 85 ed 7e 17 e8 51 26 c9 ff 48 c7 c6 00 1a b9 8b 48 89 df e8 e2 cd 11 00 90 <0f> 0b e8 3a 26 c9 ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0000:ffffc9000485f310 EFLAGS: 00010046 RAX: 0000000000080000 RBX: ffffea0001068000 RCX: ffffc90011ae8000 RDX: 0000000000080000 RSI: ffffffff81f2624e RDI: ffff888034cbccc4 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: fffffffffffcaab0 R12: ffff888144ea2590 R13: ffffea0001068030 R14: 00000000000001b0 R15: ffffea0001068000 FS: 00007f806095d6c0(0000) GS:ffff8881246c8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000009a1f0 CR3: 000000003bba1000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000004144 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400