WARNING in remove_from_free_space_tree

Status: upstream: reported on 2026/09/30 12:47
Reported-by: syzbot+74ad9a631085c2c3bc9d@syzkaller.appspotmail.com
First crash: 14d, last: 14d
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in remove_from_free_space_tree btrfs -1 1 1405d 1401d 0/29 auto-obsoleted due to no activity on 2023/04/08 08:51

Sample crash report:
RAX: ffffffffffffffda RBX: 00007f5b21269090 RCX: 00007f5b20fe1159
RDX: 0000000000000000 RSI: 0000000000009408 RDI: 0000000000000003
RBP: 00007f5b2107806b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5b21269128 R14: 00007f5b21269090 R15: 00007fff9cac5258
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4353 at fs/btrfs/free-space-tree.c:845 remove_from_free_space_tree+0x874/0xa50 fs/btrfs/free-space-tree.c:845
Modules linked in:
CPU: 0 PID: 4353 Comm: syz.4.13 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:remove_from_free_space_tree+0x874/0xa50 fs/btrfs/free-space-tree.c:845
Code: 48 bb 00 00 00 00 00 fc ff df 0f 1f 44 00 00 e8 b2 ce 10 fe eb 16 e8 ab ce 10 fe 48 c7 c7 40 11 6d 8a 44 89 f6 e8 cc 03 4e 06 <0f> 0b 4c 89 ff 48 c7 c6 c0 11 6d 8a ba 4d 03 00 00 44 89 f1 e8 53
RSP: 0018:ffffc9000428f620 EFLAGS: 00010246
RAX: 015b075b4dc59500 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc9000f84d000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc9000428f750 R08: ffff8880b902795b R09: 1ffff11017204f2b
R10: dffffc0000000000 R11: ffffed1017204f2c R12: 1ffff92000851ed0
R13: ffff888070f7dc08 R14: 00000000fffffff4 R15: ffff888070f7dbb0
FS:  00007f5b1f2186c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b329fdff8 CR3: 000000001f7c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 alloc_reserved_file_extent+0x396/0x710 fs/btrfs/extent-tree.c:4626
 run_delayed_data_ref fs/btrfs/extent-tree.c:1554 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1735 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1977 [inline]
 __btrfs_run_delayed_refs+0x11ed/0x3920 fs/btrfs/extent-tree.c:2041
 btrfs_run_delayed_refs+0x133/0x480 fs/btrfs/extent-tree.c:2172
 btrfs_commit_transaction+0x23d/0x3580 fs/btrfs/transaction.c:2169
 btrfs_ioctl+0xadc/0xb10 fs/btrfs/ioctl.c:4992
 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:0x7f5b20fe1159
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:00007f5b1f218028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5b21269090 RCX: 00007f5b20fe1159
RDX: 0000000000000000 RSI: 0000000000009408 RDI: 0000000000000003
RBP: 00007f5b2107806b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5b21269128 R14: 00007f5b21269090 R15: 00007fff9cac5258
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/30 12:46 linux-5.15.y 0248c33e835e 7808aef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in remove_from_free_space_tree
* Struck through repros no longer work on HEAD.