syzbot


WARNING in __btrfs_free_extent

Status: upstream: reported on 2025/02/11 08:57
Reported-by: syzbot+[email protected]
First crash: 115d, last: 6d11h
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __btrfs_free_extent (2) btrfs C done 118 296d 347d 27/28 fixed on 2024/08/16 16:03
upstream WARNING in __btrfs_free_extent btrfs C error 300 388d 946d 25/28 fixed on 2024/05/22 09:57
linux-6.1 WARNING in __btrfs_free_extent (3) 2 4d06h 4d17h 0/3 upstream: reported on 2025/06/01 18:33
linux-6.1 WARNING in __btrfs_free_extent (2) 2 223d 223d 0/3 auto-obsoleted due to no activity on 2025/02/03 04:58
linux-4.19 WARNING in __btrfs_free_extent btrfs C error 4 887d 905d 0/1 upstream: reported C repro on 2022/12/14 03:41
linux-6.1 WARNING in __btrfs_free_extent 1 375d 375d 0/3 auto-obsoleted due to no activity on 2024/09/04 10:24
upstream WARNING in __btrfs_free_extent (3) btrfs 40 10h21m 278d 0/28 upstream: reported on 2024/08/31 17:59

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3083 at fs/btrfs/extent-tree.c:3082 __btrfs_free_extent+0x8a6/0x2170 fs/btrfs/extent-tree.c:3082
Modules linked in:
CPU: 0 PID: 3083 Comm: kworker/u4:5 Not tainted 5.15.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:__btrfs_free_extent+0x8a6/0x2170 fs/btrfs/extent-tree.c:3082
Code: fe e9 3e 02 00 00 e8 d9 da 3d fe 0f 1f 44 00 00 e8 cf da 3d fe eb 15 e8 c8 da 3d fe 48 c7 c7 20 53 4a 8a 89 de e8 6a 81 5c 06 <0f> 0b 4c 89 ef 48 c7 c6 a0 60 4a 8a ba 0a 0c 00 00 89 d9 e8 a2 a4
RSP: 0018:ffffc9000cddf5c0 EFLAGS: 00010246
RAX: eaa40c80feca5a00 RBX: 00000000ffffffe4 RCX: ffff88802a84bb80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000cddf720 R08: dffffc0000000000 R09: ffffed10172067a8
R10: ffffed10172067a8 R11: 1ffff110172067a7 R12: 00000000ffffffe4
R13: ffff88805e52b9a0 R14: 00000000ffffffe4 R15: ffff88805ea69bb0
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd77f1dd250 CR3: 000000002aaad000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 run_one_delayed_ref fs/btrfs/extent-tree.c:-1 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1977 [inline]
 __btrfs_run_delayed_refs+0xf27/0x3840 fs/btrfs/extent-tree.c:2040
 btrfs_run_delayed_refs+0x140/0x480 fs/btrfs/extent-tree.c:2171
 flush_space+0x8f7/0xc50 fs/btrfs/space-info.c:660
 btrfs_async_reclaim_metadata_space+0x26f/0x330 fs/btrfs/space-info.c:953
 process_one_work+0x863/0x1000 kernel/workqueue.c:2310
 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/30 23:59 linux-5.15.y 98f47d0e9b8c 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
2025/02/26 05:19 linux-5.15.y c16c81c81336 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __btrfs_free_extent
2025/05/03 08:03 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __btrfs_free_extent
2025/04/22 04:31 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __btrfs_free_extent
2025/04/17 02:10 linux-5.15.y f7347f400572 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __btrfs_free_extent
2025/02/11 08:56 linux-5.15.y c16c81c81336 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __btrfs_free_extent
* Struck through repros no longer work on HEAD.
OSZAR »