ci2 starts bisection 2023-02-01 08:58:20.565209066 +0000 UTC m=+167604.618268890 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: d8042f15b4b95426df05b0c1d399972347ff7d53b1651f611e8d785dc451f501 all runs: crashed: general protection fault in gfs2_rindex_update 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: f93788a989b772bfda222f947810ce4a0e834335280b9b91224a9b4fd59ede9a all runs: crashed: general protection fault in gfs2_rindex_update revisions tested: 2, total time: 38m2.016497718s (build: 29m16.845449031s, test: 6m40.782584608s) 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_rindex_update loop0: detected capacity change from 0 to 32768 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.0: journal 0 mapped with 3 extents in 0ms general protection fault, probably for non-canonical address 0xdffffc0000000097: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000004b8-0x00000000000004bf] CPU: 1 PID: 5602 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_rindex_update+0xa0/0x300 fs/gfs2/rgrp.c:1037 Code: 07 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 71 a5 5d fe 4c 8b 3b 49 8d 9f b8 04 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 51 a5 5d fe 48 8b 03 48 89 44 24 RSP: 0018:ffffc90004a1f200 EFLAGS: 00010202 RAX: 0000000000000097 RBX: 00000000000004b8 RCX: 1ffff92000943ead RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffff888026a08000 RBP: ffffc90004a1f310 R08: dffffc0000000000 R09: ffffed100e6ad140 R10: ffffed100e6ad140 R11: 1ffff1100e6ad13f R12: dffffc0000000000 R13: 1ffff92000943e48 R14: ffff888026a08000 R15: 0000000000000000 FS: 00007f791fac9700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f791faca000 CR3: 000000001aa8d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: punch_hole+0xd1f/0x34b0 fs/gfs2/bmap.c:1793 gfs2_truncatei_resume+0x32/0x50 fs/gfs2/bmap.c:2151 gfs2_glock_holder_ready fs/gfs2/glock.c:1299 [inline] gfs2_glock_wait+0x15d/0x1f0 fs/gfs2/glock.c:1319 gfs2_glock_nq_init fs/gfs2/glock.h:262 [inline] init_statfs fs/gfs2/ops_fstype.c:696 [inline] init_journal+0x1471/0x2030 fs/gfs2/ops_fstype.c:820 init_inodes+0xcb/0x300 fs/gfs2/ops_fstype.c:889 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:0x7f791ec8d5da 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:00007f791fac8f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012551 RCX: 00007f791ec8d5da RDX: 00000000200124c0 RSI: 0000000020000040 RDI: 00007f791fac8fe0 RBP: 00007f791fac9020 R08: 00007f791fac9020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000200124c0 R13: 0000000020000040 R14: 00007f791fac8fe0 R15: 0000000020000080 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_rindex_update+0xa0/0x300 fs/gfs2/rgrp.c:1037 Code: 07 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 71 a5 5d fe 4c 8b 3b 49 8d 9f b8 04 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 51 a5 5d fe 48 8b 03 48 89 44 24 RSP: 0018:ffffc90004a1f200 EFLAGS: 00010202 RAX: 0000000000000097 RBX: 00000000000004b8 RCX: 1ffff92000943ead RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffff888026a08000 RBP: ffffc90004a1f310 R08: dffffc0000000000 R09: ffffed100e6ad140 R10: ffffed100e6ad140 R11: 1ffff1100e6ad13f R12: dffffc0000000000 R13: 1ffff92000943e48 R14: ffff888026a08000 R15: 0000000000000000 FS: 00007f791fac9700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563877ff8950 CR3: 000000001aa8d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 48 89 d8 mov %rbx,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) e: 74 08 je 0x18 10: 48 89 df mov %rbx,%rdi 13: e8 71 a5 5d fe callq 0xfe5da589 18: 4c 8b 3b mov (%rbx),%r15 1b: 49 8d 9f b8 04 00 00 lea 0x4b8(%r15),%rbx 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 51 a5 5d fe callq 0xfe5da589 38: 48 8b 03 mov (%rbx),%rax 3b: 48 rex.W 3c: 89 .byte 0x89 3d: 44 rex.R 3e: 24 .byte 0x24