------------[ cut here ]------------ kernel BUG at fs/btrfs/ctree.h:3716! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4272 Comm: syz-executor.3 Not tainted 6.1.72-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : assertfail+0x28/0x2c fs/btrfs/ctree.h:3715 lr : assertfail+0x28/0x2c fs/btrfs/ctree.h:3715 sp : ffff80001dec76d0 x29: ffff80001dec76d0 x28: 1fffe0001ac44262 x27: dfff800000000000 x26: ffff700003bd8ee8 x25: 1fffe0001ac441fa x24: ffff80001dec7740 x23: 0000000000000000 x22: ffff0000d6220fc8 x21: ffff0000d6220d58 x20: ffff0000d6220010 x19: ffff0000d6220000 x18: 1fffe0003686bf76 x17: ffff80001582d000 x16: ffff80001214c60c x15: ffff0001b435fbbc x14: 1ffff00002b060b0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : fab76e74a72cb500 x8 : fab76e74a72cb500 x7 : ffff80000827c3a8 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000aa8628c x2 : ffff0001b435fcd0 x1 : 0000000100000000 x0 : 0000000000000051 Call trace: assertfail+0x28/0x2c fs/btrfs/ctree.h:3715 close_ctree+0x6ec/0xad8 fs/btrfs/disk-io.c:4705 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:1117 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:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 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 Code: 91210000 d0002b22 912d0042 97fff925 (d4210000) ---[ end trace 0000000000000000 ]---