syzbot


WARNING in lookup_inline_extent_backref

Status: upstream: reported C repro on 2022/12/05 08:13
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+d6f9ff86c1d804ba2bc6@syzkaller.appspotmail.com
First crash: 735d, last: 23d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Discussions (23)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Nov 2024) 0 (1) 2024/11/18 10:39
[syzbot] Monthly btrfs report (Oct 2024) 0 (1) 2024/10/17 07:41
[syzbot] Monthly btrfs report (Jun 2024) 0 (1) 2024/06/14 08:14
[syzbot] WARNING in lookup_inline_extent_backref 3 (4) 2024/05/16 15:27
[syzbot] Monthly btrfs report (Mar 2024) 0 (1) 2024/03/12 09:29
[syzbot] Monthly btrfs report (Jan 2024) 0 (1) 2024/01/10 09:16
[syzbot] Monthly btrfs report (Dec 2023) 0 (1) 2023/12/06 10:05
[syzbot] Monthly btrfs report (Nov 2023) 0 (1) 2023/11/05 13:07
[syzbot] Monthly btrfs report (Oct 2023) 0 (1) 2023/10/04 14:48
[PATCH AUTOSEL 4.14 1/2] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 2 (2) 2023/09/07 15:44
[PATCH AUTOSEL 4.19 1/2] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 2 (2) 2023/09/07 15:44
[PATCH AUTOSEL 5.4 2/3] btrfs: output extra debug info if we failed to find an inline backref 1 (1) 2023/09/07 15:44
[PATCH AUTOSEL 5.10 2/3] btrfs: output extra debug info if we failed to find an inline backref 1 (1) 2023/09/07 15:44
[PATCH AUTOSEL 5.15 2/3] btrfs: output extra debug info if we failed to find an inline backref 1 (1) 2023/09/07 15:44
[PATCH AUTOSEL 6.1 1/4] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 2 (2) 2023/09/07 15:43
[PATCH AUTOSEL 6.4 4/5] btrfs: output extra debug info if we failed to find an inline backref 1 (1) 2023/09/07 15:43
[PATCH AUTOSEL 6.5 5/6] btrfs: output extra debug info if we failed to find an inline backref 1 (1) 2023/09/07 15:43
[syzbot] Monthly btrfs report (Aug 2023) 0 (1) 2023/08/30 09:53
[syzbot] Monthly btrfs report (Jul 2023) 0 (1) 2023/07/30 13:15
[syzbot] Monthly btrfs report (Jun 2023) 0 (1) 2023/06/29 10:14
[syzbot] Monthly btrfs report (May 2023) 0 (1) 2023/05/30 08:21
[syzbot] Monthly btrfs report (Apr 2023) 0 (1) 2023/04/27 10:13
[syzbot] [btrfs] Monthly Report 1 (2) 2023/03/27 13:42
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in lookup_inline_extent_backref origin:lts-only C done 5 498d 616d 0/3 auto-obsoleted due to no activity on 2024/10/04 17:22
linux-6.1 WARNING in lookup_inline_extent_backref origin:upstream C done 2 371d 539d 3/3 fixed on 2024/01/01 13:36
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/11/14 12:00 19m retest repro upstream report log
2024/08/21 12:02 11m retest repro upstream report log
2024/06/12 10:12 24m retest repro upstream report log
2024/01/25 00:39 17m retest repro upstream report log
2024/01/06 21:12 36m retest repro linux-next OK log
2024/01/06 21:12 22m retest repro linux-next OK log
2024/01/06 18:40 22m retest repro upstream OK log
2024/01/06 18:40 22m retest repro upstream OK log
2024/01/06 18:40 22m retest repro upstream OK log
2024/01/06 18:40 22m retest repro upstream OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/04/03 07:10 2h59m bisect fix upstream OK (0) job log
2024/03/03 15:21 2h22m bisect fix upstream OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5726 at fs/btrfs/extent-tree.c:861 lookup_inline_extent_backref+0x11ac/0x1650 fs/btrfs/extent-tree.c:861
Modules linked in:
CPU: 0 PID: 5726 Comm: syz-executor.5 Not tainted 6.7.0-syzkaller-01727-gab27740f7665 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:lookup_inline_extent_backref+0x11ac/0x1650 fs/btrfs/extent-tree.c:861
Code: 25 28 00 00 00 48 3b 84 24 80 01 00 00 0f 85 84 04 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 05 95 fc fd 90 <0f> 0b 90 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 4c 8b 6c 24 48 74 08
RSP: 0018:ffffc9000aa56ca0 EFLAGS: 00010293
RAX: ffffffff83925e0b RBX: 0000000000000000 RCX: ffff88803017bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000aa56e70 R08: ffffffff839250c9 R09: 0000000000000000
R10: ffffc9000aa56a20 R11: fffff5200154ad46 R12: dffffc0000000000
R13: ffff888064c90000 R14: ffff88801db820c0 R15: ffffc9000aa56de0
FS:  00007ff8164926c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff4c374cc8 CR3: 000000001c909000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 insert_inline_extent_backref+0xd9/0x2b0 fs/btrfs/extent-tree.c:1211
 __btrfs_inc_extent_ref+0x140/0x610 fs/btrfs/extent-tree.c:1512
 run_delayed_tree_ref fs/btrfs/extent-tree.c:1769 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1799 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2064 [inline]
 __btrfs_run_delayed_refs+0x1405/0x46c0 fs/btrfs/extent-tree.c:2134
 btrfs_run_delayed_refs+0x188/0x2c0 fs/btrfs/extent-tree.c:2246
 qgroup_account_snapshot+0xab/0x3d0 fs/btrfs/transaction.c:1609
 create_pending_snapshot+0x10dd/0x2bc0 fs/btrfs/transaction.c:1892
 create_pending_snapshots+0x195/0x1d0 fs/btrfs/transaction.c:1965
 btrfs_commit_transaction+0xf1c/0x3740 fs/btrfs/transaction.c:2438
 create_snapshot+0x4a5/0x7e0 fs/btrfs/ioctl.c:845
 btrfs_mksubvol+0x5d0/0x750 fs/btrfs/ioctl.c:995
 btrfs_mksnapshot+0xb5/0xf0 fs/btrfs/ioctl.c:1041
 __btrfs_ioctl_snap_create+0x383/0x4b0 fs/btrfs/ioctl.c:1303
 btrfs_ioctl_snap_create+0x13c/0x190 fs/btrfs/ioctl.c:1330
 btrfs_ioctl+0xbbf/0xd40
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7ff81567cd29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007ff8164920c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff8157ac050 RCX: 00007ff81567cd29
RDX: 0000000020000a80 RSI: 0000000050009401 RDI: 0000000000000006
RBP: 00007ff8156c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007ff8157ac050 R15: 00007fffd9fd1788
 </TASK>

Crashes (303):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/11 00:29 upstream ab27740f7665 04815ef1 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/10/29 03:32 upstream 2af9b20dbb39 3c418d72 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/07/17 18:19 upstream fdf0eaf11452 e5f10889 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in lookup_inline_extent_backref
2023/05/06 16:58 upstream 2e1e1337881b 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in lookup_inline_extent_backref
2023/03/29 12:22 upstream fcd476ea6a88 fc067f05 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in lookup_inline_extent_backref
2022/12/29 04:42 upstream 1b929c02afd3 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in lookup_inline_extent_backref
2022/12/18 20:03 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in lookup_inline_extent_backref
2022/12/03 04:58 upstream a4412fdd49dc e080de16 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/01/22 17:57 linux-next d514392f17fd 559a440a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in lookup_inline_extent_backref
2023/01/15 15:39 linux-next 0a093b2893c7 a63719e7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in lookup_inline_extent_backref
2024/01/11 00:00 upstream ab27740f7665 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2024/01/08 23:31 upstream 5db8752c3b81 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/12/23 16:19 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/12/10 19:51 upstream c527f5606aa5 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/12/10 02:56 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/12/01 07:31 upstream e8f60209d6cf f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/28 12:07 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/28 01:14 upstream 2cc14f52aeb7 7ec6c044 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/21 14:45 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/15 20:51 upstream c42d9eeef8e5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/15 07:52 upstream c42d9eeef8e5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/11 16:59 upstream 3ca112b71f35 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/11/02 05:40 upstream 8bc9e6515183 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/10/29 01:07 upstream 2af9b20dbb39 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/10/20 12:06 upstream ce55c22ec8b2 a42250d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/10/11 16:59 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/10/03 10:48 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/10/01 06:50 upstream 3b517966c561 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/09/15 21:23 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in lookup_inline_extent_backref
2023/09/15 15:08 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in lookup_inline_extent_backref
2023/09/11 06:31 upstream 1548b060d6f3 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/09/10 12:37 upstream 535a265d7f0d 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/09/06 16:54 upstream 65d6e954e378 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/09/01 06:12 upstream b97d64c72259 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/31 06:58 upstream ef2a0b7cdbc5 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2024/10/30 06:02 upstream c1e939a21eb1 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in lookup_inline_extent_backref
2024/10/16 10:28 upstream 2f87d0916ce0 bde2d81c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in lookup_inline_extent_backref
2023/08/28 18:13 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/23 02:07 upstream 53663f4103ff b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/22 22:19 upstream 53663f4103ff b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/18 08:06 upstream 0e8860d2125f 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/17 16:42 upstream 16931859a650 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/16 21:37 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/16 16:22 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/16 11:14 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/16 01:17 upstream 2d7b8c6b90e4 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/15 18:42 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/15 16:07 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/14 02:48 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/13 11:12 upstream a785fd28d31f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/13 10:30 upstream a785fd28d31f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/13 00:10 upstream ae545c3283dc 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/12 08:06 upstream f8de32cc060b 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/08/08 16:26 upstream 14f9643dc90a 9552ae77 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/05/21 12:31 upstream 0dd2a6fb1e34 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in lookup_inline_extent_backref
2022/12/03 01:19 upstream a4412fdd49dc e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in lookup_inline_extent_backref
2023/05/17 00:08 linux-next 715abedee4cd 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in lookup_inline_extent_backref
* Struck through repros no longer work on HEAD.