syzbot


WARNING in btrfs_release_global_block_rsv

Status: auto-obsoleted due to no activity on 2023/08/07 13:28
Reported-by: syzbot+401251a4ec9ed087ee1b@syzkaller.appspotmail.com
First crash: 396d, last: 396d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_release_global_block_rsv btrfs C done done 7 113d 223d 0/26 auto-obsoleted due to no activity on 2024/04/25 16:32

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4106 at fs/btrfs/block-rsv.c:452 btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
Modules linked in:
CPU: 1 PID: 4106 Comm: syz-executor.1 Not tainted 5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
lr : btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
sp : ffff80001cde7750
x29: ffff80001cde7750 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 0000000000000000 x25: 0000000000000001 x24: ffff0000d24a9800
x23: 0000000000000000 x22: 1fffe0001a49532c x21: dfff800000000000
x20: 0000000000060000 x19: ffff000122cf4000 x18: 1fffe0001b049c0a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a1eaa18 x10: 0000000000000000 x9 : ffff80000a1eaa18
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 0000000000060000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 2934508
hardirqs last  enabled at (2934507): [<ffff8000088c48d4>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231
hardirqs last disabled at (2934508): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (2933534): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (2933534): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (2933037): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2933037): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (2933037): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269580 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-rsv.c:453 btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
lr : btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
sp : ffff80001cde7750
x29: ffff80001cde7750 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 0000000000000000 x25: 0000000000000001 x24: ffff0000d24a9800
x23: 0000000000000000 x22: 1fffe0001a49532c x21: dfff800000000000
x20: 0000000000060000 x19: ffff000122cf4000 x18: 1fffe0001b049c0a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a1eaa24 x10: 0000000000000000 x9 : ffff80000a1eaa24
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 0000000000060000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 2934610
hardirqs last  enabled at (2934609): [<ffff80001193edc8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (2934609): [<ffff80001193edc8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (2934610): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (2934604): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (2934604): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (2934511): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2934511): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (2934511): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269581 ]---
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4106 at fs/btrfs/block-group.c:3934 btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
Modules linked in:
CPU: 1 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
lr : btrfs_free_block_groups+0xa8c/0xb54 fs/btrfs/block-group.c:3933
sp : ffff80001cde7780
x29: ffff80001cde77a0 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 1fffe0002459ea20 x25: 0000000000000001 x24: 000000000005f000
x23: ffff0000d824e000 x22: ffff0000d824e0a8 x21: ffff000122cf59d0
x20: ffff000122cf5100 x19: ffff000122cf4000 x18: 1fffe0001b049c0a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a202fa0 x10: 0000000000000000 x9 : ffff80000a202fa0
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 000000000005f000 x0 : 0000000000000000
Call trace:
 btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 2935102
hardirqs last  enabled at (2935101): [<ffff80001193edc8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (2935101): [<ffff80001193edc8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (2935102): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (2935096): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (2935096): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (2934613): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2934613): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (2934613): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269582 ]---
BTRFS info (device loop1): space_info 5 has 2834432 free, is not full
BTRFS info (device loop1): space_info total=3276800, used=53248, pinned=0, reserved=0, may_use=389120, readonly=0 zone_unusable=0
BTRFS info (device loop1): global_block_rsv: size 0 reserved 0
BTRFS info (device loop1): trans_block_rsv: size 393216 reserved 393216
BTRFS info (device loop1): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop1): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop1): delayed_refs_rsv: size 0 reserved 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-rsv.c:452 btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
lr : btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
sp : ffff80001cde7750
x29: ffff80001cde7750 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 0000000000000000 x25: 0000000000000001 x24: ffff0000c87fc800
x23: 0000000000000000 x22: 1fffe000190ff92c x21: dfff800000000000
x20: 0000000000060000 x19: ffff0001285d8000 x18: 1fffe0001ac10d0a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a1eaa18 x10: 0000000000000000 x9 : ffff80000a1eaa18
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 0000000000060000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 2970820
hardirqs last  enabled at (2970819): [<ffff8000088c48d4>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231
hardirqs last disabled at (2970820): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (2970156): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (2970156): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (2970151): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2970151): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (2970151): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269583 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-rsv.c:453 btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
lr : btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
sp : ffff80001cde7750
x29: ffff80001cde7750 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 0000000000000000 x25: 0000000000000001 x24: ffff0000c87fc800
x23: 0000000000000000 x22: 1fffe000190ff92c x21: dfff800000000000
x20: 0000000000060000 x19: ffff0001285d8000 x18: 1fffe0001ac10d0a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a1eaa24 x10: 0000000000000000 x9 : ffff80000a1eaa24
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 0000000000060000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 2970892
hardirqs last  enabled at (2970891): [<ffff80001193edc8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (2970891): [<ffff80001193edc8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (2970892): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (2970886): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (2970886): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (2970823): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2970823): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (2970823): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269584 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-group.c:3934 btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
lr : btrfs_free_block_groups+0xa8c/0xb54 fs/btrfs/block-group.c:3933
sp : ffff80001cde7780
x29: ffff80001cde77a0 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 1fffe000250bb220 x25: 0000000000000001 x24: 000000000005f000
x23: ffff0000d6086800 x22: ffff0000d60868a8 x21: ffff0001285d99d0
x20: ffff0001285d9100 x19: ffff0001285d8000 x18: 1fffe0001ac10d0a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a202fa0 x10: 0000000000000000 x9 : ffff80000a202fa0
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 000000000005f000 x0 : 0000000000000000
Call trace:
 btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 2971844
hardirqs last  enabled at (2971843): [<ffff80001193edc8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (2971843): [<ffff80001193edc8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (2971844): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (2971788): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (2971788): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (2970895): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2970895): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (2970895): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269585 ]---
BTRFS info (device loop1): space_info 5 has 2834432 free, is not full
BTRFS info (device loop1): space_info total=3276800, used=53248, pinned=0, reserved=0, may_use=389120, readonly=0 zone_unusable=0
BTRFS info (device loop1): global_block_rsv: size 0 reserved 0
BTRFS info (device loop1): trans_block_rsv: size 393216 reserved 393216
BTRFS info (device loop1): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop1): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop1): delayed_refs_rsv: size 0 reserved 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-rsv.c:452 btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
lr : btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
sp : ffff80001cde7750
x29: ffff80001cde7750 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 0000000000000000 x25: 0000000000000001 x24: ffff0000d20ea800
x23: 0000000000000000 x22: 1fffe0001a41d52c x21: dfff800000000000
x20: 0000000000060000 x19: ffff0000c1b60000 x18: 1fffe0001aa6f20a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a1eaa18 x10: 0000000000000000 x9 : ffff80000a1eaa18
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 0000000000060000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x1d0/0x22c fs/btrfs/block-rsv.c:452
 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 3006216
hardirqs last  enabled at (3006215): [<ffff8000088c48d4>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231
hardirqs last disabled at (3006216): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (3004004): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (3004004): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (3003933): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (3003933): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (3003933): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269586 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-rsv.c:453 btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
lr : btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
sp : ffff80001cde7750
x29: ffff80001cde7750 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 0000000000000000 x25: 0000000000000001 x24: ffff0000d20ea800
x23: 0000000000000000 x22: 1fffe0001a41d52c x21: dfff800000000000
x20: 0000000000060000 x19: ffff0000c1b60000 x18: 1fffe0001aa6f20a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a1eaa24 x10: 0000000000000000 x9 : ffff80000a1eaa24
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 0000000000060000 x0 : 0000000000000000
Call trace:
 btrfs_release_global_block_rsv+0x1dc/0x22c fs/btrfs/block-rsv.c:453
 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 3006348
hardirqs last  enabled at (3006347): [<ffff80001193edc8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (3006347): [<ffff80001193edc8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (3006348): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (3006342): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (3006342): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (3006219): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (3006219): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (3006219): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269587 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4106 at fs/btrfs/block-group.c:3934 btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
Modules linked in:
CPU: 0 PID: 4106 Comm: syz-executor.1 Tainted: G        W         5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
lr : btrfs_free_block_groups+0xa8c/0xb54 fs/btrfs/block-group.c:3933
sp : ffff80001cde7780
x29: ffff80001cde77a0 x28: dfff800000000000 x27: ffff800014f7c4a0
x26: 1fffe0001836c220 x25: 0000000000000001 x24: 000000000005f000
x23: ffff0000d5379000 x22: ffff0000d53790a8 x21: ffff0000c1b619d0
x20: ffff0000c1b61100 x19: ffff0000c1b60000 x18: 1fffe0001aa6f20a
x17: ff8080000a202b28 x16: ffff80000824c758 x15: ffff80000a202b28
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a202fa0 x10: 0000000000000000 x9 : ffff80000a202fa0
x8 : ffff0000cbca5040 x7 : ffff80000a1e92c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008302764
x2 : 0000000000000001 x1 : 000000000005f000 x0 : 0000000000000000
Call trace:
 btrfs_free_block_groups+0x850/0xb54 fs/btrfs/block-group.c:3933
 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4481
 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_anon_super+0x4c/0x74 fs/super.c:1067
 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2393
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 3006412
hardirqs last  enabled at (3006411): [<ffff80001193edc8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (3006411): [<ffff80001193edc8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (3006412): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (3006406): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (3006406): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (3006353): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (3006353): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (3006353): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 507c31b68a269588 ]---
BTRFS info (device loop1): space_info 5 has 2834432 free, is not full
BTRFS info (device loop1): space_info total=3276800, used=53248, pinned=0, reserved=0, may_use=389120, readonly=0 zone_unusable=0
BTRFS info (device loop1): global_block_rsv: size 0 reserved 0
BTRFS info (device loop1): trans_block_rsv: size 393216 reserved 393216
BTRFS info (device loop1): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop1): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop1): delayed_refs_rsv: size 0 reserved 0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/09 13:28 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_release_global_block_rsv
* Struck through repros no longer work on HEAD.