BTRFS error (device loop3): failed to run delayed ref for logical 5242880 num_bytes 4096 type 176 action 1 ref_mod 1: -12 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4463 at fs/btrfs/extent-tree.c:2174 btrfs_run_delayed_refs+0x402/0x480 fs/btrfs/extent-tree.c:2174 Modules linked in: CPU: 0 PID: 4463 Comm: syz.3.20 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:btrfs_run_delayed_refs+0x402/0x480 fs/btrfs/extent-tree.c:2174 Code: 15 e8 52 2e 34 fe eb 05 e8 4b 2e 34 fe 66 90 e8 44 2e 34 fe eb 16 e8 3d 2e 34 fe 48 c7 c7 e0 e6 6a 8a 44 89 fe e8 6e 8a 79 06 <0f> 0b 48 89 df 48 c7 c6 a0 ea 6a 8a ba 7e 08 00 00 44 89 f9 e8 95 RSP: 0018:ffffc9000337f940 EFLAGS: 00010246 RAX: bdf95f18d342e500 RBX: ffff888023dc60b0 RCX: ffff88801e923b80 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b R10: dffffc0000000000 R11: ffffed10171c4f2c R12: dffffc0000000000 R13: 1ffff110047b8c21 R14: 00000000fffffff4 R15: 00000000fffffff4 FS: 0000555594279500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61842b7000 CR3: 000000007b660000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x23d/0x3580 fs/btrfs/transaction.c:2180 create_snapshot+0x469/0x800 fs/btrfs/ioctl.c:785 btrfs_mksubvol+0x64e/0x790 fs/btrfs/ioctl.c:935 btrfs_mksnapshot+0xb1/0xf0 fs/btrfs/ioctl.c:981 __btrfs_ioctl_snap_create+0x449/0x570 fs/btrfs/ioctl.c:1871 btrfs_ioctl_snap_create_v2+0x1b9/0x3e0 fs/btrfs/ioctl.c:1958 btrfs_ioctl+0x75f/0xb10 fs/btrfs/ioctl.c:-1 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f527c3b0559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd948fc478 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f527c636fa0 RCX: 00007f527c3b0559 RDX: 0000200000005a00 RSI: 0000000050009417 RDI: 0000000000000004 RBP: 00007f527c447b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f527c636fac R14: 00007f527c636fa0 R15: 00007f527c636fa0