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 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 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 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:166! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6666 Comm: syz.4.510 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:ffffc900033cf228 EFLAGS: 00010046 RAX: 3315b68821f1fa00 RBX: 0000000000000000 RCX: ffff888028b85940 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40002da681 R08: dffffc0000000000 R09: ffffed1017224f2c R10: ffffed1017224f2c R11: 1ffff11017224f2b R12: ffffea00016d3400 R13: dffffc0000000000 R14: ffffea00016d3400 R15: ffffea00016d3408 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa748665000 CR3: 00000000632e5000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x61e/0x20a0 kernel/exit.c:883 do_group_exit+0x12e/0x300 kernel/exit.c:997 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 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:0x7fc4d3668749 Code: Unable to access opcode bytes at RIP 0x7fc4d366871f. RSP: 002b:00007fc4d18cf0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fc4d38befa8 RCX: 00007fc4d3668749 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc4d38befa8 RBP: 00007fc4d38befa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc4d38bf038 R14: 00007fff23cde790 R15: 00007fff23cde878 Modules linked in: ---[ end trace f7aa809234e95eb2 ]--- 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:ffffc900033cf228 EFLAGS: 00010046 RAX: 3315b68821f1fa00 RBX: 0000000000000000 RCX: ffff888028b85940 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40002da681 R08: dffffc0000000000 R09: ffffed1017224f2c R10: ffffed1017224f2c R11: 1ffff11017224f2b R12: ffffea00016d3400 R13: dffffc0000000000 R14: ffffea00016d3400 R15: ffffea00016d3408 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa748665000 CR3: 00000000632e5000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400