================================================================================ UBSAN: array-index-out-of-bounds in fs/udf/super.c:2524:12 index 0 is out of range for type '__le32 [0]' CPU: 0 PID: 23471 Comm: syz-executor.4 Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:105 ubsan_epilogue lib/ubsan.c:148 [inline] __ubsan_handle_out_of_bounds+0xdb/0x130 lib/ubsan.c:288 udf_count_free fs/udf/super.c:2524 [inline] udf_statfs+0x49f/0xd70 fs/udf/super.c:2408 statfs_by_dentry fs/statfs.c:66 [inline] vfs_statfs+0x136/0x310 fs/statfs.c:90 ovl_check_namelen fs/overlayfs/super.c:912 [inline] ovl_lower_dir fs/overlayfs/super.c:932 [inline] ovl_get_lowerstack fs/overlayfs/super.c:1811 [inline] ovl_fill_super+0x19ac/0x5b70 fs/overlayfs/super.c:2079 mount_nodev+0x52/0xe0 fs/super.c:1414 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1498 do_new_mount fs/namespace.c:2905 [inline] path_mount+0x196f/0x2be0 fs/namespace.c:3235 do_mount fs/namespace.c:3248 [inline] __do_sys_mount fs/namespace.c:3456 [inline] __se_sys_mount+0x2f9/0x3b0 fs/namespace.c:3433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc53ef56188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000020000080 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000020000280 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffe82636a4f R14: 00007fc53ef56300 R15: 0000000000022000 ================================================================================