ci2 starts bisection 2023-04-02 18:45:58.074793762 +0000 UTC m=+379059.088452761 bisecting fixing commit since 0a924817d2ed9396401e0557c6134276d2e26382 building syzkaller on 9da18ae8fa827d046ef8da48cc23c97418553c23 ensuring issue is reproducible on original commit 0a924817d2ed9396401e0557c6134276d2e26382 testing commit 0a924817d2ed9396401e0557c6134276d2e26382 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4ab23436b5bc134c3c0a485b6a579424b4a839f2c2a0dc9287bd6bda65607bc3 all runs: crashed: general protection fault in gfs2_rgrp_dump testing current HEAD 6ab608fe852b50fe809b22cdf7db6cbe006d7cb3 testing commit 6ab608fe852b50fe809b22cdf7db6cbe006d7cb3 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0ca7e971e4b5d87816c6f8ac4881a431a064fd3f812497b89e679eae3d0f93c5 all runs: crashed: general protection fault in gfs2_rgrp_dump revisions tested: 2, total time: 45m54.975833945s (build: 38m15.829624698s, test: 6m12.640782522s) the crash still happens on HEAD commit msg: Merge tag 'for-6.3-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux crash: general protection fault in gfs2_rgrp_dump ri_length = 1 ri_data0 = 19 ri_data = 2060 ri_bitbytes = 514 start=0 len=514 offset=128 gfs2: fsid=syz:syz.s: R: n:18 f:00 b:0/0 i:0 q:0 r:0 e:0 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 5568 Comm: syz-executor.0 Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:gfs2_rgrp_dump+0x19a/0x4d0 Code: 00 00 49 8d 5f 68 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 84 9e 68 fe 48 8b 2b 48 8d 7d 04 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 bf 02 00 00 8b 4d 04 48 8d 7d 08 48 89 RSP: 0018:ffffc90004877398 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff888076af8068 RCX: 11ca3901dbd61900 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10173a515b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90004877440 R15: ffff888076af8000 FS: 00007f0758908700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7e85bbf378 CR3: 0000000028be9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_rgrpd_i+0xd0/0x190 gfs2_ri_update+0xd64/0x1710 gfs2_rindex_update+0x242/0x2e0 init_inodes+0x230/0x2e0 gfs2_fill_super+0x17fe/0x22b0 get_tree_bdev+0x3d7/0x620 gfs2_get_tree+0x4b/0x1a0 vfs_get_tree+0x7f/0x220 do_new_mount+0x1e5/0x940 __se_sys_mount+0x20d/0x2a0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0757c8d5da Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f0758907f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012517 RCX: 00007f0757c8d5da RDX: 00000000200124c0 RSI: 0000000020000000 RDI: 00007f0758907fe0 RBP: 00007f0758908020 R08: 00007f0758908020 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000246 R12: 00000000200124c0 R13: 0000000020000000 R14: 00007f0758907fe0 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_rgrp_dump+0x19a/0x4d0 Code: 00 00 49 8d 5f 68 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 84 9e 68 fe 48 8b 2b 48 8d 7d 04 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 bf 02 00 00 8b 4d 04 48 8d 7d 08 48 89 RSP: 0018:ffffc90004877398 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff888076af8068 RCX: 11ca3901dbd61900 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10173a515b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90004877440 R15: ffff888076af8000 FS: 00007f0758908700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7e85bbf378 CR3: 0000000028be9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 49 8d 5f 68 lea 0x68(%r15),%rbx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 84 9e 68 fe callq 0xfe689ea0 1c: 48 8b 2b mov (%rbx),%rbp 1f: 48 8d 7d 04 lea 0x4(%rbp),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 bf 02 00 00 jne 0x2f6 37: 8b 4d 04 mov 0x4(%rbp),%ecx 3a: 48 8d 7d 08 lea 0x8(%rbp),%rdi 3e: 48 rex.W 3f: 89 .byte 0x89