erofs: read_super, device -> /dev/loop4 erofs: options -> ================================================================================ UBSAN: Undefined behaviour in drivers/staging/erofs/super.c:118:3 shift exponent 59 is too large for 32-bit type 'int' CPU: 0 PID: 30053 Comm: syz-executor.4 Not tainted 5.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x86/0xca lib/dump_stack.c:113 ubsan_epilogue+0xd/0x3a lib/ubsan.c:158 __ubsan_handle_shift_out_of_bounds.cold.14+0x21/0x68 lib/ubsan.c:404 superblock_read drivers/staging/erofs/super.c:118 [inline] erofs_read_super drivers/staging/erofs/super.c:393 [inline] erofs_fill_super+0x2bb/0x10e0 drivers/staging/erofs/super.c:540 mount_bdev+0x26f/0x330 fs/super.c:1283 erofs_mount+0x6a/0x90 drivers/staging/erofs/super.c:553 legacy_get_tree+0x105/0x200 fs/fs_context.c:661 vfs_get_tree+0x86/0x3c0 fs/super.c:1413 do_new_mount fs/namespace.c:2791 [inline] do_mount+0x11da/0x1b90 fs/namespace.c:3111 ksys_mount+0xba/0xe0 fs/namespace.c:3320 __do_sys_mount fs/namespace.c:3334 [inline] __se_sys_mount fs/namespace.c:3331 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3331 do_syscall_64+0x96/0x450 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460c6a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007fa25b0a0a78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa25b0a0b10 RCX: 0000000000460c6a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fa25b0a0ad0 RBP: 00007fa25b0a0ad0 R08: 00007fa25b0a0b10 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 ================================================================================ erofs: blksize 134217728 isn't supported on this platform