erofs: root inode @ nid 36 erofs: bogus i_mode (0) @ nid 36 ------------[ cut here ]------------ kernel BUG at drivers/staging/erofs/inode.c:110! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 23504 Comm: syz-executor.3 Not tainted 5.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:read_inode drivers/staging/erofs/inode.c:110 [inline] RIP: 0010:fill_inode drivers/staging/erofs/inode.c:192 [inline] RIP: 0010:erofs_iget+0x2290/0x2357 drivers/staging/erofs/inode.c:282 Code: 24 d8 48 c1 ea 03 48 c1 e0 2a 0f b6 04 02 84 c0 74 04 2c 01 7e 37 41 0f b7 34 24 48 89 da 48 c7 c7 00 4f 87 88 e8 df 91 99 fb <0f> 0b 48 c7 c7 60 55 ae 8a e8 f2 2a e0 fd 48 8b 7d d0 e8 d9 04 e5 RSP: 0018:ffff888083247bb0 EFLAGS: 00010282 RAX: 0000000000000020 RBX: 0000000000000024 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff890961a8 RDI: ffffffff8c036400 RBP: ffff888083247c10 R08: ffffed1015ce60d9 R09: ffffed1015ce60d9 R10: ffffed1015ce60d8 R11: ffff8880ae7306c7 R12: ffff888075c828f8 R13: ffff888075c82920 R14: ffff88807149d480 R15: ffffea0001c52748 FS: 00007f87bd248700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8d48ad1010 CR3: 0000000098fdc000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: erofs_fill_super+0xcd7/0xf0b drivers/staging/erofs/super.c:449 mount_bdev+0x26f/0x330 fs/super.c:1283 erofs_mount+0x10/0x20 drivers/staging/erofs/super.c:478 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+0xd0/0x580 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460bca Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 87 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 ba 87 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f87bd247a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f87bd247b20 RCX: 0000000000460bca RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f87bd247ae0 RBP: 00007f87bd247ae0 R08: 00007f87bd247b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 00000000200000c0 Modules linked in: ---[ end trace 3d80f71481f25b2d ]--- RIP: 0010:read_inode drivers/staging/erofs/inode.c:110 [inline] RIP: 0010:fill_inode drivers/staging/erofs/inode.c:192 [inline] RIP: 0010:erofs_iget+0x2290/0x2357 drivers/staging/erofs/inode.c:282 Code: 24 d8 48 c1 ea 03 48 c1 e0 2a 0f b6 04 02 84 c0 74 04 2c 01 7e 37 41 0f b7 34 24 48 89 da 48 c7 c7 00 4f 87 88 e8 df 91 99 fb <0f> 0b 48 c7 c7 60 55 ae 8a e8 f2 2a e0 fd 48 8b 7d d0 e8 d9 04 e5 RSP: 0018:ffff888083247bb0 EFLAGS: 00010282 RAX: 0000000000000020 RBX: 0000000000000024 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff890961a8 RDI: ffffffff8c036400 RBP: ffff888083247c10 R08: ffffed1015ce60d9 R09: ffffed1015ce60d9 R10: ffffed1015ce60d8 R11: ffff8880ae7306c7 R12: ffff888075c828f8 R13: ffff888075c82920 R14: ffff88807149d480 R15: ffffea0001c52748 FS: 00007f87bd248700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 0000000098fdc000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400