syzbot


kernel BUG in close_ctree

Status: upstream: reported C repro on 2023/03/12 14:15
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+3133f15a94d62fd10bd2@syzkaller.appspotmail.com
First crash: 345d, last: 20d
Bug presence (3)
Date Name Commit Repro Result
2023/09/24 linux-6.1.y (ToT) d23900f974e0 C [report] kernel BUG in close_ctree
2023/05/10 upstream (ToT) 16a8829130ca C [report] kernel BUG in close_ctree
2023/09/24 upstream (ToT) 3aba70aed91f C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in close_ctree origin:upstream missing-backport C done 300 4d03h 344d 0/3 upstream: reported C repro on 2023/03/13 21:19
upstream kernel BUG in close_ctree btrfs C error 5807 4d10h 454d 0/26 upstream: reported C repro on 2022/11/23 08:10
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/10/16 15:09 3h02m fix candidate upstream job log (0) log

Sample crash report:
assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4704
------------[ cut here ]------------
kernel BUG at fs/btrfs/ctree.h:3716!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3579 Comm: syz-executor340 Not tainted 6.1.54-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:assertfail+0x18/0x1a fs/btrfs/ctree.h:3716
Code: 00 38 2d 8b 48 c7 c2 20 35 2d 8b e8 07 e4 ff ff 0f 0b 89 f1 48 89 fe 48 c7 c7 40 68 2d 8b 48 c7 c2 f0 39 2d 8b e8 ed e3 ff ff <0f> 0b 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec
RSP: 0018:ffffc90003cdfb38 EFLAGS: 00010246
RAX: 0000000000000051 RBX: ffff8880770acd58 RCX: c2ad11d460d18000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90003cdfce0 R08: ffffffff816dbf7c R09: fffff5200079bf21
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880770ac010
R13: ffff8880770ac000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00005555555ea480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2107297000 CR3: 00000000785e1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 close_ctree+0x830/0xc35 fs/btrfs/disk-io.c:4704
 generic_shutdown_super+0x130/0x340 fs/super.c:501
 kill_anon_super+0x37/0x60 fs/super.c:1117
 btrfs_kill_super+0x3d/0x50 fs/btrfs/super.c:2445
 deactivate_locked_super+0xa0/0x110 fs/super.c:332
 cleanup_mnt+0x490/0x520 fs/namespace.c:1186
 task_work_run+0x246/0x300 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f210fe05987
Code: 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe9e6ae248 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f210fe05987
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe9e6ae300
RBP: 00007ffe9e6ae300 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe9e6af3c0
R13: 00005555555eb8e0 R14: 00007ffe9e6af400 R15: 000000000000002b
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:assertfail+0x18/0x1a fs/btrfs/ctree.h:3716
Code: 00 38 2d 8b 48 c7 c2 20 35 2d 8b e8 07 e4 ff ff 0f 0b 89 f1 48 89 fe 48 c7 c7 40 68 2d 8b 48 c7 c2 f0 39 2d 8b e8 ed e3 ff ff <0f> 0b 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec
RSP: 0018:ffffc90003cdfb38 EFLAGS: 00010246
RAX: 0000000000000051 RBX: ffff8880770acd58 RCX: c2ad11d460d18000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90003cdfce0 R08: ffffffff816dbf7c R09: fffff5200079bf21
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880770ac010
R13: ffff8880770ac000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00005555555ea480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f210fe8e214 CR3: 00000000785e1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (362):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/22 05:54 linux-6.1.y a356197db198 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/04/02 09:27 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/13 17:40 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/08/12 17:56 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/06/22 06:51 linux-6.1.y e84a4e368abe 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/05/24 06:36 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/04/01 12:44 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/06/09 09:18 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/06/06 09:44 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/06/03 04:24 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/03/31 08:52 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/03/31 04:18 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/03/13 22:01 linux-6.1.y 6449a0ba6843 026e2200 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/25 03:32 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/18 04:30 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/30 20:22 linux-6.1.y 883d1a956208 7f400fcb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2024/01/08 11:01 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2024/01/06 16:32 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/28 11:21 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/07 00:53 linux-6.1.y c6114c845984 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/06 22:36 linux-6.1.y c6114c845984 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/04 06:47 linux-6.1.y c6114c845984 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/03 23:36 linux-6.1.y c6114c845984 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/03 17:56 linux-6.1.y c6114c845984 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/03 16:49 linux-6.1.y c6114c845984 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/03 05:38 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/12/01 02:46 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/11/30 18:39 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/11/30 13:28 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/11/30 10:14 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/11/29 07:07 linux-6.1.y 6ac30d748bb0 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/11/27 01:39 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2023/11/25 01:06 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
2024/01/31 14:14 linux-6.1.y 883d1a956208 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/24 04:40 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/20 17:23 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/16 01:23 linux-6.1.y fec3b1451d5f 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/14 02:16 linux-6.1.y 7c58bfa711cb 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/12 21:30 linux-6.1.y 7c58bfa711cb 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/11 12:11 linux-6.1.y 7c58bfa711cb 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2024/01/10 22:54 linux-6.1.y 7c58bfa711cb 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/27 03:59 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/25 06:05 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/24 16:22 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/20 19:32 linux-6.1.y 4aa6747d9352 de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/17 19:21 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/17 10:29 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/14 10:17 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/09 20:04 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/08 07:12 linux-6.1.y c6114c845984 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/08 01:31 linux-6.1.y c6114c845984 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/06 00:46 linux-6.1.y c6114c845984 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/12/02 08:08 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/30 23:05 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/30 13:27 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/29 17:36 linux-6.1.y 6ac30d748bb0 6e78f9ce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/29 03:52 linux-6.1.y 6ac30d748bb0 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/27 21:35 linux-6.1.y 69e434a1cb21 7ec6c044 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/11/26 15:02 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in close_ctree
2023/03/12 14:14 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in close_ctree
* Struck through repros no longer work on HEAD.