ci2 starts bisection 2023-02-21 06:15:26.273072714 +0000 UTC m=+42629.596435689 bisecting fixing commit since 7f2e600bf63a9cda882a6c86de04183e5061e8ee building syzkaller on 08977f5d5e344fa0ac0b80af0b72fc3f1468d6a5 ensuring issue is reproducible on original commit 7f2e600bf63a9cda882a6c86de04183e5061e8ee testing commit 7f2e600bf63a9cda882a6c86de04183e5061e8ee gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8248ee2715e0fe9cb22df6104fdc15cc796aeb6b01b693aea3e3ad350ef7fea0 all runs: crashed: BUG: unable to handle kernel paging request in z_erofs_decompress_queue testing current HEAD 5448b2fda85f2d90de03f053226f721ba2f7e731 testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7b4c3b685f031a634b551b391dee3cfa8b3bd6e0aa4eda38b2bfdf5e059df7f4 all runs: crashed: BUG: unable to handle kernel paging request in z_erofs_decompress_queue revisions tested: 2, total time: 23m2.974930934s (build: 15m22.809502525s, test: 5m39.10553282s) the crash still happens on HEAD commit msg: Merge 5.15.94 into android13-5.15-lts crash: BUG: unable to handle kernel paging request in z_erofs_decompress_queue erofs: (device loop0): mounted with root inode @ nid 36. erofs: (device loop0): z_erofs_pcluster_readmore: readmore error at page 3 @ nid 36 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: fffff521000dce3b #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: 390 Comm: syz-executor.0 Not tainted 5.15.94-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:z_erofs_decompress_pcluster fs/erofs/zdata.c:931 [inline] RIP: 0010:z_erofs_decompress_queue+0x9fc/0x1730 fs/erofs/zdata.c:1040 Code: 00 e8 28 9f 93 ff 43 0f b6 04 27 84 c0 48 8b 5c 24 58 0f 85 75 02 00 00 41 8b 45 00 c1 f8 02 4c 8d 3c c3 4d 89 fd 49 c1 ed 03 <43> 80 7c 25 00 00 74 08 4c 89 ff e8 14 9d 93 ff 4d 8b 27 4d 85 e4 RSP: 0018:ffffc900006e70a0 EFLAGS: 00010a02 RAX: 00000000ffffffff RBX: ffffc900006e71e0 RCX: ffffffff820789e8 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00047e3828 RBP: ffffc900006e7610 R08: dffffc0000000000 R09: fffff940008fc706 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff921000dce3b R14: ffffea00047e3800 R15: ffffc908006e71d8 FS: 00007fe3ecf38700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff521000dce3b CR3: 000000012304f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: z_erofs_runqueue+0x101b/0x10e0 fs/erofs/zdata.c:1362 z_erofs_readpage+0x2cd/0x4d0 fs/erofs/zdata.c:1449 do_read_cache_page+0x440/0x680 read_cache_page+0x49/0x70 mm/filemap.c:3619 read_mapping_page include/linux/pagemap.h:513 [inline] find_target_block_classic fs/erofs/namei.c:104 [inline] erofs_namei+0x152/0xea0 fs/erofs/namei.c:184 erofs_lookup+0x11c/0x360 fs/erofs/namei.c:228 __lookup_hash+0x194/0x1f0 fs/namei.c:1560 filename_create+0x24e/0x490 fs/namei.c:3709 do_mknodat+0x159/0x4a0 fs/namei.c:3852 __do_sys_mknodat fs/namei.c:3894 [inline] __se_sys_mknodat fs/namei.c:3891 [inline] __x64_sys_mknodat+0xa4/0xc0 fs/namei.c:3891 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+0x61/0xcb RIP: 0033:0x7fe3ed3c45a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe3ecf38168 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 00007fe3ed4e4f80 RCX: 00007fe3ed3c45a9 RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007fe3ed41f7b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000700 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeeb0fa93f R14: 00007fe3ecf38300 R15: 0000000000022000 Modules linked in: CR2: fffff521000dce3b ---[ end trace 914b51388fd473dd ]--- RIP: 0010:z_erofs_decompress_pcluster fs/erofs/zdata.c:931 [inline] RIP: 0010:z_erofs_decompress_queue+0x9fc/0x1730 fs/erofs/zdata.c:1040 Code: 00 e8 28 9f 93 ff 43 0f b6 04 27 84 c0 48 8b 5c 24 58 0f 85 75 02 00 00 41 8b 45 00 c1 f8 02 4c 8d 3c c3 4d 89 fd 49 c1 ed 03 <43> 80 7c 25 00 00 74 08 4c 89 ff e8 14 9d 93 ff 4d 8b 27 4d 85 e4 RSP: 0018:ffffc900006e70a0 EFLAGS: 00010a02 RAX: 00000000ffffffff RBX: ffffc900006e71e0 RCX: ffffffff820789e8 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00047e3828 RBP: ffffc900006e7610 R08: dffffc0000000000 R09: fffff940008fc706 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff921000dce3b R14: ffffea00047e3800 R15: ffffc908006e71d8 FS: 00007fe3ecf38700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff521000dce3b CR3: 000000012304f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 28 9f 93 ff callq 0xff939f2d 5: 43 0f b6 04 27 movzbl (%r15,%r12,1),%eax a: 84 c0 test %al,%al c: 48 8b 5c 24 58 mov 0x58(%rsp),%rbx 11: 0f 85 75 02 00 00 jne 0x28c 17: 41 8b 45 00 mov 0x0(%r13),%eax 1b: c1 f8 02 sar $0x2,%eax 1e: 4c 8d 3c c3 lea (%rbx,%rax,8),%r15 22: 4d 89 fd mov %r15,%r13 25: 49 c1 ed 03 shr $0x3,%r13 * 29: 43 80 7c 25 00 00 cmpb $0x0,0x0(%r13,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 14 9d 93 ff callq 0xff939d4d 39: 4d 8b 27 mov (%r15),%r12 3c: 4d 85 e4 test %r12,%r12