el0_svc_common+0xb8/0x174 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x174 arch/arm64/kernel/syscall.c:206 el0_svc+0x34/0x110 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 ------------[ cut here ]------------ kernel BUG at fs/btrfs/transaction.c:1678! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3307 Comm: syz-executor.0 Not tainted 6.1.53-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : create_pending_snapshot+0x10bc/0x15ac fs/btrfs/transaction.c:1678 lr : create_pending_snapshot+0x10bc/0x15ac fs/btrfs/transaction.c:1678 sp : ffff80001165b970 x29: ffff80001165ba20 x28: ffff0000c96e2af8 x27: ffff0000cc0a0000 x26: ffff0000c5c03d90 x25: ffff0000c9ec1240 x24: ffff0000cc325000 x23: 00000000fffffff4 x22: ffff0000c50cf000 x21: ffff0000c9ec16d0 x20: 0000000000000000 x19: ffff0000cb82dc00 x18: ffff80000ae3d2bc x17: 6e69676e45206574 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000000 x13: 205d373033335420 x12: ffff80000d1b2000 x11: ff8080000887a58c x10: 0000000000000000 x9 : ffff80000887a58c x8 : ffff0000c58e4bc0 x7 : 0000000000000000 x6 : ffff80000adfe0bc x5 : 0000000000000000 x4 : 0000000000000080 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: create_pending_snapshot+0x10bc/0x15ac fs/btrfs/transaction.c:1678 create_pending_snapshots+0x7c/0xc0 fs/btrfs/transaction.c:1874 btrfs_commit_transaction+0x998/0x13f8 fs/btrfs/transaction.c:2342 create_snapshot+0x200/0x330 fs/btrfs/ioctl.c:835 btrfs_mksubvol+0x3a4/0x404 fs/btrfs/ioctl.c:985 btrfs_mksnapshot+0xbc/0x14c fs/btrfs/ioctl.c:1031 __btrfs_ioctl_snap_create+0x208/0x26c fs/btrfs/ioctl.c:2186 btrfs_ioctl_snap_create_v2+0xf8/0x224 fs/btrfs/ioctl.c:2273 btrfs_ioctl+0x948/0xa6c 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/0x148 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xb8/0x174 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x174 arch/arm64/kernel/syscall.c:206 el0_svc+0x34/0x110 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: d4210000 a940effa 17ffff78 97e6f8b8 (d4210000) ---[ end trace 0000000000000000 ]---