zap_pte_range mm/memory.c:1523 [inline] zap_pmd_range mm/memory.c:1572 [inline] zap_pud_range mm/memory.c:1601 [inline] zap_p4d_range mm/memory.c:1622 [inline] unmap_page_range+0x2037/0x25b0 mm/memory.c:1643 unmap_vmas+0x260/0x390 mm/memory.c:1728 exit_mmap+0x20d/0x970 mm/mmap.c:3293 __mmput+0x118/0x3a0 kernel/fork.c:1214 exit_mm+0x24d/0x350 kernel/exit.c:572 do_exit+0x958/0x2570 kernel/exit.c:874 do_group_exit+0x229/0x2e0 kernel/exit.c:1030 get_signal+0x1259/0x1340 kernel/signal.c:2884 arch_do_signal_or_restart+0xc4/0x1310 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:153! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5124 Comm: syz.2.262 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:filemap_unaccount_folio+0x559/0xa00 mm/filemap.c:153 Code: 07 38 c1 0f 8c 35 fe ff ff 4c 89 e7 e8 40 2a 28 00 e9 28 fe ff ff e8 96 c6 d6 ff 48 89 df 48 c7 c6 20 07 b5 8a e8 f7 11 12 00 <0f> 0b e8 80 c6 d6 ff 48 89 df 48 c7 c6 80 0c b5 8a e8 e1 11 12 00 RSP: 0018:ffffc900063f7660 EFLAGS: 00010046 RAX: 169ea9ccefd77900 RBX: ffffea00013b4580 RCX: 169ea9ccefd77900 RDX: 0000000000000002 RSI: ffffffff8aac2e40 RDI: ffffffff8afe72a0 RBP: ffffc900063f77b8 R08: ffffffff8f22416f R09: 1ffffffff1e4482d R10: dffffc0000000000 R11: fffffbfff1e4482e R12: ffff88807b166868 R13: ffffc900063f7700 R14: dffffc0000000000 R15: ffff88807b166868 FS: 0000555563b79500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c434549 CR3: 000000007b35a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __filemap_remove_folio+0xc1/0x900 mm/filemap.c:222 filemap_remove_folio+0xed/0x2c0 mm/filemap.c:255 truncate_inode_folio+0x59/0x70 mm/truncate.c:195 shmem_undo_range+0x554/0x21d0 mm/shmem.c:951 shmem_truncate_range mm/shmem.c:1071 [inline] shmem_evict_inode+0x225/0x9f0 mm/shmem.c:1180 evict+0x4b2/0x9d0 fs/inode.c:703 __dentry_kill+0x412/0x630 fs/dcache.c:611 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xfa/0x1d0 fs/dcache.c:918 __fput+0x597/0x8b0 fs/file_table.c:328 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb13e39f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc825e7138 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fb13e627da0 RCX: 00007fb13e39f559 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fb13e627da0 R08: 00007fb13e626038 R09: 0000000000000000 R10: 00000000003ffd48 R11: 0000000000000246 R12: 000000000001e41b R13: 00007fb13e62609c R14: 000000000001e154 R15: 00007fb13e626090 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_unaccount_folio+0x559/0xa00 mm/filemap.c:153 Code: 07 38 c1 0f 8c 35 fe ff ff 4c 89 e7 e8 40 2a 28 00 e9 28 fe ff ff e8 96 c6 d6 ff 48 89 df 48 c7 c6 20 07 b5 8a e8 f7 11 12 00 <0f> 0b e8 80 c6 d6 ff 48 89 df 48 c7 c6 80 0c b5 8a e8 e1 11 12 00 RSP: 0018:ffffc900063f7660 EFLAGS: 00010046 RAX: 169ea9ccefd77900 RBX: ffffea00013b4580 RCX: 169ea9ccefd77900 RDX: 0000000000000002 RSI: ffffffff8aac2e40 RDI: ffffffff8afe72a0 RBP: ffffc900063f77b8 R08: ffffffff8f22416f R09: 1ffffffff1e4482d R10: dffffc0000000000 R11: fffffbfff1e4482e R12: ffff88807b166868 R13: ffffc900063f7700 R14: dffffc0000000000 R15: ffff88807b166868 FS: 0000555563b79500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c434549 CR3: 000000007b35a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400