syzbot


WARNING in __btrfs_free_extent

Status: auto-obsoleted due to no activity on 2024/09/04 10:24
Reported-by: syzbot+6e62d494019ded67bf2b@syzkaller.appspotmail.com
First crash: 191d, last: 191d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __btrfs_free_extent (2) btrfs C done 118 112d 163d 27/28 fixed on 2024/08/16 16:03
upstream WARNING in __btrfs_free_extent btrfs C error 300 204d 762d 25/28 fixed on 2024/05/22 09:57
linux-6.1 WARNING in __btrfs_free_extent (2) 2 39d 39d 0/3 upstream: reported on 2024/10/26 04:57
linux-4.19 WARNING in __btrfs_free_extent btrfs C error 4 703d 721d 0/1 upstream: reported C repro on 2022/12/14 03:41
upstream WARNING in __btrfs_free_extent (3) btrfs 6 3d07h 94d 0/28 upstream: reported on 2024/08/31 17:59

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 51 at fs/btrfs/extent-tree.c:3076 __btrfs_free_extent+0x2328/0x2e10 fs/btrfs/extent-tree.c:3076
Modules linked in:
CPU: 0 PID: 51 Comm: kworker/u4:3 Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:__btrfs_free_extent+0x2328/0x2e10 fs/btrfs/extent-tree.c:3076
Code: 05 07 48 bb 00 00 00 00 00 fc ff df 4c 8b 74 24 08 e9 14 fb ff ff e8 87 e7 06 fe 48 c7 c7 c0 4b 2d 8b 44 89 e6 e8 78 e6 ce fd <0f> 0b e9 39 e4 ff ff 4d 89 e5 e8 69 e7 06 fe 45 31 c0 45 84 f6 41
RSP: 0018:ffffc90000bc7500 EFLAGS: 00010246
RAX: 55dcbfbcd6148700 RBX: ffff88805bad8001 RCX: ffff88801a2d0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000bc7680 R08: ffffffff81528ede R09: fffff52000178e01
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffffe4
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000001000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2415ec8290 CR3: 000000005e485000 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:1681 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1705 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1954 [inline]
 __btrfs_run_delayed_refs+0x10e1/0x4210 fs/btrfs/extent-tree.c:2017
 btrfs_run_delayed_refs+0x13c/0x480 fs/btrfs/extent-tree.c:2148
 flush_space+0x986/0xe60 fs/btrfs/space-info.c:744
 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:1080
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/27 10:23 linux-6.1.y 88690811da69 761766e6 .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.