raw: 05ffd80000080015 ffff0000d1e12258 fffffc0003d532c8 ffff0000cee2af98 raw: 0000000000000000 0000000000000000 0000000400000000 ffff0000d1e10000 page dumped because: VM_BUG_ON_FOLIO(folio_mapped(folio)) ------------[ cut here ]------------ kernel BUG at mm/filemap.c:153! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5836 Comm: syz.3.449 Not tainted 6.1.135-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : filemap_unaccount_folio+0x464/0x50c mm/filemap.c:153 lr : filemap_unaccount_folio+0x464/0x50c mm/filemap.c:153 sp : ffff800020f27140 x29: ffff800020f27150 x28: ffff800020f274c0 x27: dfff800000000000 x26: ffff7000041e4e3c x25: 0000000000000001 x24: ffff800020f274c0 x23: ffff800020f27200 x22: ffff0000cee2af98 x21: fffffc0003e72ed8 x20: ffff0000cee2af98 x19: fffffc0003e72ec0 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082e7444 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff008000087ad614 x10: 0000000000000000 x9 : ffff8000087ad614 x8 : ffff0000daa61bc0 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020f26b78 x4 : ffff800015154740 x3 : ffff80000852ded4 x2 : 0000000000000001 x1 : 0000000100000002 x0 : 0000000000000039 Call trace: filemap_unaccount_folio+0x464/0x50c mm/filemap.c:153 __filemap_remove_folio+0xc0/0x4d4 mm/filemap.c:222 filemap_remove_folio+0xcc/0x1bc mm/filemap.c:255 truncate_inode_folio+0x6c/0x84 mm/truncate.c:195 shmem_undo_range+0x400/0x1610 mm/shmem.c:942 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x204/0x8a0 mm/shmem.c:1171 evict+0x3c8/0x810 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x764/0x7f4 fs/inode.c:1860 dentry_unlink_inode+0x360/0x438 fs/dcache.c:405 __dentry_kill+0x320/0x598 fs/dcache.c:611 dentry_kill+0xc8/0x248 fs/dcache.c:-1 dput+0x238/0x454 fs/dcache.c:918 __fput+0x480/0x7c0 fs/file_table.c:328 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x270 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x138 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: 9004a141 911c0021 aa1303e0 94037abd (d4210000) ---[ end trace 0000000000000000 ]---