------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:5581! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5362 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-12288-g2b38afce25c4 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_remove_extent+0x1ecf/0x2020 fs/ocfs2/alloc.c:5581 Code: fa ff ff 48 8b 4c 24 08 80 e1 07 fe c1 38 c1 0f 8c 95 fa ff ff 48 8b 7c 24 08 e8 5c 56 8d fe e9 86 fa ff ff e8 f2 6a 28 fe 90 <0f> 0b f3 0f 1e fa 44 89 6c 24 10 65 8b 1d b3 9f 09 0f bf 07 00 00 RSP: 0018:ffffc9000d3c6080 EFLAGS: 00010293 RAX: ffffffff8397506e RBX: ffffc9000d3c6878 RCX: ffff888000300000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007 RBP: ffffc9000d3c63d0 R08: ffff888000300000 R09: 0000000000000006 R10: 00000000fffffffc R11: 0000000000000000 R12: 1ffff1100a78f8da R13: 0000000000000007 R14: ffff888053c7c6d0 R15: dffffc0000000000 FS: 00007f4396a916c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000340 CR3: 000000003fd89000 CR4: 0000000000352ef0 Call Trace: ocfs2_remove_btree_range+0xdef/0x1540 fs/ocfs2/alloc.c:5778 ocfs2_commit_truncate+0xb64/0x21d0 fs/ocfs2/alloc.c:7373 ocfs2_truncate_for_delete fs/ocfs2/inode.c:699 [inline] ocfs2_wipe_inode fs/ocfs2/inode.c:866 [inline] ocfs2_delete_inode fs/ocfs2/inode.c:1155 [inline] ocfs2_evict_inode+0x1138/0x40e0 fs/ocfs2/inode.c:1292 evict+0x504/0x9c0 fs/inode.c:810 do_unlinkat+0x39f/0x560 fs/namei.c:4657 coredump_file+0x1a5/0xaf0 fs/coredump.c:902 vfs_coredump+0x16b1/0x2ab0 fs/coredump.c:1141 get_signal+0x1109/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:40 [inline] exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] irqentry_exit_to_user_mode+0x81/0x120 kernel/entry/common.c:73 exc_page_fault+0x9f/0xf0 arch/x86/mm/fault.c:1535 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f4395b8ebf1 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:fffffffffffffea0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f4395db5fa0 RCX: 00007f4395b8ebe9 RDX: 0000000000000000 RSI: fffffffffffffea0 RDI: 0000000000000000 RBP: 00007f4395c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4395db6038 R14: 00007f4395db5fa0 R15: 00007ffd801dc418 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_remove_extent+0x1ecf/0x2020 fs/ocfs2/alloc.c:5581 Code: fa ff ff 48 8b 4c 24 08 80 e1 07 fe c1 38 c1 0f 8c 95 fa ff ff 48 8b 7c 24 08 e8 5c 56 8d fe e9 86 fa ff ff e8 f2 6a 28 fe 90 <0f> 0b f3 0f 1e fa 44 89 6c 24 10 65 8b 1d b3 9f 09 0f bf 07 00 00 RSP: 0018:ffffc9000d3c6080 EFLAGS: 00010293 RAX: ffffffff8397506e RBX: ffffc9000d3c6878 RCX: ffff888000300000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007 RBP: ffffc9000d3c63d0 R08: ffff888000300000 R09: 0000000000000006 R10: 00000000fffffffc R11: 0000000000000000 R12: 1ffff1100a78f8da R13: 0000000000000007 R14: ffff888053c7c6d0 R15: dffffc0000000000 FS: 00007f4396a916c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000340 CR3: 000000003fd89000 CR4: 0000000000352ef0