------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2902! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:_ocfs2_free_suballoc_bits+0x2537/0x27a0 fs/ocfs2/suballoc.c:2902 Code: fe e9 8c f3 ff ff e8 98 0a d1 fd 48 c7 c7 60 dd 34 8f 48 8b 74 24 70 4c 89 e2 e8 84 d5 26 01 e9 96 f3 ff ff e8 7a 0a d1 fd 90 <0f> 0b e8 72 0a d1 fd 90 0f 0b 65 8b 1d 40 94 9e 0f bf 07 00 00 00 RSP: 0018:ffffc9000e287420 EFLAGS: 00010293 RAX: ffffffff83f6cbe6 RBX: 00000000ffffffff RCX: ffff8880004bcb00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000e2876a8 R08: 0000000000000020 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff20f4850 R12: ffff888013907e28 R13: 1ffff11002720fc5 R14: 1ffff92001c50e9c R15: ffff888012a58e00 FS: 00007f26ac3f56c0(0000) GS:ffff88808c2ca000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26a3e37000 CR3: 0000000012451000 CR4: 0000000000352ef0 Call Trace: _ocfs2_free_clusters+0x5c6/0xa80 fs/ocfs2/suballoc.c:3020 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5988 [inline] __ocfs2_flush_truncate_log+0x762/0x1230 fs/ocfs2/alloc.c:6071 ocfs2_flush_truncate_log+0x4f/0x70 fs/ocfs2/alloc.c:6093 ocfs2_sync_fs+0x11c/0x340 fs/ocfs2/super.c:406 sync_filesystem+0x1d2/0x240 fs/sync.c:66 ocfs2_reconfigure+0x131/0xbd0 fs/ocfs2/super.c:616 reconfigure_super+0x232/0x8f0 fs/super.c:1143 do_remount fs/namespace.c:3410 [inline] path_mount+0xd4e/0x1050 fs/namespace.c:4160 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4374 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f26aff9f3ca Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f26ac3f4e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f26ac3f4ea0 RCX: 00007f26aff9f3ca RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000 RBP: 0000200000000f40 R08: 00007f26ac3f4ea0 R09: 0000000001a4a438 R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00 R13: 00007f26ac3f4e60 R14: 0000000000000000 R15: 0000200000000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_ocfs2_free_suballoc_bits+0x2537/0x27a0 fs/ocfs2/suballoc.c:2902 Code: fe e9 8c f3 ff ff e8 98 0a d1 fd 48 c7 c7 60 dd 34 8f 48 8b 74 24 70 4c 89 e2 e8 84 d5 26 01 e9 96 f3 ff ff e8 7a 0a d1 fd 90 <0f> 0b e8 72 0a d1 fd 90 0f 0b 65 8b 1d 40 94 9e 0f bf 07 00 00 00 RSP: 0018:ffffc9000e287420 EFLAGS: 00010293 RAX: ffffffff83f6cbe6 RBX: 00000000ffffffff RCX: ffff8880004bcb00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000e2876a8 R08: 0000000000000020 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff20f4850 R12: ffff888013907e28 R13: 1ffff11002720fc5 R14: 1ffff92001c50e9c R15: ffff888012a58e00 FS: 00007f26ac3f56c0(0000) GS:ffff88808c2ca000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26a3e9d000 CR3: 0000000012451000 CR4: 0000000000352ef0