ci2 starts bisection 2022-11-21 20:00:54.718710387 +0000 UTC m=+3203.813214373 bisecting fixing commit since 3800a713b6070d4f03fb43613a7b7d536a99b2b7 building syzkaller on 10323ddf71b1e5ea30453d7bf17f0815d9e0514a ensuring issue is reproducible on original commit 3800a713b6070d4f03fb43613a7b7d536a99b2b7 testing commit 3800a713b6070d4f03fb43613a7b7d536a99b2b7 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a4bb7b8fd16897e948fd4b29247135e0df424eb990d7dcaffa6cfc42427b1140 run #0: crashed: WARNING in btrfs_create_new_inode run #1: crashed: WARNING in btrfs_create_new_inode run #2: crashed: WARNING in btrfs_create_new_inode run #3: crashed: WARNING in btrfs_create_new_inode run #4: crashed: kernel BUG in btrfs_free_tree_block run #5: crashed: WARNING in btrfs_create_new_inode run #6: crashed: kernel BUG in btrfs_free_tree_block run #7: crashed: WARNING in btrfs_create_new_inode run #8: crashed: WARNING in btrfs_create_new_inode run #9: crashed: WARNING in btrfs_create_new_inode run #10: crashed: WARNING in btrfs_create_new_inode run #11: crashed: WARNING in btrfs_create_new_inode run #12: crashed: WARNING in btrfs_create_new_inode run #13: crashed: WARNING in btrfs_create_new_inode run #14: crashed: kernel BUG in btrfs_free_tree_block run #15: crashed: WARNING in btrfs_create_new_inode run #16: crashed: WARNING in btrfs_create_new_inode run #17: crashed: WARNING in btrfs_create_new_inode run #18: crashed: kernel BUG in btrfs_free_tree_block run #19: crashed: WARNING in btrfs_create_new_inode testing current HEAD eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 testing commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ade3708a68f9dc96d957295a0c3c88519b5672b9059da83caa27861ae24ddcaf all runs: crashed: WARNING in btrfs_block_rsv_release revisions tested: 2, total time: 39m28.270564342s (build: 32m2.191718612s, test: 6m34.155322293s) the crash still happens on HEAD commit msg: Linux 6.1-rc6 crash: WARNING in btrfs_block_rsv_release ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4083 at fs/btrfs/space-info.h:122 btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:122 [inline] WARNING: CPU: 0 PID: 4083 at fs/btrfs/space-info.h:122 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:154 [inline] WARNING: CPU: 0 PID: 4083 at fs/btrfs/space-info.h:122 block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] WARNING: CPU: 0 PID: 4083 at fs/btrfs/space-info.h:122 btrfs_block_rsv_release+0x4a2/0x5f0 fs/btrfs/block-rsv.c:295 Modules linked in: CPU: 0 PID: 4083 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:122 [inline] RIP: 0010:btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:154 [inline] RIP: 0010:block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] RIP: 0010:btrfs_block_rsv_release+0x4a2/0x5f0 fs/btrfs/block-rsv.c:295 Code: e8 d3 19 00 00 48 85 ed 79 26 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 e7 e8 94 3e 69 fe 4d 39 3c 24 73 06 <0f> 0b 31 db eb 21 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 RSP: 0018:ffffc9000454fa90 EFLAGS: 00010287 RAX: dffffc0000000000 RBX: ffff8880775978b0 RCX: 0000000080000002 RDX: 0000000000000000 RSI: ffffffff89ad3860 RDI: ffffffff8a0bad40 RBP: fffffffffff20000 R08: dffffc0000000000 R09: fffffbfff1a349ce R10: fffffbfff1a349ce R11: 1ffffffff1a349cd R12: ffff888077597860 R13: 1ffff1100eeb2f0c R14: 00000000000e0000 R15: 00000000000e0000 FS: 0000555557297400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564899a54950 CR3: 0000000016bb1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_release_global_block_rsv+0x27/0x190 fs/btrfs/block-rsv.c:463 btrfs_free_block_groups+0x9ce/0xd10 fs/btrfs/block-group.c:4051 close_ctree+0x65e/0xb6a fs/btrfs/disk-io.c:4710 generic_shutdown_super+0x10f/0x2a0 fs/super.c:492 kill_anon_super+0x31/0x60 fs/super.c:1086 btrfs_kill_super+0x38/0x50 fs/btrfs/super.c:2441 deactivate_locked_super+0x82/0xd0 fs/super.c:332 cleanup_mnt+0x3fe/0x480 fs/namespace.c:1186 task_work_run+0x227/0x2b0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b3c88bad7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 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:00007fffae4d2f48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4b3c88bad7 RDX: 00007fffae4d3019 RSI: 000000000000000a RDI: 00007fffae4d3010 RBP: 00007fffae4d3010 R08: 00000000ffffffff R09: 00007fffae4d2de0 R10: 00005555572988b3 R11: 0000000000000246 R12: 00007f4b3c8e45d6 R13: 00007fffae4d40d0 R14: 0000555557298810 R15: 00007fffae4d4110