WARNING in __btrfs_free_extent (2)

Status: upstream: reported syz repro on 2026/11/01 16:31
Reported-by: syzbot+5f562029420d0053dd71@syzkaller.appspotmail.com
First crash: 26d, last: 4d11h
▶ ▼ Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in __btrfs_free_extent -1 6 545d 654d 0/3 auto-obsoleted due to no activity on 2025/09/08 00:00
upstream WARNING in __btrfs_free_extent (2) btrfs -1 syz, C done 118 836d 887d 27/30 fixed on 2024/08/16 16:03
upstream WARNING in __btrfs_free_extent btrfs -1 syz, C error 300 927d 1485d 25/30 fixed on 2024/05/22 09:57
linux-6.1 WARNING in __btrfs_free_extent (3) -1 2 543d 544d 0/3 auto-obsoleted due to no activity on 2025/09/10 05:21
linux-6.1 WARNING in __btrfs_free_extent (2) -1 2 762d 762d 0/3 auto-obsoleted due to no activity on 2025/02/03 04:58
linux-4.19 WARNING in __btrfs_free_extent btrfs -1 syz, C error 4 1426d 1444d 0/1 upstream: reported C repro on 2022/12/14 03:41
linux-6.1 WARNING in __btrfs_free_extent -1 1 914d 914d 0/3 auto-obsoleted due to no activity on 2024/09/04 10:24
linux-6.1 WARNING in __btrfs_free_extent (4) -1 syz, C 12 1d09h 21d 0/3 upstream: reported C repro on 2026/11/05 22:18
upstream WARNING in __btrfs_free_extent (3) prio:low btrfs -1 syz, C error done 684 35m 818d 0/30 upstream: reported C repro on 2024/08/31 17:59
linux-6.6 WARNING in __btrfs_free_extent -1 8 1d09h 16d 0/2 upstream: reported on 2026/11/10 23:19

Sample crash report:
BTRFS info (device loop0): block group has cluster?: no
BTRFS info (device loop0): 1 blocks of free space at or bigger than bytes is
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4383 at fs/btrfs/extent-tree.c:3083 __btrfs_free_extent+0x8b7/0x2190 fs/btrfs/extent-tree.c:3083
Modules linked in:
CPU: 1 PID: 4383 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:__btrfs_free_extent+0x8b7/0x2190 fs/btrfs/extent-tree.c:3083
Code: 00 00 fc ff df 48 8b 5c 24 10 0f 1f 44 00 00 e8 9f e6 32 fe eb 16 e8 98 e6 32 fe 48 c7 c7 e0 e6 6a 8a 44 89 ee e8 c9 42 78 06 <0f> 0b 4c 89 f7 48 c7 c6 60 f4 6a 8a ba 0b 0c 00 00 44 89 e9 e8 f0
RSP: 0018:ffffc9000325f5c0 EFLAGS: 00010246
RAX: 81c89494857ee900 RBX: ffff88807ce58e70 RCX: ffff88802cd33b80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000325f720 R08: ffffc9000325f0e7 R09: 1ffff9200064be1c
R10: dffffc0000000000 R11: fffff5200064be1d R12: dffffc0000000000
R13: 00000000ffffffe4 R14: ffff88807463b370 R15: ffff888077764600
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f563ce49000 CR3: 0000000022568000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 run_delayed_tree_ref fs/btrfs/extent-tree.c:1707 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1731 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1977 [inline]
 __btrfs_run_delayed_refs+0xf4d/0x3920 fs/btrfs/extent-tree.c:2041
 btrfs_run_delayed_refs+0x133/0x480 fs/btrfs/extent-tree.c:2172
 flush_space+0x96d/0xc90 fs/btrfs/space-info.c:660
 btrfs_async_reclaim_metadata_space+0x26d/0x310 fs/btrfs/space-info.c:953
 process_one_work+0x867/0xff0 kernel/workqueue.c:2310
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/06 19:08 linux-5.15.y 700e62ea909a 5cecaf1f .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
2026/11/23 10:08 linux-5.15.y 4f2df9a01754 b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
2026/11/20 06:03 linux-5.15.y 29c6cdaac04a 229865fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
2026/11/06 18:01 linux-5.15.y 700e62ea909a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
2026/11/01 16:31 linux-5.15.y 700e62ea909a 25a0ae84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
* Struck through repros no longer work on HEAD.