raw: 05ffd80000080015 fffffc0003d9e848 fffffc0003e09b48 ffff0000c3df2f98 raw: 0000000000000000 0000000000000000 0000000400000000 ffff0000cf374000 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: 0 PID: 6842 Comm: syz.0.671 Tainted: G W 6.1.121-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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 : ffff800021b67140 x29: ffff800021b67150 x28: 0000000000000000 x27: ffff800021b67488 x26: dfff800000000000 x25: dfff800000000000 x24: 1fffe000187be5f3 x23: ffff0000c3df2f98 x22: ffff800021b67220 x21: ffff70000436ce40 x20: ffff0000c3df2f98 x19: fffffc0003e09b00 x18: ffff800021b66600 x17: 0000000000000000 x16: ffff800012279d40 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008836e54 x8 : ffff0000cc4b3780 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021b669b8 x4 : ffff800015b731e0 x3 : ffff800008349eb4 x2 : 0000000000000001 x1 : 0000000100000002 x0 : 0000000000000039 Call trace: filemap_unaccount_folio+0x464/0x50c mm/filemap.c:153 __filemap_remove_folio+0xc4/0x604 mm/filemap.c:222 filemap_remove_folio+0xd4/0x1cc mm/filemap.c:255 truncate_inode_folio+0x6c/0x84 mm/truncate.c:195 shmem_undo_range+0x428/0x16b8 mm/shmem.c:942 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x200/0x8a8 mm/shmem.c:1171 evict+0x418/0x894 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x7c0/0x8a4 fs/inode.c:1860 dentry_unlink_inode+0x37c/0x4bc fs/dcache.c:405 __dentry_kill+0x324/0x5e4 fs/dcache.c:611 dentry_kill+0xc8/0x250 dput+0x218/0x454 fs/dcache.c:918 __fput+0x488/0x7c8 fs/file_table.c:328 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x240/0x2f0 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x554/0x1a88 kernel/exit.c:871 __do_sys_exit kernel/exit.c:988 [inline] __se_sys_exit kernel/exit.c:986 [inline] do_group_exit+0x0/0x22c kernel/exit.c:986 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 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: b004ee01 91260021 aa1303e0 9403c4fe (d4210000) ---[ end trace 0000000000000000 ]---