erofs: (device loop0): mounted with root inode @ nid 36. erofs: (device loop0): z_erofs_do_read_page: failed to get inline page, err -12 general protection fault, probably for non-canonical address 0x50880000004e0: 0000 [#1] PREEMPT SMP CPU: 1 PID: 439 Comm: syz-executor.0 Not tainted 6.0.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:LZ4_decompress_safe_partial+0x453/0x460 Code: 0c 48 89 cb eb 03 4c 89 fb f7 d3 01 fb 89 d8 48 83 c4 58 5b 41 5c 41 5d 41 5e 41 5f 5d c3 bb ff ff ff ff 83 fa 01 75 e5 31 db <3a> 1f 19 db eb dd bb ff ff ff ff eb d6 55 48 89 e5 41 57 41 56 41 RSP: 0018:ffffc9000075f4b0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0005088000000001 RDI: 00050880000004e0 RBP: ffffc9000075f530 R08: 0000000000000000 R09: ffffc9000075f700 R10: 00000000000004e0 R11: 0000000000000000 R12: 0005088000000000 R13: 0000000000000001 R14: 0000000000000001 R15: 00050880000004e0 FS: 00007fd1dc1606c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1db598000 CR3: 0000000114929000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:241 [inline] z_erofs_lz4_decompress+0x7c2/0x9d0 fs/erofs/decompressor.c:312 z_erofs_decompress+0x11/0x20 fs/erofs/decompressor.c:390 z_erofs_decompress_pcluster fs/erofs/zdata.c:1066 [inline] z_erofs_decompress_queue+0x710/0xa20 fs/erofs/zdata.c:1153 z_erofs_runqueue+0x74d/0x7b0 fs/erofs/zdata.c:1520 z_erofs_read_folio+0x11f/0x1d0 fs/erofs/zdata.c:1615 filemap_read_folio mm/filemap.c:2394 [inline] do_read_cache_folio+0x11c/0x230 mm/filemap.c:3519 read_cache_folio+0xd/0x10 mm/filemap.c:3551 erofs_bread+0xcc/0x1b0 fs/erofs/data.c:46 find_target_block_classic fs/erofs/namei.c:108 [inline] erofs_namei+0x11b/0x410 fs/erofs/namei.c:184 erofs_lookup+0x53/0x100 fs/erofs/namei.c:221 lookup_open fs/namei.c:3391 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x423/0xb60 fs/namei.c:3688 do_filp_open+0xad/0x150 fs/namei.c:3718 do_sys_openat2+0x8c/0x160 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_open fs/open.c:1335 [inline] __se_sys_open fs/open.c:1331 [inline] __x64_sys_open+0x77/0xa0 fs/open.c:1331 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd1db47cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd1dc1600c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fd1db59bf80 RCX: 00007fd1db47cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007fd1dc160120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fd1db59bf80 R15: 00007ffd505df2f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:LZ4_decompress_safe_partial+0x453/0x460 Code: 0c 48 89 cb eb 03 4c 89 fb f7 d3 01 fb 89 d8 48 83 c4 58 5b 41 5c 41 5d 41 5e 41 5f 5d c3 bb ff ff ff ff 83 fa 01 75 e5 31 db <3a> 1f 19 db eb dd bb ff ff ff ff eb d6 55 48 89 e5 41 57 41 56 41 RSP: 0018:ffffc9000075f4b0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0005088000000001 RDI: 00050880000004e0 RBP: ffffc9000075f530 R08: 0000000000000000 R09: ffffc9000075f700 R10: 00000000000004e0 R11: 0000000000000000 R12: 0005088000000000 R13: 0000000000000001 R14: 0000000000000001 R15: 00050880000004e0 FS: 00007fd1dc1606c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1db598000 CR3: 0000000114929000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0c 48 or $0x48,%al 2: 89 cb mov %ecx,%ebx 4: eb 03 jmp 0x9 6: 4c 89 fb mov %r15,%rbx 9: f7 d3 not %ebx b: 01 fb add %edi,%ebx d: 89 d8 mov %ebx,%eax f: 48 83 c4 58 add $0x58,%rsp 13: 5b pop %rbx 14: 41 5c pop %r12 16: 41 5d pop %r13 18: 41 5e pop %r14 1a: 41 5f pop %r15 1c: 5d pop %rbp 1d: c3 ret 1e: bb ff ff ff ff mov $0xffffffff,%ebx 23: 83 fa 01 cmp $0x1,%edx 26: 75 e5 jne 0xd 28: 31 db xor %ebx,%ebx * 2a: 3a 1f cmp (%rdi),%bl <-- trapping instruction 2c: 19 db sbb %ebx,%ebx 2e: eb dd jmp 0xd 30: bb ff ff ff ff mov $0xffffffff,%ebx 35: eb d6 jmp 0xd 37: 55 push %rbp 38: 48 89 e5 mov %rsp,%rbp 3b: 41 57 push %r15 3d: 41 56 push %r14 3f: 41 rex.B