__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 ------------[ cut here ]------------ kernel BUG at fs/btrfs/transaction.c:1672! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 16267 Comm: syz-executor.1 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : create_pending_snapshot+0xebc/0x12d4 fs/btrfs/transaction.c:1672 lr : create_pending_snapshot+0xebc/0x12d4 fs/btrfs/transaction.c:1672 sp : ffff80001409b9c0 x29: ffff80001409ba60 x28: ffff000118745000 x27: ffff000112f02600 x26: ffff0001147bc000 x25: ffff000118200000 x24: ffff000118e22c30 x23: 00000000fffffff4 x22: ffff000118ceb258 x21: 0000000000000000 x20: ffff000118ceadc8 x19: ffff00011349eb00 x18: 000000000000032f x17: 6e69676e45206574 x16: ffff80000dbe6158 x15: ffff00011319b480 x14: 0000000000000000 x13: 00000000ffffffff x12: 0000000000040000 x11: 00000000000128f3 x10: ffff80001758a000 x9 : ffff8000091222fc x8 : 00000000000128f4 x7 : ffff80000c091ebc x6 : 0000000000000000 x5 : 0000000000000080 x4 : 00000000ffffffff x3 : 0000000000000d40 x2 : ffff0000c01a3c00 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: create_pending_snapshot+0xebc/0x12d4 fs/btrfs/transaction.c:1672 create_pending_snapshots+0x7c/0xc0 fs/btrfs/transaction.c:1868 btrfs_commit_transaction+0xa24/0x1574 fs/btrfs/transaction.c:2323 create_snapshot+0x200/0x330 fs/btrfs/ioctl.c:833 btrfs_mksubvol+0x3ac/0x40c fs/btrfs/ioctl.c:983 btrfs_mksnapshot+0xbc/0x14c fs/btrfs/ioctl.c:1029 __btrfs_ioctl_snap_create+0x208/0x26c fs/btrfs/ioctl.c:2184 btrfs_ioctl_snap_create+0xa0/0xc8 fs/btrfs/ioctl.c:2211 btrfs_ioctl+0x130/0xa64 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0xd0/0x140 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: f94007f4 52800024 17ffff80 97c611cb (d4210000) ---[ end trace 0000000000000000 ]---