__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+0xb1/0x140 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 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:166! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4986 Comm: syz.3.128 Not tainted 5.15.189-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 e9 70 db ff 4c 89 f7 48 c7 c6 e0 e4 12 8a e8 aa db 0d 00 0f 0b e8 d3 70 db ff 4c 89 f7 48 c7 c6 20 e5 12 8a e8 94 db 0d 00 <0f> 0b 48 85 ed 75 59 e8 b8 70 db ff eb 5d e8 b1 70 db ff 4c 89 f7 RSP: 0018:ffffc90003aaf5a8 EFLAGS: 00010046 RAX: 4a6f5b7b5e496600 RBX: 0000000000000000 RCX: ffff88802b648000 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40002981b9 R08: dffffc0000000000 R09: ffffed1017204f24 R10: ffffed1017204f24 R11: 1ffff11017204f23 R12: ffffea00014c0dc0 R13: dffffc0000000000 R14: ffffea00014c0dc0 R15: ffffea00014c0dc8 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47ebc1b6c0 CR3: 000000005efb8000 CR4: 00000000003506f0 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+0x49b/0x1840 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_sys_exit kernel/exit.c:966 [inline] __se_sys_exit kernel/exit.c:964 [inline] __x64_sys_exit+0x3c/0x40 kernel/exit.c:964 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 RIP: 0033:0x7f4733322be9 Code: Unable to access opcode bytes at RIP 0x7f4733322bbf. RSP: 002b:00007f4731589f08 EFLAGS: 00000246 ORIG_RAX: 000000000000003c RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f4733322be9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f47333a5e19 R08: 0000000000000058 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f473354a038 R14: 00007f4733549fa0 R15: 00007ffdc22acd78 Modules linked in: ---[ end trace 745e48651dbd9baa ]--- RIP: 0010:unaccount_page_cache_page+0x75c/0x870 mm/filemap.c:166 Code: e8 e9 70 db ff 4c 89 f7 48 c7 c6 e0 e4 12 8a e8 aa db 0d 00 0f 0b e8 d3 70 db ff 4c 89 f7 48 c7 c6 20 e5 12 8a e8 94 db 0d 00 <0f> 0b 48 85 ed 75 59 e8 b8 70 db ff eb 5d e8 b1 70 db ff 4c 89 f7 RSP: 0018:ffffc90003aaf5a8 EFLAGS: 00010046 RAX: 4a6f5b7b5e496600 RBX: 0000000000000000 RCX: ffff88802b648000 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: 1ffffd40002981b9 R08: dffffc0000000000 R09: ffffed1017204f24 R10: ffffed1017204f24 R11: 1ffff11017204f23 R12: ffffea00014c0dc0 R13: dffffc0000000000 R14: ffffea00014c0dc0 R15: ffffea00014c0dc8 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47ebc1b6c0 CR3: 000000005efb8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400