syzbot
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
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>
* Struck through repros no longer work on HEAD.