loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/ocfs2/alloc.c:1839:11 index 0 is out of range for type 'struct ocfs2_extent_rec[] __counted_by(l_count)' (aka 'struct ocfs2_extent_rec[]') CPU: 0 UID: 0 PID: 5313 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 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:455 __ocfs2_find_path+0x616/0xa40 fs/ocfs2/alloc.c:1839 ocfs2_find_leaf+0xac/0x1d0 fs/ocfs2/alloc.c:1947 ocfs2_get_clusters_nocache+0x162/0xc30 fs/ocfs2/extent_map.c:418 ocfs2_get_clusters+0x52a/0xc30 fs/ocfs2/extent_map.c:631 ocfs2_extent_map_get_blocks+0x202/0x6b0 fs/ocfs2/extent_map.c:678 ocfs2_map_slot_buffers fs/ocfs2/slot_map.c:375 [inline] ocfs2_init_slot_info+0x92f/0x1260 fs/ocfs2/slot_map.c:424 ocfs2_initialize_super fs/ocfs2/super.c:2220 [inline] ocfs2_fill_super+0x46de/0x6910 fs/ocfs2/super.c:993 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1694 vfs_get_tree+0x92/0x2a0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3760 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3836 do_mount fs/namespace.c:4159 [inline] __do_sys_mount fs/namespace.c:4348 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4325 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa7b999d20a 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:00007fa7ba920e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa7ba920ee0 RCX: 00007fa7b999d20a RDX: 0000200000004440 RSI: 00002000000002c0 RDI: 00007fa7ba920ea0 RBP: 0000200000004440 R08: 00007fa7ba920ee0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 00002000000002c0 R13: 00007fa7ba920ea0 R14: 0000000000004449 R15: 0000200000000340 ---[ end trace ]---