BTRFS info (device loop4): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf BTRFS info (device loop4): at unmount dio bytes count 69632 ------------[ cut here ]------------ cache->reserved > 0 WARNING: fs/btrfs/block-group.c:172 at btrfs_put_block_group+0x305/0x360 fs/btrfs/block-group.c:172, CPU#0: syz-executor/5796 Modules linked in: CPU: 0 UID: 0 PID: 5796 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 RIP: 0010:btrfs_put_block_group+0x305/0x360 fs/btrfs/block-group.c:172 Code: 42 80 3c 20 00 74 08 48 89 df e8 46 06 29 fe bf 48 20 00 00 48 03 3b 48 89 de e8 76 cd 01 00 e9 c0 fe ff ff e8 bc ec c3 fd 90 <0f> 0b 90 e9 84 fe ff ff e8 ae ec c3 fd e9 7a fe ff ff e8 a4 ec c3 RSP: 0018:ffffc900049d7a98 EFLAGS: 00010293 RAX: ffffffff83ff28c4 RBX: ffff888034781800 RCX: ffff888039e90000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10077f2497 R12: dffffc0000000000 R13: ffff888034781b64 R14: 0000000000011000 R15: dffffc0000000000 FS: 0000555562a18500(0000) GS:ffff888126595000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc70df4e223 CR3: 0000000043d04000 CR4: 00000000003526f0 Call Trace: btrfs_free_block_groups+0xd36/0x1110 fs/btrfs/block-group.c:4665 close_ctree+0x7b4/0x13b0 fs/btrfs/disk-io.c:4456 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+0xed/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fec0f9dd1d7 Code: a2 c7 05 bc e3 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 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 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe18896e08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fec0fa71c3b RCX: 00007fec0f9dd1d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe18896ec0 RBP: 00007ffe18896ec0 R08: 00007ffe18897ec0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe18897f50 R13: 00007fec0fa71c3b R14: 00000000000267f4 R15: 00007ffe18897f90