do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3036 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:154! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 31568 Comm: syz.3.5423 Not tainted 6.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:filemap_unaccount_folio+0x73d/0x7d0 mm/filemap.c:154 Code: de c7 ff 48 89 df 48 c7 c6 a0 d3 13 8c e8 fb f3 11 00 90 0f 0b e8 a3 de c7 ff 48 89 df 48 c7 c6 80 d2 13 8c e8 e4 f3 11 00 90 <0f> 0b e8 8c de c7 ff 48 89 df 48 c7 c6 a0 d3 13 8c e8 cd f3 11 00 RSP: 0018:ffffc9000af3f070 EFLAGS: 00010046 RAX: e4bc57c72fa99100 RBX: ffffea0001e67040 RCX: ffffc9000af3ec03 RDX: 0000000000000002 RSI: ffffffff8c0ab8c0 RDI: ffffffff8c608ac0 RBP: 0000000000000000 R08: ffffffff901b5c77 R09: 1ffffffff2036b8e R10: dffffc0000000000 R11: fffffbfff2036b8f R12: dffffc0000000000 R13: 1ffffd40003cce09 R14: ffff888056eb83a0 R15: ffffea0001e67048 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006782e000 CR4: 00000000003526f0 Call Trace: __filemap_remove_folio+0xc7/0x670 mm/filemap.c:223 filemap_remove_folio+0xe1/0x1f0 mm/filemap.c:256 truncate_inode_folio+0x5d/0x70 mm/truncate.c:162 shmem_undo_range+0x44b/0x1820 mm/shmem.c:1108 shmem_truncate_range mm/shmem.c:1224 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1352 evict+0x4e8/0x9a0 fs/inode.c:796 __dentry_kill+0x20d/0x630 fs/dcache.c:643 dput+0x19f/0x2b0 fs/dcache.c:885 __fput+0x60b/0x9f0 fs/file_table.c:472 task_work_run+0x24f/0x310 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2a/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3036 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f98ed18ce23 Code: Unable to access opcode bytes at 0x7f98ed18cdf9. RSP: 002b:00007f98eafb3fc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: 00007f98eaf32000 RBX: 00007f98ed3a6160 RCX: 00007f98ed18ce23 RDX: 0000000000000003 RSI: 0000000000040040 RDI: 0000000000000000 RBP: 00004000000004c0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000008001 R11: 0000000000000246 R12: 0000000000000007 R13: 0000400000000100 R14: 0000000000001458 R15: 00004000000000c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_unaccount_folio+0x73d/0x7d0 mm/filemap.c:154 Code: de c7 ff 48 89 df 48 c7 c6 a0 d3 13 8c e8 fb f3 11 00 90 0f 0b e8 a3 de c7 ff 48 89 df 48 c7 c6 80 d2 13 8c e8 e4 f3 11 00 90 <0f> 0b e8 8c de c7 ff 48 89 df 48 c7 c6 a0 d3 13 8c e8 cd f3 11 00 RSP: 0018:ffffc9000af3f070 EFLAGS: 00010046 RAX: e4bc57c72fa99100 RBX: ffffea0001e67040 RCX: ffffc9000af3ec03 RDX: 0000000000000002 RSI: ffffffff8c0ab8c0 RDI: ffffffff8c608ac0 RBP: 0000000000000000 R08: ffffffff901b5c77 R09: 1ffffffff2036b8e R10: dffffc0000000000 R11: fffffbfff2036b8f R12: dffffc0000000000 R13: 1ffffd40003cce09 R14: ffff888056eb83a0 R15: ffffea0001e67048 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006782e000 CR4: 00000000003526f0