R13: 00007fc6061c5f40 R14: 0000000000000000 R15: 0000000020003780 BTRFS error (device loop2): failed to run delayed ref for logical 5251072 num_bytes 4096 type 176 action 1 ref_mod 1: -12 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9854 at fs/btrfs/extent-tree.c:2152 btrfs_run_delayed_refs+0x413/0x490 fs/btrfs/extent-tree.c:2152 Modules linked in: CPU: 1 PID: 9854 Comm: syz-executor.2 Not tainted 5.15.120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:btrfs_run_delayed_refs+0x413/0x490 fs/btrfs/extent-tree.c:2152 Code: eb 0c e8 c0 49 28 fe eb 23 e8 b9 49 28 fe 66 90 e8 b2 49 28 fe eb 15 e8 ab 49 28 fe 48 c7 c7 c0 0b c9 8a 89 ee e8 bd 15 f4 fd <0f> 0b 4c 89 e7 48 c7 c6 e0 0e c9 8a ba 68 08 00 00 89 e9 e8 99 e3 RSP: 0018:ffffc90004f87770 EFLAGS: 00010246 RAX: d9bf7ef286a71b00 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b3ea000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 00000000fffffff4 R08: ffffffff8166491c R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073398630 R13: dffffc0000000000 R14: ffff88801843c001 R15: ffff88801f99d000 FS: 00007fc6061c66c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056000f54def0 CR3: 000000007936f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x556/0x3800 fs/btrfs/transaction.c:2159 sync_filesystem+0x1bc/0x220 fs/sync.c:66 btrfs_remount+0x224/0x1640 fs/btrfs/super.c:1928 reconfigure_super+0x3c5/0x7c0 fs/super.c:916 do_remount fs/namespace.c:2656 [inline] path_mount+0xceb/0x10a0 fs/namespace.c:3316 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc607c4622a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc6061c5ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc6061c5f80 RCX: 00007fc607c4622a RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 0000000020000180 R08: 00007fc6061c5f80 R09: 0000000001a404bc R10: 0000000001a404bc R11: 0000000000000202 R12: 0000000020000100 R13: 00007fc6061c5f40 R14: 0000000000000000 R15: 0000000020003780