------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:1382! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5353 Comm: syz.0.0 Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #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_block_group_set_bits+0x874/0x9a0 fs/ocfs2/suballoc.c:1382 Code: 07 fe c1 38 c1 0f 8c ab fe ff ff 4c 89 e7 89 f3 e8 71 31 7c fe 89 de e9 9a fe ff ff e8 f5 48 17 fe 90 0f 0b e8 ed 48 17 fe 90 <0f> 0b f3 0f 1e fa 65 8b 1d e3 8e f8 0e bf 07 00 00 00 89 de e8 13 RSP: 0018:ffffc9000d46f360 EFLAGS: 00010283 RAX: ffffffff83a87143 RBX: 0000000000000002 RCX: 0000000000100000 RDX: ffffc9000e85b000 RSI: 0000000000031191 RDI: 0000000000031192 RBP: ffffc9000d46f480 R08: 0000000000000003 R09: 0000000000000050 R10: 00000000fffffffc R11: 0000000000000002 R12: 1ffff1100a773801 R13: 0000000000000050 R14: ffff8880432fcfb8 R15: dffffc0000000000 FS: 00007f76ec4906c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f76ec46efc8 CR3: 000000004395d000 CR4: 0000000000352ef0 Call Trace: ocfs2_move_extent fs/ocfs2/move_extents.c:687 [inline] __ocfs2_move_extents_range+0x2976/0x3380 fs/ocfs2/move_extents.c:859 ocfs2_move_extents+0x378/0x960 fs/ocfs2/move_extents.c:926 ocfs2_ioctl_move_extents+0x53e/0x710 fs/ocfs2/move_extents.c:1052 ocfs2_ioctl+0x191/0x750 fs/ocfs2/ioctl.c:946 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f76eb58ebe9 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:00007f76ec490038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f76eb7b6090 RCX: 00007f76eb58ebe9 RDX: 00002000000000c0 RSI: 0000000040406f06 RDI: 0000000000000009 RBP: 00007f76eb611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f76eb7b6128 R14: 00007f76eb7b6090 R15: 00007ffe31876f38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_block_group_set_bits+0x874/0x9a0 fs/ocfs2/suballoc.c:1382 Code: 07 fe c1 38 c1 0f 8c ab fe ff ff 4c 89 e7 89 f3 e8 71 31 7c fe 89 de e9 9a fe ff ff e8 f5 48 17 fe 90 0f 0b e8 ed 48 17 fe 90 <0f> 0b f3 0f 1e fa 65 8b 1d e3 8e f8 0e bf 07 00 00 00 89 de e8 13 RSP: 0018:ffffc9000d46f360 EFLAGS: 00010283 RAX: ffffffff83a87143 RBX: 0000000000000002 RCX: 0000000000100000 RDX: ffffc9000e85b000 RSI: 0000000000031191 RDI: 0000000000031192 RBP: ffffc9000d46f480 R08: 0000000000000003 R09: 0000000000000050 R10: 00000000fffffffc R11: 0000000000000002 R12: 1ffff1100a773801 R13: 0000000000000050 R14: ffff8880432fcfb8 R15: dffffc0000000000 FS: 00007f76ec4906c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdbcbb89000 CR3: 000000004395d000 CR4: 0000000000352ef0