WARNING in __btrfs_free_extent

Status: upstream: reported on 2026/11/10 23:19
Reported-by: syzbot+cbd71e6d918795e2d5b7@syzkaller.appspotmail.com
First crash: 16d, last: 1d09h
▶ ▼ 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-5.15 WARNING in __btrfs_free_extent (2) -1 syz 5 4d11h 26d 0/3 upstream: reported syz repro on 2026/11/01 16:31
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 34m 818d 0/30 upstream: reported C repro on 2024/08/31 17:59

Sample crash report:
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 6199 at fs/btrfs/extent-tree.c:3161 __btrfs_free_extent+0x2320/0x2990 fs/btrfs/extent-tree.c:3161
Modules linked in:
CPU: 0 PID: 6199 Comm: syz.2.94 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__btrfs_free_extent+0x2320/0x2990 fs/btrfs/extent-tree.c:3161
Code: 24 68 e8 c3 3c 11 07 48 83 c4 10 41 bf fe ff ff ff e9 e9 ee ff ff e8 8f bb 07 fe 48 c7 c7 80 26 2c 8b 44 89 fe e8 90 4f d1 fd <0f> 0b 49 be 00 00 00 00 00 fc ff df e9 c5 e2 ff ff bf 8b ff ff ff
RSP: 0018:ffffc900053a74e0 EFLAGS: 00010246
RAX: e7945fa5b7bcee00 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000eed8000 RSI: 000000000005c2de RDI: 000000000005c2df
RBP: ffffc900053a7640 R08: ffff8880b8c28c13 R09: 1ffff11017185182
R10: dffffc0000000000 R11: ffffed1017185183 R12: ffff8880761a5000
R13: ffff888077741000 R14: ffff88805c0c4001 R15: 00000000ffffffe4
FS:  00007f4885c856c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f146896da08 CR3: 0000000077c2c000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 run_delayed_tree_ref fs/btrfs/extent-tree.c:1755 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1780 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2035 [inline]
 __btrfs_run_delayed_refs+0xfbc/0x3ab0 fs/btrfs/extent-tree.c:2105
 btrfs_run_delayed_refs+0xf3/0x430 fs/btrfs/extent-tree.c:2219
 btrfs_commit_transaction+0x28c/0x33a0 fs/btrfs/transaction.c:2225
 btrfs_quota_enable+0xce8/0x1b70 fs/btrfs/qgroup.c:1181
 btrfs_ioctl_quota_ctl+0x13d/0x180 fs/btrfs/ioctl.c:3760
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4884da9a99
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:00007f4885c85028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4885036098 RCX: 00007f4884da9a99
RDX: 000020000000d680 RSI: 00000000c0109428 RDI: 0000000000000003
RBP: 00007f4884e3918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4885036130 R14: 00007f4885036098 R15: 00007ffdfefed238
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/26 12:20 linux-6.6.y e2bb30811e06 1c78e8c0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/24 16:09 linux-6.6.y e2bb30811e06 50451a16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/23 00:14 linux-6.6.y 5139929c698c b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/19 22:59 linux-6.6.y 5139929c698c 229865fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/19 13:19 linux-6.6.y 5139929c698c f138241c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/19 13:15 linux-6.6.y 5139929c698c f138241c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/18 20:24 linux-6.6.y 5139929c698c 2006bdcc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
2026/11/10 23:19 linux-6.6.y 5139929c698c d3056657 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __btrfs_free_extent
* Struck through repros no longer work on HEAD.