reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433 release_pages+0x184b/0x1bb0 mm/swap.c:963 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x164/0x2e0 mm/mmu_gather.c:338 exit_mmap+0x3a6/0x5f0 mm/mmap.c:3218 __mmput+0x115/0x3b0 kernel/fork.c:1127 exit_mm+0x567/0x6c0 kernel/exit.c:550 do_exit+0x5a1/0x20a0 kernel/exit.c:870 do_group_exit+0x12e/0x300 kernel/exit.c:997 __do_sys_exit_group kernel/exit.c:1008 [inline] __se_sys_exit_group kernel/exit.c:1006 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1006 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:166! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4930 Comm: syz.6.161 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166 Code: e8 89 6f db ff 4c 89 f7 48 c7 c6 00 f5 12 8a e8 7a da 0d 00 0f 0b e8 73 6f db ff 4c 89 f7 48 c7 c6 40 f5 12 8a e8 64 da 0d 00 <0f> 0b 48 85 ed 75 59 e8 58 6f db ff eb 5d e8 51 6f db ff 4c 89 f7 RSP: 0018:ffffc90003147688 EFLAGS: 00010046 RAX: 4e2355f6757e9900 RBX: 0000000000000000 RCX: ffff88802b409dc0 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40003988b1 R08: dffffc0000000000 R09: ffffed1017204f2c R10: ffffed1017204f2c R11: 1ffff11017204f2b R12: ffffea0001cc4580 R13: dffffc0000000000 R14: ffffea0001cc4580 R15: ffffea0001cc4588 FS: 000055558e2ad500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 0000000063386000 CR4: 00000000003506f0 Call Trace: __delete_from_page_cache+0xbf/0x6b0 mm/filemap.c:231 delete_from_page_cache+0x121/0x190 mm/filemap.c:266 truncate_inode_page+0x8d/0xb0 mm/truncate.c:219 shmem_undo_range+0x4dc/0x1880 mm/shmem.c:960 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x20d/0xa00 mm/shmem.c:1145 evict+0x485/0x870 fs/inode.c:647 __dentry_kill+0x431/0x650 fs/dcache.c:586 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x5ee/0x930 fs/file_table.c:319 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7ff18ae45749 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:00007ffe2b14ff68 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000019fc2 RCX: 00007ff18ae45749 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ff18b09dda0 R08: 0000000000000001 R09: 000000092b15025f R10: 0000001b32320000 R11: 0000000000000246 R12: 00007ff18b09bfac R13: 00007ff18b09bfa0 R14: ffffffffffffffff R15: 00007ffe2b150080 Modules linked in: ---[ end trace 8a25519a64ed88b7 ]--- RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166 Code: e8 89 6f db ff 4c 89 f7 48 c7 c6 00 f5 12 8a e8 7a da 0d 00 0f 0b e8 73 6f db ff 4c 89 f7 48 c7 c6 40 f5 12 8a e8 64 da 0d 00 <0f> 0b 48 85 ed 75 59 e8 58 6f db ff eb 5d e8 51 6f db ff 4c 89 f7 RSP: 0018:ffffc90003147688 EFLAGS: 00010046 RAX: 4e2355f6757e9900 RBX: 0000000000000000 RCX: ffff88802b409dc0 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40003988b1 R08: dffffc0000000000 R09: ffffed1017204f2c R10: ffffed1017204f2c R11: 1ffff11017204f2b R12: ffffea0001cc4580 R13: dffffc0000000000 R14: ffffea0001cc4580 R15: ffffea0001cc4588 FS: 000055558e2ad500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 0000000063386000 CR4: 00000000003506f0