do_coredump+0x2537/0x31e0 fs/coredump.c:737 get_signal+0xc06/0x14e0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 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: 8450 Comm: syz.3.1262 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unaccount_page_cache_page+0x79d/0x8b0 mm/filemap.c:166 Code: e8 48 75 d8 ff 4c 89 f7 48 c7 c6 c0 15 b3 8a e8 69 cb 0e 00 0f 0b e8 32 75 d8 ff 4c 89 f7 48 c7 c6 00 16 b3 8a e8 53 cb 0e 00 <0f> 0b 48 85 ed 75 62 e8 17 75 d8 ff 4c 89 eb eb 60 e8 0d 75 d8 ff RSP: 0018:ffffc9000322f610 EFLAGS: 00010046 RAX: dc4b8c502161e600 RBX: 0000000000000000 RCX: ffff8880278a3b80 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 0000000000000000 R08: ffffffff81d123a4 R09: ffffed10171e4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd400026c8d1 R13: ffffea0001364688 R14: ffffea0001364680 R15: dffffc0000000000 FS: 000055557eb40500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000368 CR3: 0000000022eb4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __delete_from_page_cache+0xd1/0x860 mm/filemap.c:231 delete_from_page_cache+0x126/0x190 mm/filemap.c:266 truncate_inode_page+0x8d/0xb0 mm/truncate.c:219 shmem_undo_range+0x535/0x1b50 mm/shmem.c:960 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145 evict+0x529/0x930 fs/inode.c:622 __dentry_kill+0x436/0x650 fs/dcache.c:586 dentry_kill+0xbb/0x290 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x636/0x8e0 fs/file_table.c:288 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb362ac3d29 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:00007ffc877f24b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000060281 RCX: 00007fb362ac3d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fb362cb5ba0 R08: 0000000000000001 R09: 00007ffc877f27af R10: 00007fb36293e000 R11: 0000000000000246 R12: 00000000000602d3 R13: 00007fb362cb3fa0 R14: 0000000000000032 R15: ffffffffffffffff Modules linked in: ---[ end trace 44466a13a9f9bd06 ]--- RIP: 0010:unaccount_page_cache_page+0x79d/0x8b0 mm/filemap.c:166 Code: e8 48 75 d8 ff 4c 89 f7 48 c7 c6 c0 15 b3 8a e8 69 cb 0e 00 0f 0b e8 32 75 d8 ff 4c 89 f7 48 c7 c6 00 16 b3 8a e8 53 cb 0e 00 <0f> 0b 48 85 ed 75 62 e8 17 75 d8 ff 4c 89 eb eb 60 e8 0d 75 d8 ff RSP: 0018:ffffc9000322f610 EFLAGS: 00010046 RAX: dc4b8c502161e600 RBX: 0000000000000000 RCX: ffff8880278a3b80 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 0000000000000000 R08: ffffffff81d123a4 R09: ffffed10171e4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd400026c8d1 R13: ffffea0001364688 R14: ffffea0001364680 R15: dffffc0000000000 FS: 000055557eb40500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000368 CR3: 0000000022eb4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400