ci2 starts bisection 2023-02-01 11:44:04.353997836 +0000 UTC m=+5783.107281438 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 13.0.1-6~deb11u1, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 970a2dad22ee5e19981a59a09b7a3b2f0f470708aaa69a0a9af88f6aac3377cd all runs: crashed: general protection fault in gfs2_rgrp_dump testing current HEAD c0b67534c95c537f7a506a06b98e5e85d72e2b7d testing commit c0b67534c95c537f7a506a06b98e5e85d72e2b7d gcc compiler: Debian clang version 13.0.1-6~deb11u1, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cd3206903ee173b3cec178d498158429dbc5d3b7c0723f348789178c559e7fc4 all runs: crashed: general protection fault in gfs2_rgrp_dump revisions tested: 2, total time: 41m38.242708516s (build: 31m38.106607718s, test: 6m50.79726455s) the crash still happens on HEAD commit msg: Merge tag 'cgroup-for-6.2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup 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: 0 PID: 5604 Comm: syz-executor.0 Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:gfs2_rgrp_dump+0x198/0x4d0 fs/gfs2/rgrp.c:2313 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 b6 25 5d fe 48 8b 2b 48 8d 7d 04 48 89 f8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 c4 02 00 00 8b 4d 04 48 8d 7d 08 48 89 f8 RSP: 0018:ffffc900021873d8 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff8880798b6068 RCX: d95fe7f6136a1700 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000004 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff52000430dd1 R10: fffff52000430dd1 R11: 1ffff92000430dd0 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90002187480 R15: ffff8880798b6000 FS: 00007efec1d44700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47825acbf6 CR3: 000000001ef8c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_rgrpd_i+0xcd/0x190 fs/gfs2/util.c:480 read_rindex_entry fs/gfs2/rgrp.c:931 [inline] gfs2_ri_update+0xd80/0x1770 fs/gfs2/rgrp.c:1001 gfs2_rindex_update+0x259/0x300 fs/gfs2/rgrp.c:1051 init_inodes+0x223/0x300 fs/gfs2/ops_fstype.c:917 gfs2_fill_super+0x17a5/0x2300 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x3d5/0x620 fs/super.c:1282 gfs2_get_tree+0x47/0x1a0 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x7b/0x220 fs/super.c:1489 do_new_mount+0x1df/0x930 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x20f/0x2a0 fs/namespace.c:3674 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+0x63/0xcd RIP: 0033:0x7efec108d5da 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:00007efec1d43f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012517 RCX: 00007efec108d5da RDX: 00000000200124c0 RSI: 0000000020000000 RDI: 00007efec1d43fe0 RBP: 00007efec1d44020 R08: 00007efec1d44020 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000246 R12: 00000000200124c0 R13: 0000000020000000 R14: 00007efec1d43fe0 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_rgrp_dump+0x198/0x4d0 fs/gfs2/rgrp.c:2313 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 b6 25 5d fe 48 8b 2b 48 8d 7d 04 48 89 f8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 c4 02 00 00 8b 4d 04 48 8d 7d 08 48 89 f8 RSP: 0018:ffffc900021873d8 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff8880798b6068 RCX: d95fe7f6136a1700 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000004 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff52000430dd1 R10: fffff52000430dd1 R11: 1ffff92000430dd0 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90002187480 R15: ffff8880798b6000 FS: 00007efec1d44700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47825acbf6 CR3: 000000001ef8c000 CR4: 00000000003506f0 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 b6 25 5d fe callq 0xfe5d25d2 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 8a 04 28 mov (%rax,%r13,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 c4 02 00 00 jne 0x2fa 36: 8b 4d 04 mov 0x4(%rbp),%ecx 39: 48 8d 7d 08 lea 0x8(%rbp),%rdi 3d: 48 89 f8 mov %rdi,%rax