syzbot


WARNING in btrfs_release_global_block_rsv

Status: upstream: reported C repro on 2025/03/05 00:58
Reported-by: syzbot+c49ae47da67281beb05a@syzkaller.appspotmail.com
First crash: 7d10h, last: 7d07h
Bug presence (1)
Date Name Commit Repro Result
2025/03/05 upstream (ToT) 48a5eed9ad58 C Failed due to an error; will retry later
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_release_global_block_rsv 1 702d 702d 0/3 auto-obsoleted due to no activity on 2023/08/07 13:28
upstream WARNING in btrfs_release_global_block_rsv btrfs C done done 7 420d 530d 0/28 auto-obsoleted due to no activity on 2024/04/25 16:32
upstream WARNING in btrfs_release_global_block_rsv (2) btrfs C error 231 1d08h 112d 0/28 upstream: reported C repro on 2024/11/20 02:12

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4291 at fs/btrfs/block-rsv.c:479 btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
Modules linked in:
CPU: 1 PID: 4291 Comm: syz-executor412 Not tainted 6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
lr : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
sp : ffff800021107670
x29: ffff800021107670 x28: dead000000000100 x27: 0000000000000000
x26: 0000000000000001 x25: ffff0000d185f000 x24: 0000000000000000
x23: 1fffe0001a30be32 x22: ffff0000d0924178 x21: dfff800000000000
x20: 000000000001f000 x19: ffff0000d0924410 x18: ffff0000d00d3448
x17: ffff800015aed000 x16: ffff80000825bfc4 x15: 0000000000000000
x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a39d31c
x8 : ffff0000ca168000 x7 : ffff80000a39b9f4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b2fc
x2 : 0000000000000001 x1 : 000000000001f000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
 btrfs_free_block_groups+0x938/0xc9c fs/btrfs/block-group.c:4204
 close_ctree+0x5f0/0xb10 fs/btrfs/disk-io.c:4773
 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_anon_super+0x4c/0x74 fs/super.c:1128
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 835684
hardirqs last  enabled at (835683): [<ffff800008974bb8>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242
hardirqs last disabled at (835684): [<ffff80001231d31c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (831838): [<ffff8000081c40ac>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (831838): [<ffff8000081c40ac>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606
softirqs last disabled at (831745): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4291 at fs/btrfs/block-rsv.c:480 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
Modules linked in:
CPU: 1 PID: 4291 Comm: syz-executor412 Tainted: G        W          6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
lr : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
sp : ffff800021107670
x29: ffff800021107670 x28: dead000000000100 x27: 0000000000000000
x26: 0000000000000001 x25: ffff0000d185f000 x24: 0000000000000000
x23: 1fffe0001a30be32 x22: ffff0000d0924178 x21: dfff800000000000
x20: 000000000001f000 x19: 0000000000020000 x18: ffff0000d00d3448
x17: ffff800015aed000 x16: ffff80000825bfc4 x15: 0000000000000000
x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a39d328
x8 : ffff0000ca168000 x7 : ffff80000a39b9f4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b2fc
x2 : 0000000000000001 x1 : 0000000000020000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
 btrfs_free_block_groups+0x938/0xc9c fs/btrfs/block-group.c:4204
 close_ctree+0x5f0/0xb10 fs/btrfs/disk-io.c:4773
 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_anon_super+0x4c/0x74 fs/super.c:1128
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 835852
hardirqs last  enabled at (835851): [<ffff80001231f730>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last  enabled at (835851): [<ffff80001231f730>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (835852): [<ffff80001231d31c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (835846): [<ffff8000081c40ac>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (835846): [<ffff8000081c40ac>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606
softirqs last disabled at (835687): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4291 at fs/btrfs/block-group.c:4216 btrfs_free_block_groups+0x9a8/0xc9c fs/btrfs/block-group.c:4215
Modules linked in:
CPU: 1 PID: 4291 Comm: syz-executor412 Tainted: G        W          6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_free_block_groups+0x9a8/0xc9c fs/btrfs/block-group.c:4215
lr : btrfs_free_block_groups+0xbd4/0xc9c fs/btrfs/block-group.c:4215
sp : ffff8000211076a0
x29: ffff8000211076c0 x28: dead000000000100 x27: 0000000000000000
x26: 1fffe0001a124a27 x25: ffff0000d185f000 x24: 000000000001f000
x23: ffff0000d7808800 x22: ffff0000d78088b8 x21: ffff0000d0925a10
x20: ffff0000d0925138 x19: dfff800000000000 x18: ffff0000d00d3448
x17: ffff800015aed000 x16: ffff80000825bfc4 x15: 0000000000000000
x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a3b6aa8
x8 : ffff0000ca168000 x7 : ffff80000a39b9f4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b2fc
x2 : 0000000000000001 x1 : 000000000001f000 x0 : 0000000000000000
Call trace:
 btrfs_free_block_groups+0x9a8/0xc9c fs/btrfs/block-group.c:4215
 close_ctree+0x5f0/0xb10 fs/btrfs/disk-io.c:4773
 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_anon_super+0x4c/0x74 fs/super.c:1128
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 835872
hardirqs last  enabled at (835871): [<ffff80001231f730>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last  enabled at (835871): [<ffff80001231f730>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (835872): [<ffff80001231d31c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (835866): [<ffff8000081c40ac>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (835866): [<ffff8000081c40ac>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606
softirqs last disabled at (835855): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---
_btrfs_printk: 120 callbacks suppressed
BTRFS info (device loop0): space_info DATA+METADATA has 3121152 free, is not full
BTRFS info (device loop0): space_info total=3276800, used=28672, pinned=0, reserved=0, may_use=126976, readonly=0 zone_unusable=0
BTRFS info (device loop0): global_block_rsv: size 0 reserved 0
BTRFS info (device loop0): trans_block_rsv: size 0 reserved 0
BTRFS info (device loop0): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop0): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop0): delayed_refs_rsv: size 131072 reserved 126976
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4291 at fs/btrfs/block-rsv.c:479 btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
Modules linked in:
CPU: 0 PID: 4291 Comm: syz-executor412 Tainted: G        W          6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
lr : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
sp : ffff800021107670
x29: ffff800021107670 x28: dead000000000100 x27: 0000000000000000
x26: 0000000000000001 x25: ffff0000cdf16000 x24: 0000000000000000
x23: 1fffe00019be2c32 x22: ffff0000cd17c178 x21: dfff800000000000
x20: 000000000001f000 x19: ffff0000cd17c410 x18: ffff0000cfa39848
x17: ffff800015aed000 x16: ffff80000825bfc4 x15: ffff800008ad647c
x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a39d31c
x8 : ffff0000ca168000 x7 : ffff80000a39b9f4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b2fc
x2 : 0000000000000001 x1 : 000000000001f000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:479
 btrfs_free_block_groups+0x938/0xc9c fs/btrfs/block-group.c:4204
 close_ctree+0x5f0/0xb10 fs/btrfs/disk-io.c:4773
 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_anon_super+0x4c/0x74 fs/super.c:1128
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 1061350
hardirqs last  enabled at (1061349): [<ffff800008974bb8>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242
hardirqs last disabled at (1061350): [<ffff80001231d31c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (1058968): [<ffff8000081c40ac>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (1058968): [<ffff8000081c40ac>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606
softirqs last disabled at (1058957): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4291 at fs/btrfs/block-rsv.c:480 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
Modules linked in:
CPU: 0 PID: 4291 Comm: syz-executor412 Tainted: G        W          6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
lr : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
sp : ffff800021107670
x29: ffff800021107670 x28: dead000000000100 x27: 0000000000000000
x26: 0000000000000001 x25: ffff0000cdf16000 x24: 0000000000000000
x23: 1fffe00019be2c32 x22: ffff0000cd17c178 x21: dfff800000000000
x20: 000000000001f000 x19: 0000000000020000 x18: ffff0000cfa39848
x17: ffff800015aed000 x16: ffff80000825bfc4 x15: ffff800008ad647c
x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a39d328
x8 : ffff0000ca168000 x7 : ffff80000a39b9f4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b2fc
x2 : 0000000000000001 x1 : 0000000000020000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:480
 btrfs_free_block_groups+0x938/0xc9c fs/btrfs/block-group.c:4204
 close_ctree+0x5f0/0xb10 fs/btrfs/disk-io.c:4773
 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_anon_super+0x4c/0x74 fs/super.c:1128
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 1061380
hardirqs last  enabled at (1061379): [<ffff80001231f730>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last  enabled at (1061379): [<ffff80001231f730>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (1061380): [<ffff80001231d31c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (1061374): [<ffff8000081c40ac>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (1061374): [<ffff8000081c40ac>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606
softirqs last disabled at (1061355): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4291 at fs/btrfs/block-group.c:4216 btrfs_free_block_groups+0x9a8/0xc9c fs/btrfs/block-group.c:4215
Modules linked in:
CPU: 0 PID: 4291 Comm: syz-executor412 Tainted: G        W          6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_free_block_groups+0x9a8/0xc9c fs/btrfs/block-group.c:4215
lr : btrfs_free_block_groups+0xbd4/0xc9c fs/btrfs/block-group.c:4215
sp : ffff8000211076a0
x29: ffff8000211076c0 x28: dead000000000100 x27: 0000000000000000
x26: 1fffe00019a2fa27 x25: ffff0000cdf16000 x24: 000000000001f000
x23: ffff0000de7c0000 x22: ffff0000de7c00b8 x21: ffff0000cd17da10
x20: ffff0000cd17d138 x19: dfff800000000000 x18: ffff0000cfa39848
x17: ffff800015aed000 x16: ffff80000825bfc4 x15: ffff800008ad647c
x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a3b6aa8
x8 : ffff0000ca168000 x7 : ffff80000a39b9f4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b2fc
x2 : 0000000000000001 x1 : 000000000001f000 x0 : 0000000000000000
Call trace:
 btrfs_free_block_groups+0x9a8/0xc9c fs/btrfs/block-group.c:4215
 close_ctree+0x5f0/0xb10 fs/btrfs/disk-io.c:4773
 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_anon_super+0x4c/0x74 fs/super.c:1128
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 1061518
hardirqs last  enabled at (1061517): [<ffff80001231f730>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last  enabled at (1061517): [<ffff80001231f730>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (1061518): [<ffff80001231d31c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (1061512): [<ffff8000081c40ac>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (1061512): [<ffff8000081c40ac>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606
softirqs last disabled at (1061383): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---
BTRFS info (device loop0): space_info DATA+METADATA has 2969600 free, is not full
BTRFS info (device loop0): space_info total=3276800, used=180224, pinned=0, reserved=0, may_use=126976, readonly=0 zone_unusable=0
BTRFS info (device loop0): global_block_rsv: size 0 reserved 0
BTRFS info (device loop0): trans_block_rsv: size 0 reserved 0
BTRFS info (device loop0): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop0): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop0): delayed_refs_rsv: size 131072 reserved 126976
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/05 04:26 linux-6.1.y 3a8358583626 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (corrupt fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_release_global_block_rsv
2025/03/05 02:52 linux-6.1.y 3a8358583626 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (corrupt fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_release_global_block_rsv
2025/03/05 02:10 linux-6.1.y 3a8358583626 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (corrupt fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_release_global_block_rsv
2025/03/05 00:57 linux-6.1.y 3a8358583626 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_release_global_block_rsv
* Struck through repros no longer work on HEAD.