ci starts bisection 2023-04-21 06:52:37.140787859 +0000 UTC m=+74551.923447962 bisecting fixing commit since 2faac9a98f010cf5b342fa89ac489c4586364e6e building syzkaller on 8b4eb097b2e5a6f78a8d0b1ae48de4bbaa4c45a1 ensuring issue is reproducible on original commit 2faac9a98f010cf5b342fa89ac489c4586364e6e testing commit 2faac9a98f010cf5b342fa89ac489c4586364e6e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ddca99578fc88f8ee1dcec15491701abf886bab966bb568b24b0f748e57aaab3 all runs: crashed: kernel BUG in set_state_bits testing current HEAD 2af3e53a4dc08657f1b46f97f04ff4a0ab3cad8d testing commit 2af3e53a4dc08657f1b46f97f04ff4a0ab3cad8d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d87ea8ae5c8b1ba3b676bdcebe00a59d22150e2a47ea317807b7142b88a74af9 all runs: crashed: kernel BUG in set_state_bits revisions tested: 2, total time: 47m26.134953286s (build: 40m51.118510082s, test: 5m59.738625347s) the crash still happens on HEAD commit msg: Merge tag 'drm-fixes-2023-04-21' of git://anongit.freedesktop.org/drm/drm crash: kernel BUG in set_state_bits RAX: ffffffffffffffda RBX: 00007f701c3abf80 RCX: 00007f701c28c0f9 RDX: 0000000020000000 RSI: 0000000040305839 RDI: 0000000000000005 RBP: 00007f701d02f1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffddcc8a58f R14: 00007f701d02f300 R15: 0000000000022000 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-io-tree.c:379! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5606 Comm: syz-executor.0 Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:set_state_bits.isra.0+0x129/0x170 fs/btrfs/extent-io-tree.c:379 Code: 0f b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 43 7c 41 09 c4 44 89 63 7c 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b 4c 89 ef e8 8d 8d 7a fe e9 1a ff ff ff 4c 89 ef e8 80 8d 7a RSP: 0018:ffffc9000507f800 EFLAGS: 00010282 RAX: 00000000fffffff4 RBX: ffff88807a831600 RCX: 0000000000000000 RDX: 0000000000000038 RSI: 0000000000000000 RDI: ffff888011441640 RBP: ffff88802a585880 R08: 0000000000000080 R09: ffffffff8b8fdc13 R10: 00000000fffffff4 R11: 0000000000000000 R12: 0000000000000800 R13: ffff88807a83167c R14: 000000000000ffff R15: 0000000000000000 FS: 00007f701d02f700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2f8f6d3e0 CR3: 000000001ba93000 CR4: 0000000000350ef0 Call Trace: __set_extent_bit+0x6c2/0x10b0 fs/btrfs/extent-io-tree.c:1042 set_record_extent_bits+0x38/0x70 fs/btrfs/extent-io-tree.c:1690 qgroup_reserve_data+0x1c2/0x830 fs/btrfs/qgroup.c:3786 btrfs_qgroup_reserve_data+0x1c/0x80 fs/btrfs/qgroup.c:3829 btrfs_zero_range fs/btrfs/file.c:2997 [inline] btrfs_fallocate+0x15c9/0x2220 fs/btrfs/file.c:3114 vfs_fallocate+0x2a3/0xba0 fs/open.c:324 ioctl_preallocate+0x145/0x1c0 fs/ioctl.c:290 file_ioctl fs/ioctl.c:335 [inline] do_vfs_ioctl+0x1090/0x1320 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0xc9/0x190 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f701c28c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007f701d02f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f701c3abf80 RCX: 00007f701c28c0f9 RDX: 0000000020000000 RSI: 0000000040305839 RDI: 0000000000000005 RBP: 00007f701d02f1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffddcc8a58f R14: 00007f701d02f300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_state_bits.isra.0+0x129/0x170 fs/btrfs/extent-io-tree.c:379 Code: 0f b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 43 7c 41 09 c4 44 89 63 7c 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b 4c 89 ef e8 8d 8d 7a fe e9 1a ff ff ff 4c 89 ef e8 80 8d 7a RSP: 0018:ffffc9000507f800 EFLAGS: 00010282 RAX: 00000000fffffff4 RBX: ffff88807a831600 RCX: 0000000000000000 RDX: 0000000000000038 RSI: 0000000000000000 RDI: ffff888011441640 RBP: ffff88802a585880 R08: 0000000000000080 R09: ffffffff8b8fdc13 R10: 00000000fffffff4 R11: 0000000000000000 R12: 0000000000000800 R13: ffff88807a83167c R14: 000000000000ffff R15: 0000000000000000 FS: 00007f701d02f700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2f8f6d3e0 CR3: 000000001ba93000 CR4: 0000000000350ef0