BTRFS info (device loop0 state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ fs_info->delayed_refs_rsv.reserved > 0 WARNING: fs/btrfs/block-rsv.c:472 at btrfs_release_global_block_rsv+0x2e4/0x300 fs/btrfs/block-rsv.c:472, CPU#0: syz.0.0/5331 Modules linked in: CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:btrfs_release_global_block_rsv+0x2e4/0x300 fs/btrfs/block-rsv.c:472 Code: 0f 0b 90 e9 c1 fe ff ff e8 69 fd ae fd 90 0f 0b 90 e9 eb fe ff ff e8 5b fd ae fd 90 0f 0b 90 e9 15 ff ff ff e8 4d fd ae fd 90 <0f> 0b 90 e9 46 ff ff ff e8 3f fd ae fd 90 0f 0b 90 e9 69 ff ff ff RSP: 0018:ffffc90005a17aa8 EFLAGS: 00010293 RAX: ffffffff8416c8c3 RBX: ffff888012eb0478 RCX: ffff8880341b4a80 RDX: 0000000000000000 RSI: 0000000000008000 RDI: 0000000000000000 RBP: ffff888012eb0190 R08: ffff888041e61023 R09: 1ffff110083cc204 R10: dffffc0000000000 R11: ffffed10083cc205 R12: ffff888012eb0000 R13: 0000000000000000 R14: 0000000000008000 R15: dffffc0000000000 FS: 000055557373b540(0000) GS:ffff88808c893000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f854abd7e9c CR3: 000000001abe7000 CR4: 0000000000352ef0 Call Trace: btrfs_free_block_groups+0xdf0/0x1090 fs/btrfs/block-group.c:4749 close_ctree+0x7f3/0x12d0 fs/btrfs/disk-io.c:4458 generic_shutdown_super+0x13d/0x2d0 fs/super.c:646 kill_anon_super+0x3b/0x70 fs/super.c:1292 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2127 deactivate_locked_super+0xbc/0x130 fs/super.c:476 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0x193/0x680 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff13a59ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff01e59818 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ff13a817da0 RCX: 00007ff13a59ce59 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ff13a817da0 R08: 00007ff13a816038 R09: 0000000000000000 R10: 0000000000dd2638 R11: 0000000000000246 R12: 00000000000153af R13: 00007ff13a81609c R14: 000000000001537b R15: 00007ff13a816090