------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:7402! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5847 Comm: syz.1.73 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ocfs2_truncate_inline+0x93d/0x940 fs/ocfs2/alloc.c:7402 Code: 38 c1 0f 8c bf fe ff ff 48 89 d7 48 89 54 24 08 e8 38 ab 7a fe 48 8b 54 24 08 e9 a8 fe ff ff e8 f9 07 3d 08 e8 a4 08 14 fe 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e RSP: 0018:ffffc900046d7200 EFLAGS: 00010287 RAX: ffffffff8380ceec RBX: 00000000fffffffd RCX: 0000000000040000 RDX: ffffc9000d088000 RSI: 000000000000043b RDI: 000000000000043c RBP: ffffc900046d7310 R08: ffffffff8380c788 R09: 1ffffffff2037a55 R10: dffffc0000000000 R11: fffffbfff2037a56 R12: 0000000000000007 R13: ffff88807766d008 R14: dffffc0000000000 R15: 0000000000000007 FS: 00007f5c06ce76c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558189d5c8 CR3: 0000000030a9c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_remove_inode_range+0x603/0x2690 fs/ocfs2/file.c:1790 __ocfs2_change_file_space+0x8e4/0xfd0 fs/ocfs2/file.c:2020 ocfs2_fallocate+0x2e4/0x350 fs/ocfs2/file.c:2130 vfs_fallocate+0x569/0x6e0 fs/open.c:333 do_vfs_ioctl+0x2583/0x2e40 fs/ioctl.c:886 __do_sys_ioctl fs/ioctl.c:905 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c05f7dff9 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:00007f5c06ce7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5c06135f80 RCX: 00007f5c05f7dff9 RDX: 00000000200000c0 RSI: 0000000040305829 RDI: 0000000000000007 RBP: 00007f5c05ff0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5c06135f80 R15: 00007ffe7e578de8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_truncate_inline+0x93d/0x940 fs/ocfs2/alloc.c:7402 Code: 38 c1 0f 8c bf fe ff ff 48 89 d7 48 89 54 24 08 e8 38 ab 7a fe 48 8b 54 24 08 e9 a8 fe ff ff e8 f9 07 3d 08 e8 a4 08 14 fe 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e RSP: 0018:ffffc900046d7200 EFLAGS: 00010287 RAX: ffffffff8380ceec RBX: 00000000fffffffd RCX: 0000000000040000 RDX: ffffc9000d088000 RSI: 000000000000043b RDI: 000000000000043c RBP: ffffc900046d7310 R08: ffffffff8380c788 R09: 1ffffffff2037a55 R10: dffffc0000000000 R11: fffffbfff2037a56 R12: 0000000000000007 R13: ffff88807766d008 R14: dffffc0000000000 R15: 0000000000000007 FS: 00007f5c06ce76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c06ca5d58 CR3: 0000000030a9c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400