loop0: detected capacity change from 0 to 32768 BTRFS: device fsid c9fe44da-de57-406a-8241-57ec7d4412cf devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5315) BTRFS info (device loop0): first mount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf BTRFS info (device loop0): using crc32c (crc32c-x86_64) checksum algorithm BTRFS info (device loop0): using free-space-tree BTRFS error (device loop0): failed to run delayed ref for logical 5242880 num_bytes 4096 type 178 action 1 ref_mod 1: -28 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5315 at fs/btrfs/extent-tree.c:2154 btrfs_run_delayed_refs+0x2cb/0x300 fs/btrfs/extent-tree.c:2154 Modules linked in: CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:btrfs_run_delayed_refs+0x2cb/0x300 fs/btrfs/extent-tree.c:2154 Code: 48 c7 c6 80 95 ac 8b 44 89 fa e8 d0 dc 6f fd e9 6e ff ff ff e8 86 88 05 fe 90 48 c7 c7 20 95 ac 8b 44 89 fe e8 c6 e4 c9 fd 90 <0f> 0b 90 90 e9 4f ff ff ff 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 82 RSP: 0018:ffffc9000d587178 EFLAGS: 00010246 RAX: 3bb20b460088ca00 RBX: ffff8880514f4378 RCX: 0000000000100000 RDX: ffffc9000e172000 RSI: 00000000000fffff RDI: 0000000000100000 RBP: 0000000000000000 R08: ffff88801fe23e93 R09: 1ffff11003fc47d2 R10: dffffc0000000000 R11: ffffed1003fc47d3 R12: ffff888042750001 R13: ffff88803e03f000 R14: dffffc0000000000 R15: 00000000ffffffe4 FS: 00007fea727406c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000080 CR3: 0000000041ae8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x26f/0x3720 fs/btrfs/transaction.c:2209 btrfs_sync_file+0xd30/0x1130 fs/btrfs/file.c:1739 generic_write_sync include/linux/fs.h:2976 [inline] btrfs_do_write_iter+0x59a/0x710 fs/btrfs/file.c:1390 iter_file_splice_write+0x937/0x1000 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0xfe/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a5/0xcc0 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7d0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fea7198e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fea72740038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fea71bb5fa0 RCX: 00007fea7198e969 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00007fea71a10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fea71bb5fa0 R15: 00007fff79e7d0f8