el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c 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:591 ------------[ cut here ]------------ kernel BUG at fs/btrfs/transaction.c:1697! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 21941 Comm: syz-executor.1 Not tainted 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : create_pending_snapshot+0xf6c/0x11e0 fs/btrfs/transaction.c:1697 lr : create_pending_snapshot+0xf6c/0x11e0 fs/btrfs/transaction.c:1697 sp : ffff8000213a3950 x29: ffff8000213a3a30 x28: ffff000118d3f208 x27: ffff000123db8000 x26: 0000000000000000 x25: ffff0001175ef000 x24: ffff0001113a2930 x23: 00000000fffffff4 x22: ffff000123d7c000 x21: ffff000118d3f258 x20: ffff0001175ef000 x19: ffff00011f58a900 x18: ffff80000bfae9bc x17: 6e69676e45206574 x16: ffff00012356d910 x15: ffff80000dbd2118 x14: ffff00012356ce00 x13: 00000000ffffffff x12: 0000000000040000 x11: 0000000000014dd2 x10: ffff800012f0d000 x9 : ffff8000090b5884 x8 : 0000000000014dd3 x7 : ffff80000bf650d4 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 00000000ffffffff x3 : 0000000000000d40 x2 : ffff0000c013fc00 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: create_pending_snapshot+0xf6c/0x11e0 fs/btrfs/transaction.c:1697 create_pending_snapshots+0x7c/0xc0 fs/btrfs/transaction.c:1894 btrfs_commit_transaction+0x9dc/0x1454 fs/btrfs/transaction.c:2351 create_snapshot+0x200/0x330 fs/btrfs/ioctl.c:844 btrfs_mksubvol+0x3a8/0x408 fs/btrfs/ioctl.c:994 btrfs_mksnapshot+0xbc/0x14c fs/btrfs/ioctl.c:1040 __btrfs_ioctl_snap_create+0x208/0x26c fs/btrfs/ioctl.c:1293 btrfs_ioctl_snap_create+0xa4/0xcc fs/btrfs/ioctl.c:1320 btrfs_ioctl+0x130/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+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c 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:591 Code: 97c1113a d4210000 17ffff99 97c792f8 (d4210000) ---[ end trace 0000000000000000 ]---