erofs: read_super, device -> /dev/loop0 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop0 with opts: . ------------[ cut here ]------------ kernel BUG at drivers/staging/erofs/xattr.c:186! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8106 Comm: syz-executor152 Not tainted 4.19.192-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inline_xattr_iter_begin+0x3c4/0x4a0 drivers/staging/erofs/xattr.c:186 Code: 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 d6 8c 28 fb 44 89 ee 89 ef 41 bc c3 ff ff ff e8 b6 8d 28 fb 44 39 ed 73 cf e8 bc 8c 28 fb <0f> 0b e8 b5 8c 28 fb 41 89 ec eb be e8 eb 50 5e fb e9 b9 fc ff ff RSP: 0018:ffff8880b15d7c88 EFLAGS: 00010293 RAX: ffff88808f71a500 RBX: ffff88808db114c0 RCX: ffffffff8639ec6a RDX: 0000000000000000 RSI: ffffffff8639ec74 RDI: 0000000000000004 RBP: 0000000000000048 R08: 0000000000000001 R09: 0000000000000048 R10: 0000000000000004 R11: 0000000000000000 R12: 00000000ffffffc3 R13: 0000000000000280 R14: ffff88808db114aa R15: ffff8880b498c5c0 FS: 0000000002223300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb011b000 CR3: 00000000a6363000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inline_listxattr drivers/staging/erofs/xattr.c:584 [inline] erofs_listxattr+0x147/0xf10 drivers/staging/erofs/xattr.c:653 vfs_listxattr+0x105/0x190 fs/xattr.c:392 listxattr+0xd3/0x140 fs/xattr.c:687 path_listxattr+0xae/0x140 fs/xattr.c:711 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x443c59 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffeb011a358 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000443c59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000004034f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffeb011a220 R11: 0000000000000246 R12: 0000000000403580 R13: 0000000000000000 R14: 00000000004b1018 R15: 00000000004004a0 Modules linked in: ---[ end trace f794d36aec2b5af9 ]--- RIP: 0010:inline_xattr_iter_begin+0x3c4/0x4a0 drivers/staging/erofs/xattr.c:186 Code: 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 d6 8c 28 fb 44 89 ee 89 ef 41 bc c3 ff ff ff e8 b6 8d 28 fb 44 39 ed 73 cf e8 bc 8c 28 fb <0f> 0b e8 b5 8c 28 fb 41 89 ec eb be e8 eb 50 5e fb e9 b9 fc ff ff RSP: 0018:ffff8880b15d7c88 EFLAGS: 00010293 RAX: ffff88808f71a500 RBX: ffff88808db114c0 RCX: ffffffff8639ec6a RDX: 0000000000000000 RSI: ffffffff8639ec74 RDI: 0000000000000004 RBP: 0000000000000048 R08: 0000000000000001 R09: 0000000000000048 R10: 0000000000000004 R11: 0000000000000000 R12: 00000000ffffffc3 R13: 0000000000000280 R14: ffff88808db114aa R15: ffff8880b498c5c0 FS: 0000000002223300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb011b000 CR3: 00000000a6363000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400