ci2 starts bisection 2023-04-22 18:39:00.377593044 +0000 UTC m=+119481.492420400 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: 7c9b4f7f81aec6bc0f55106b8a4110d4fde95d28a52a3c69cf03c86dc65a4c6b all runs: crashed: BUG: unable to handle kernel paging request in z_erofs_decompress_queue testing current HEAD 7364b7abbafbeaab61d763c46d84145488b98a3c testing commit 7364b7abbafbeaab61d763c46d84145488b98a3c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 856a44ab4d1705e5c3b859795341fa274c906056584228e0c4d35bba41b948f7 all runs: crashed: BUG: unable to handle kernel paging request in z_erofs_decompress_queue revisions tested: 2, total time: 26m22.199973413s (build: 17m44.535686591s, test: 7m52.466901167s) the crash still happens on HEAD commit msg: Merge branch 'android13-5.15' 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: fffff521000d0e3b #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: 385 Comm: syz-executor.0 Not tainted 5.15.98-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:z_erofs_decompress_pcluster fs/erofs/zdata.c:1077 [inline] RIP: 0010:z_erofs_decompress_queue+0x9fc/0x1730 fs/erofs/zdata.c:1186 Code: 00 e8 28 85 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 83 93 ff 4d 8b 27 4d 85 e4 RSP: 0018:ffffc900006870a0 EFLAGS: 00010a02 RAX: 00000000ffffffff RBX: ffffc900006871e0 RCX: ffffffff820788d8 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00049315a8 RBP: ffffc90000687610 R08: dffffc0000000000 R09: fffff940009262b6 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff921000d0e3b R14: ffffea0004931580 R15: ffffc908006871d8 FS: 00007f0c1d29b700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff521000d0e3b CR3: 000000012373a000 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:1512 z_erofs_readpage+0x2cd/0x4d0 fs/erofs/zdata.c:1599 do_read_cache_page+0x440/0x680 read_cache_page+0x49/0x70 mm/filemap.c:3620 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:0x7f0c1d7275a9 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:00007f0c1d29b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 00007f0c1d847f80 RCX: 00007f0c1d7275a9 RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f0c1d7827b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000700 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe63ad39f R14: 00007f0c1d29b300 R15: 0000000000022000 Modules linked in: CR2: fffff521000d0e3b ---[ end trace cf79006be84624c1 ]--- RIP: 0010:z_erofs_decompress_pcluster fs/erofs/zdata.c:1077 [inline] RIP: 0010:z_erofs_decompress_queue+0x9fc/0x1730 fs/erofs/zdata.c:1186 Code: 00 e8 28 85 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 83 93 ff 4d 8b 27 4d 85 e4 RSP: 0018:ffffc900006870a0 EFLAGS: 00010a02 RAX: 00000000ffffffff RBX: ffffc900006871e0 RCX: ffffffff820788d8 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00049315a8 RBP: ffffc90000687610 R08: dffffc0000000000 R09: fffff940009262b6 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff921000d0e3b R14: ffffea0004931580 R15: ffffc908006871d8 FS: 00007f0c1d29b700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff521000d0e3b CR3: 000000012373a000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 28 85 93 ff callq 0xff93852d 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 83 93 ff callq 0xff93834d 39: 4d 8b 27 mov (%r15),%r12 3c: 4d 85 e4 test %r12,%r12