loop0: detected capacity change from 0 to 32768 BTRFS: device fsid 3d39d0ba-bdae-447e-827b-b091e1a68885 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5321) BTRFS info (device loop0): first mount of filesystem 3d39d0ba-bdae-447e-827b-b091e1a68885 BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm BTRFS info (device loop0): using free-space-tree UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5321 at fs/btrfs/extent-tree.c:3202 __btrfs_free_extent+0x3065/0x3a10 fs/btrfs/extent-tree.c:3202 Modules linked in: CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-11716-gd8b78066f4c9 #0 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_free_extent+0x3065/0x3a10 fs/btrfs/extent-tree.c:3202 Code: 08 48 83 c4 10 41 bd fe ff ff ff 4c 8b 24 24 e9 60 ed ff ff e8 9c 6a e1 fd 90 48 c7 c7 20 4e 4c 8c 44 89 ee e8 6c 12 a2 fd 90 <0f> 0b 90 90 e9 e2 d8 ff ff e8 7d 6a e1 fd 4c 8b 24 24 48 8b 7c 24 RSP: 0018:ffffc9000d516920 EFLAGS: 00010246 RAX: 07411e3fc0d1ce00 RBX: ffff88804550d5c8 RCX: 0000000000100000 RDX: ffffc9000e42a000 RSI: 00000000000758f4 RDI: 00000000000758f5 RBP: ffffc9000d516af0 R08: ffffffff81568c02 R09: fffffbfff1cfa8b0 R10: dffffc0000000000 R11: fffffbfff1cfa8b0 R12: dffffc0000000000 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff88804550d628 FS: 00007f7c294eb6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002b80 CR3: 000000003bbd8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2007 [inline] __btrfs_run_delayed_refs+0x102a/0x4310 fs/btrfs/extent-tree.c:2077 btrfs_run_delayed_refs+0xe3/0x2c0 fs/btrfs/extent-tree.c:2189 btrfs_commit_transaction+0x4b6/0x3720 fs/btrfs/transaction.c:2195 btrfs_sync_file+0xdd7/0x11e0 fs/btrfs/file.c:1755 generic_write_sync include/linux/fs.h:2904 [inline] iomap_dio_complete+0x595/0x950 fs/iomap/direct-io.c:133 btrfs_direct_write+0x6a2/0xa30 fs/btrfs/direct-io.c:896 btrfs_do_write_iter+0x2a0/0x760 fs/btrfs/file.c:1396 iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1164 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x564/0x8a0 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1424 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7c28780849 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:00007f7c294eb058 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7c28945fa0 RCX: 00007f7c28780849 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000007 RBP: 00007f7c287f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7c28945fa0 R15: 00007ffdf3b35738