ci2 starts bisection 2023-03-23 15:38:15.022485043 +0000 UTC m=+83204.367570132 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: 9584d079477b79f71b1a51c434f09b65836087d9ed523540f7ff596c077e5f61 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: 0b0007a66c5046d011346e411357757f035bfc2529da4b5f6a8652a3496a2c97 all runs: crashed: BUG: unable to handle kernel paging request in z_erofs_decompress_queue revisions tested: 2, total time: 19m16.078080213s (build: 11m11.219038151s, test: 6m32.827440271s) 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: 1 PID: 387 Comm: syz-executor.0 Not tainted 5.15.94-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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: ffffea000485f5e8 RBP: ffffc900006e7610 R08: dffffc0000000000 R09: fffff9400090bebe R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff921000dce3b R14: ffffea000485f5c0 R15: ffffc908006e71d8 FS: 00007fea24dd4700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff521000dce3b CR3: 0000000122957000 CR4: 00000000003506a0 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:0x7fea252605a9 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:00007fea24dd4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 00007fea25380f80 RCX: 00007fea252605a9 RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007fea252bb7b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000700 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff99282e0f R14: 00007fea24dd4300 R15: 0000000000022000 Modules linked in: CR2: fffff521000dce3b ---[ end trace 1484fd287db226a9 ]--- 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: ffffea000485f5e8 RBP: ffffc900006e7610 R08: dffffc0000000000 R09: fffff9400090bebe R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff921000dce3b R14: ffffea000485f5c0 R15: ffffc908006e71d8 FS: 00007fea24dd4700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff521000dce3b CR3: 0000000122957000 CR4: 00000000003506a0 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