erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop4 with opts: . ------------[ cut here ]------------ kernel BUG at drivers/staging/erofs/unzip_vle.c:1562! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19707 Comm: syz-executor.4 Not tainted 4.19.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vle_get_logical_extent_head drivers/staging/erofs/unzip_vle.c:1562 [inline] RIP: 0010:z_erofs_map_blocks_iter+0x122e/0x1aa0 drivers/staging/erofs/unzip_vle.c:1666 Code: 0f 95 c0 84 c1 0f 85 82 08 00 00 48 8b 04 24 8b 5b 04 44 8b 60 20 e9 77 fc ff ff 66 45 85 e4 0f 84 8c 01 00 00 e8 f2 09 29 fb <0f> 0b e8 eb 09 29 fb 48 89 ef e8 c3 17 48 fb 48 8b 54 24 20 48 b8 RSP: 0018:ffff88804db1f208 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888099490778 RCX: ffffc9000e47f000 RDX: 000000000000065e RSI: ffffffff8639552e RDI: 0000000000000003 RBP: ffff8880988e3540 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000003 R13: dffffc0000000000 R14: ffffea0002652400 R15: 0000000000000480 FS: 00007f0cf6bd7700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000029a8708 CR3: 000000009dc55000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: erofs_map_blocks_iter+0x6d/0x3b0 drivers/staging/erofs/data.c:168 z_erofs_do_read_page+0x670/0x2820 drivers/staging/erofs/unzip_vle.c:644 z_erofs_vle_normalaccess_readpage+0x136/0x460 drivers/staging/erofs/unzip_vle.c:1353 do_read_cache_page+0x533/0x1170 mm/filemap.c:2828 read_mapping_page include/linux/pagemap.h:402 [inline] find_target_block_classic drivers/staging/erofs/namei.c:112 [inline] erofs_namei+0x1ab/0x1740 drivers/staging/erofs/namei.c:189 erofs_lookup+0x143/0x500 drivers/staging/erofs/namei.c:232 __lookup_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path include/linux/namei.h:62 [inline] do_mount+0x147/0x2f10 fs/namespace.c:2739 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465ef9 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:00007f0cf6bd7188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000000 RBP: 00000000004bfa0c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffff440373f R14: 00007f0cf6bd7300 R15: 0000000000022000 Modules linked in: ---[ end trace bc5ec319d650b370 ]--- RIP: 0010:vle_get_logical_extent_head drivers/staging/erofs/unzip_vle.c:1562 [inline] RIP: 0010:z_erofs_map_blocks_iter+0x122e/0x1aa0 drivers/staging/erofs/unzip_vle.c:1666 Code: 0f 95 c0 84 c1 0f 85 82 08 00 00 48 8b 04 24 8b 5b 04 44 8b 60 20 e9 77 fc ff ff 66 45 85 e4 0f 84 8c 01 00 00 e8 f2 09 29 fb <0f> 0b e8 eb 09 29 fb 48 89 ef e8 c3 17 48 fb 48 8b 54 24 20 48 b8 RSP: 0018:ffff88804db1f208 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888099490778 RCX: ffffc9000e47f000 RDX: 000000000000065e RSI: ffffffff8639552e RDI: 0000000000000003 RBP: ffff8880988e3540 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000003 R13: dffffc0000000000 R14: ffffea0002652400 R15: 0000000000000480 FS: 00007f0cf6bd7700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000029a8708 CR3: 000000009dc55000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600