attempt to access beyond end of device
loop0: rw=0, want=2201354232, limit=264192
attempt to access beyond end of device
loop0: rw=0, want=20841953384, limit=264192
BUG: unable to handle page fault for address: fffff52100053e27
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffef067 P4D 23ffef067 PUD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 409 Comm: syz-executor939 Not tainted 5.15.74-syzkaller-04383-g7f2e600bf63a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:z_erofs_decompress_pcluster fs/erofs/zdata.c:934 [inline]
RIP: 0010:z_erofs_decompress_queue+0xc7c/0x1cd0 fs/erofs/zdata.c:1043
Code: 00 00 00 fc ff df 41 0f b6 04 1e 84 c0 0f 85 8d 03 00 00 41 8b 45 00 c1 f8 02 48 8b 4c 24 60 4c 8d 2c c1 4d 89 ee 49 c1 ee 03 <41> 80 3c 1e 00 74 08 4c 89 ef e8 75 ff 7c ff 4d 8b 7d 00 4d 85 ff
RSP: 0018:ffffc9000029f000 EFLAGS: 00010a06
RAX: 00000000ffffffff RBX: dffffc0000000000 RCX: ffffc9000029f140
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00047b8768
RBP: ffffc9000029f570 R08: dffffc0000000000 R09: fffff940008f70ee
R10: fffff940008f70ee R11: 1ffffd40008f70ed R12: ffffea00047b8740
R13: ffffc9080029f138 R14: 1ffff92100053e27 R15: ffff88810feeecd8
FS: 0000555556fa0300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52100053e27 CR3: 000000011e5c1000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
z_erofs_runqueue+0x148d/0x1570 fs/erofs/zdata.c:1366
z_erofs_readpage+0x323/0x5c0 fs/erofs/zdata.c:1453
do_read_cache_page+0x68b/0xa70 mm/filemap.c:3513
read_cache_page+0x4d/0x70 mm/filemap.c:3614
read_mapping_page include/linux/pagemap.h:513 [inline]
find_target_block_classic fs/erofs/namei.c:104 [inline]
erofs_namei+0x178/0x1050 fs/erofs/namei.c:184
erofs_lookup+0x141/0x3b0 fs/erofs/namei.c:228
__lookup_hash+0x141/0x290 fs/namei.c:1560
filename_create+0x276/0x4f0 fs/namei.c:3709
do_mknodat+0x16c/0x5b0 fs/namei.c:3852
__do_sys_mknodat fs/namei.c:3894 [inline]
__se_sys_mknodat fs/namei.c:3891 [inline]
__x64_sys_mknodat+0xa9/0xc0 fs/namei.c:3891
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f72d7a8be19
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:00007ffef48689c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000103
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f72d7a8be19
RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000005
RBP: 00007f72d7a4b610 R08: 0000555556fa02c0 R09: 0000000000000000
R10: 0000000000000700 R11: 0000000000000246 R12: 00007f72d7a4b6a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
CR2: fffff52100053e27
---[ end trace 322452632683d957 ]---
RIP: 0010:z_erofs_decompress_pcluster fs/erofs/zdata.c:934 [inline]
RIP: 0010:z_erofs_decompress_queue+0xc7c/0x1cd0 fs/erofs/zdata.c:1043
Code: 00 00 00 fc ff df 41 0f b6 04 1e 84 c0 0f 85 8d 03 00 00 41 8b 45 00 c1 f8 02 48 8b 4c 24 60 4c 8d 2c c1 4d 89 ee 49 c1 ee 03 <41> 80 3c 1e 00 74 08 4c 89 ef e8 75 ff 7c ff 4d 8b 7d 00 4d 85 ff
RSP: 0018:ffffc9000029f000 EFLAGS: 00010a06
RAX: 00000000ffffffff RBX: dffffc0000000000 RCX: ffffc9000029f140
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00047b8768
RBP: ffffc9000029f570 R08: dffffc0000000000 R09: fffff940008f70ee
R10: fffff940008f70ee R11: 1ffffd40008f70ed R12: ffffea00047b8740
R13: ffffc9080029f138 R14: 1ffff92100053e27 R15: ffff88810feeecd8
FS: 0000555556fa0300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52100053e27 CR3: 000000011e5c1000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 6 bytes skipped:
0: 41 0f b6 04 1e movzbl (%r14,%rbx,1),%eax
5: 84 c0 test %al,%al
7: 0f 85 8d 03 00 00 jne 0x39a
d: 41 8b 45 00 mov 0x0(%r13),%eax
11: c1 f8 02 sar $0x2,%eax
14: 48 8b 4c 24 60 mov 0x60(%rsp),%rcx
19: 4c 8d 2c c1 lea (%rcx,%rax,8),%r13
1d: 4d 89 ee mov %r13,%r14
20: 49 c1 ee 03 shr $0x3,%r14
* 24: 41 80 3c 1e 00 cmpb $0x0,(%r14,%rbx,1) <-- trapping instruction
29: 74 08 je 0x33
2b: 4c 89 ef mov %r13,%rdi
2e: e8 75 ff 7c ff callq 0xff7cffa8
33: 4d 8b 7d 00 mov 0x0(%r13),%r15
37: 4d 85 ff test %r15,%r15