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 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:166! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9020 Comm: syz.4.1001 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166 Code: e8 39 70 db ff 4c 89 f7 48 c7 c6 20 e8 12 8a e8 7a db 0d 00 0f 0b e8 23 70 db ff 4c 89 f7 48 c7 c6 60 e8 12 8a e8 64 db 0d 00 <0f> 0b 48 85 ed 75 59 e8 08 70 db ff eb 5d e8 01 70 db ff 4c 89 f7 RSP: 0018:ffffc9000325f228 EFLAGS: 00010046 RAX: 3f957667ef91eb00 RBX: 0000000000000000 RCX: ffff8880283b0000 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40002f5e21 R08: dffffc0000000000 R09: fffff5200064bd29 R10: fffff5200064bd29 R11: 1ffff9200064bd28 R12: ffffea00017af100 R13: dffffc0000000000 R14: ffffea00017af100 R15: ffffea00017af108 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c41a895 CR3: 000000000be8e000 CR4: 00000000003506e0 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:0x7fb66fe60ba9 Code: Unable to access opcode bytes at RIP 0x7fb66fe60b7f. RSP: 002b:00007fb66e0860e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fb6700a8188 RCX: 00007fb66fe60ba9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb6700a8188 RBP: 00007fb6700a8180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb6700a8218 R14: 00007ffd5c2574a0 R15: 00007ffd5c257588 Modules linked in: ---[ end trace 8673b939deea3868 ]--- RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166 Code: e8 39 70 db ff 4c 89 f7 48 c7 c6 20 e8 12 8a e8 7a db 0d 00 0f 0b e8 23 70 db ff 4c 89 f7 48 c7 c6 60 e8 12 8a e8 64 db 0d 00 <0f> 0b 48 85 ed 75 59 e8 08 70 db ff eb 5d e8 01 70 db ff 4c 89 f7 RSP: 0018:ffffc9000325f228 EFLAGS: 00010046 RAX: 3f957667ef91eb00 RBX: 0000000000000000 RCX: ffff8880283b0000 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40002f5e21 R08: dffffc0000000000 R09: fffff5200064bd29 R10: fffff5200064bd29 R11: 1ffff9200064bd28 R12: ffffea00017af100 R13: dffffc0000000000 R14: ffffea00017af100 R15: ffffea00017af108 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c41a895 CR3: 000000000be8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400