syzbot


WARNING in lookup_inline_extent_backref

Status: auto-obsoleted due to no activity on 2024/10/04 17:22
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+cf54c2ca42468689e803@syzkaller.appspotmail.com
First crash: 570d, last: 452d
Fix commit to backport (bisect log) :
tree: upstream
commit 398646011e3ce53409afda64bc2024d967e83880
Author: Nikolay Borisov <nborisov@suse.com>
Date: Wed Mar 30 09:14:06 2022 +0000

  btrfs: remove checks for arg argument in btrfs_ioctl_balance

  
Bug presence (2)
Date Name Commit Repro Result
2023/06/20 linux-5.15.y (ToT) 471e639e59d1 C [report] WARNING in lookup_inline_extent_backref
2023/06/20 upstream (ToT) 99ec1ed7c2ed C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in lookup_inline_extent_backref btrfs C error inconclusive 302 6d10h 687d 0/28 upstream: reported C repro on 2022/12/05 08:13
linux-6.1 WARNING in lookup_inline_extent_backref origin:upstream C done 2 325d 493d 3/3 fixed on 2024/01/01 13:36
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/10/04 16:36 22m retest repro linux-5.15.y OK log
2024/10/04 16:36 22m retest repro linux-5.15.y OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/09/22 07:54 6h13m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3499 at fs/btrfs/extent-tree.c:862 lookup_inline_extent_backref+0x8ba/0x1370
Modules linked in:
CPU: 1 PID: 3499 Comm: syz-executor384 Not tainted 5.15.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:lookup_inline_extent_backref+0x8ba/0x1370 fs/btrfs/extent-tree.c:862
Code: 8b 64 24 30 0f 87 c7 0a 00 00 e8 61 8b 26 fe 4c 8b 74 24 20 eb 4e 83 7d 28 00 4c 8b 74 24 20 0f 84 bf 04 00 00 e8 46 8b 26 fe <0f> 0b 41 bd fb ff ff ff e9 38 06 00 00 e8 34 8b 26 fe 4c 8b 64 24
RSP: 0018:ffffc900020cea60 EFLAGS: 00010293
RAX: ffffffff8359752a RBX: 0000000000000000 RCX: ffff88802465d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900020cec10 R08: ffffffff83597098 R09: ffffc900020ce800
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc900020ceb80
R13: dffffc0000000000 R14: ffff888023e1ac60 R15: 1ffff92000419d71
FS:  00007f4570dbb6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560fd717b808 CR3: 000000007bb58000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 insert_inline_extent_backref+0xe2/0x250 fs/btrfs/extent-tree.c:1145
 __btrfs_inc_extent_ref+0x11f/0x610 fs/btrfs/extent-tree.c:1468
 run_delayed_tree_ref fs/btrfs/extent-tree.c:1683 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1710 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1956 [inline]
 __btrfs_run_delayed_refs+0x1153/0x4160 fs/btrfs/extent-tree.c:2019
 btrfs_run_delayed_refs+0x2fa/0x490 fs/btrfs/extent-tree.c:2150
 qgroup_account_snapshot fs/btrfs/transaction.c:1535 [inline]
 create_pending_snapshot+0x1215/0x3110 fs/btrfs/transaction.c:1805
 create_pending_snapshots+0x195/0x1d0 fs/btrfs/transaction.c:1873
 btrfs_commit_transaction+0x1247/0x3800 fs/btrfs/transaction.c:2317
 prepare_to_relocate+0x3a2/0x4a0 fs/btrfs/relocation.c:3582
 relocate_block_group+0x156/0xc60 fs/btrfs/relocation.c:3607
 btrfs_relocate_block_group+0x6b3/0xcb0 fs/btrfs/relocation.c:4057
 btrfs_relocate_chunk+0xac/0x270 fs/btrfs/volumes.c:3280
 __btrfs_balance+0x185e/0x27c0 fs/btrfs/volumes.c:4010
 btrfs_balance+0xd40/0x14a0 fs/btrfs/volumes.c:4400
 btrfs_ioctl_balance+0x643/0x7d0 fs/btrfs/ioctl.c:4130
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f4570e076b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1b 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4570dbb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4570e8e708 RCX: 00007f4570e076b9
RDX: 0000000000000000 RSI: 00000000c4009420 RDI: 0000000000000004
RBP: 00007f4570e8e700 R08: 00007f4570dbb6c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4570e8e70c
R13: 0000000000000006 R14: 00007ffe2aeafcf0 R15: 00007ffe2aeafdd8
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/28 14:31 linux-5.15.y 09996673e313 92476829 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in lookup_inline_extent_backref
2023/06/20 14:28 linux-5.15.y 471e639e59d1 09ffe269 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in lookup_inline_extent_backref
2023/06/20 08:35 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in lookup_inline_extent_backref
2023/06/19 18:40 linux-5.15.y 471e639e59d1 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in lookup_inline_extent_backref
2023/04/01 08:15 linux-5.15.y c957cbb87315 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in lookup_inline_extent_backref
* Struck through repros no longer work on HEAD.