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: 0 PID: 8114 Comm: syz-executor724 Not tainted 4.19.188-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 56 96 28 fb 44 89 ee 89 ef 41 bc c3 ff ff ff e8 36 97 28 fb 44 39 ed 73 cf e8 3c 96 28 fb <0f> 0b e8 35 96 28 fb 41 89 ec eb be e8 db 56 5e fb e9 b9 fc ff ff RSP: 0018:ffff888095a2fc88 EFLAGS: 00010293 RAX: ffff8880b52bc1c0 RBX: ffff88808dbd24c0 RCX: ffffffff8639c77a RDX: 0000000000000000 RSI: ffffffff8639c784 RDI: 0000000000000004 RBP: 0000000000000048 R08: 0000000000000001 R09: 0000000000000048 R10: 0000000000000004 R11: 0000000000000000 R12: 00000000ffffffc3 R13: 0000000000000280 R14: ffff88808dbd24aa R15: ffff8880b4d23ac0 FS: 0000000001858300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 00000000ab507000 CR4: 00000000001406f0 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:00007ffd502c0938 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000443c59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000004034f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffd502c0800 R11: 0000000000000246 R12: 0000000000403580 R13: 0000000000000000 R14: 00000000004b1018 R15: 00000000004004a0 Modules linked in: ---[ end trace 9d043916b26d1059 ]--- 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 56 96 28 fb 44 89 ee 89 ef 41 bc c3 ff ff ff e8 36 97 28 fb 44 39 ed 73 cf e8 3c 96 28 fb <0f> 0b e8 35 96 28 fb 41 89 ec eb be e8 db 56 5e fb e9 b9 fc ff ff RSP: 0018:ffff888095a2fc88 EFLAGS: 00010293 RAX: ffff8880b52bc1c0 RBX: ffff88808dbd24c0 RCX: ffffffff8639c77a RDX: 0000000000000000 RSI: ffffffff8639c784 RDI: 0000000000000004 RBP: 0000000000000048 R08: 0000000000000001 R09: 0000000000000048 R10: 0000000000000004 R11: 0000000000000000 R12: 00000000ffffffc3 R13: 0000000000000280 R14: ffff88808dbd24aa R15: ffff8880b4d23ac0 FS: 0000000001858300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 00000000ab507000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400