WARNING in __btrfs_free_extent (4)

Status: upstream: reported on 2026/11/05 22:18
Reported-by: syzbot+9bcfc4145752cde0a3fc@syzkaller.appspotmail.com
First crash: 8h05m, last: 8h05m
▶ ▼ Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in __btrfs_free_extent -1 6 524d 632d 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 814d 865d 27/29 fixed on 2024/08/16 16:03
upstream WARNING in __btrfs_free_extent btrfs -1 syz, C error 300 906d 1464d 25/29 fixed on 2024/05/22 09:57
linux-6.1 WARNING in __btrfs_free_extent (3) -1 2 522d 522d 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 741d 741d 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 1405d 1423d 0/1 upstream: reported C repro on 2022/12/14 03:41
linux-5.15 WARNING in __btrfs_free_extent (2) -1 1 4d13h 4d13h 0/3 upstream: reported on 2026/11/01 16:31
linux-6.1 WARNING in __btrfs_free_extent -1 1 892d 892d 0/3 auto-obsoleted due to no activity on 2024/09/04 10:24
upstream WARNING in __btrfs_free_extent (3) prio:low btrfs -1 syz, C error done 641 6h34m 796d 0/29 upstream: reported C repro on 2024/08/31 17:59

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4981 at fs/btrfs/extent-tree.c:3105 __btrfs_free_extent+0x1b45/0x2410 fs/btrfs/extent-tree.c:3105
Modules linked in:
CPU: 0 PID: 4981 Comm: syz.0.196 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:__btrfs_free_extent+0x1b45/0x2410 fs/btrfs/extent-tree.c:3105
Code: ee 8a ba 1e 0c 00 00 b9 fe ff ff ff e8 7e 75 c8 06 e9 d6 f4 ff ff e8 5a 08 1d fe 48 c7 c7 e0 2f ee 8a 44 89 e6 e8 0b 6a e8 fd <0f> 0b e9 31 ea ff ff bf ea ff ff ff e8 84 7c c8 06 84 c0 0f 85 48
RSP: 0018:ffffc90004d2f500 EFLAGS: 00010246
RAX: 8cd9fb3059923200 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000f3b3000 RSI: 0000000000042ef7 RDI: 0000000000042ef8
RBP: ffffc90004d2f660 R08: ffff8880b8c279db R09: 1ffff11017184f3b
R10: dffffc0000000000 R11: ffffed1017184f3c R12: 00000000ffffffe4
R13: dffffc0000000000 R14: ffff888054714001 R15: ffff888055fea580
FS:  00007fdd4943f6c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f916895da08 CR3: 0000000054d5f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 run_delayed_tree_ref fs/btrfs/extent-tree.c:1696 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1721 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1973 [inline]
 __btrfs_run_delayed_refs+0xfb3/0x3b50 fs/btrfs/extent-tree.c:2037
 btrfs_run_delayed_refs+0x12d/0x460 fs/btrfs/extent-tree.c:2168
 btrfs_commit_transaction+0x268/0x3830 fs/btrfs/transaction.c:2213
 btrfs_quota_enable+0xda8/0x1c60 fs/btrfs/qgroup.c:1175
 btrfs_ioctl_quota_ctl+0x13a/0x170 fs/btrfs/ioctl.c:4646
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fdd4859fb19
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:00007fdd4943f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fdd48826090 RCX: 00007fdd4859fb19
RDX: 0000200000006380 RSI: 00000000c0109428 RDI: 0000000000000003
RBP: 00007fdd48637b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdd48826128 R14: 00007fdd48826090 R15: 00007ffe588141a8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/05 22:17 linux-6.1.y 08889840163e 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __btrfs_free_extent
* Struck through repros no longer work on HEAD.