------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:1704! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5326 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_block_group_search+0x367/0x4c0 fs/ocfs2/suballoc.c:1704 Code: d9 80 e1 07 80 c1 03 38 c1 0f 8c c5 fe ff ff 48 89 df e8 9c 4d 65 fe e9 b8 fe ff ff e8 62 7f f8 fd 90 0f 0b e8 5a 7f f8 fd 90 <0f> 0b 65 44 8b 3d 33 fa 6c 0f bf 07 00 00 00 44 89 fe e8 82 83 f8 RSP: 0018:ffffc9000df1eb98 EFLAGS: 00010287 RAX: ffffffff83cd45f6 RBX: 0000000000000047 RCX: 0000000000100000 RDX: ffffc9000ec52000 RSI: 0000000000001577 RDI: 0000000000001578 RBP: 0000000000000001 R08: 00000000ffffffff R09: ffffc9000df1f180 R10: dffffc0000000000 R11: ffffffff83cd4290 R12: ffff888046ba3910 R13: ffff888011f2d400 R14: ffff88800e54a000 R15: 0000000000000047 FS: 00007f0eb2ba86c0(0000) GS:ffff88808c87c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefaf1bd000 CR3: 0000000012c05000 CR4: 0000000000352ef0 Call Trace: ocfs2_search_chain+0x5e9/0x1e10 fs/ocfs2/suballoc.c:1931 ocfs2_claim_suballoc_bits+0x901/0x1f40 fs/ocfs2/suballoc.c:2113 ocfs2_claim_new_inode+0x333/0x7c0 fs/ocfs2/suballoc.c:2411 ocfs2_mknod_locked+0x10e/0x290 fs/ocfs2/namei.c:638 ocfs2_mknod+0x13ee/0x2260 fs/ocfs2/namei.c:385 ocfs2_create+0x195/0x460 fs/ocfs2/namei.c:677 lookup_open fs/namei.c:4511 [inline] open_last_lookups fs/namei.c:4611 [inline] path_openat+0x1395/0x3860 fs/namei.c:4855 do_file_open+0x23e/0x4a0 fs/namei.c:4887 do_sys_openat2+0x113/0x200 fs/open.c:1364 do_sys_open fs/open.c:1370 [inline] __do_sys_creat fs/open.c:1448 [inline] __se_sys_creat fs/open.c:1442 [inline] __x64_sys_creat+0x8f/0xc0 fs/open.c:1442 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0eb1d9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0eb2ba7fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f0eb2015fa0 RCX: 00007f0eb1d9ce59 RDX: 0000000000000000 RSI: c9a9c042ad77c5e5 RDI: 0000200000000000 RBP: 00007f0eb1e32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0eb2016038 R14: 00007f0eb2015fa0 R15: 00007ffec2d23498 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_block_group_search+0x367/0x4c0 fs/ocfs2/suballoc.c:1704 Code: d9 80 e1 07 80 c1 03 38 c1 0f 8c c5 fe ff ff 48 89 df e8 9c 4d 65 fe e9 b8 fe ff ff e8 62 7f f8 fd 90 0f 0b e8 5a 7f f8 fd 90 <0f> 0b 65 44 8b 3d 33 fa 6c 0f bf 07 00 00 00 44 89 fe e8 82 83 f8 RSP: 0018:ffffc9000df1eb98 EFLAGS: 00010287 RAX: ffffffff83cd45f6 RBX: 0000000000000047 RCX: 0000000000100000 RDX: ffffc9000ec52000 RSI: 0000000000001577 RDI: 0000000000001578 RBP: 0000000000000001 R08: 00000000ffffffff R09: ffffc9000df1f180 R10: dffffc0000000000 R11: ffffffff83cd4290 R12: ffff888046ba3910 R13: ffff888011f2d400 R14: ffff88800e54a000 R15: 0000000000000047 FS: 00007f0eb2ba86c0(0000) GS:ffff88808c87c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefaf974000 CR3: 0000000012c05000 CR4: 0000000000352ef0