syzbot


kernel BUG in close_ctree

Status: upstream: reported C repro on 2023/03/13 21:19
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+d36a7f58c8db09c4609e@syzkaller.appspotmail.com
First crash: 402d, last: 1h04m
Fix commit to backport (bisect log) :
tree: upstream
commit 4490e803e1fe9fab8db5025e44e23b55df54078b
Author: Filipe Manana <fdmanana@suse.com>
Date: Wed Jul 26 15:56:57 2023 +0000

  btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART

[report pending]
  
Bug presence (3)
Date Name Commit Repro Result
2023/09/16 linux-5.15.y (ToT) aff03380bda4 C [report] kernel BUG in close_ctree
2023/05/03 upstream (ToT) fa31fc82fb77 C [report] kernel BUG in close_ctree
2023/09/16 upstream (ToT) 57d88e8a5974 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in close_ctree origin:upstream missing-backport C 375 21h34m 403d 0/3 upstream: reported C repro on 2023/03/12 14:15
upstream kernel BUG in close_ctree btrfs C error 5844 14m 512d 0/26 upstream: reported C repro on 2022/11/23 08:10
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/10/11 22:40 3h57m fix candidate upstream job log (1)

Sample crash report:
assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4450
------------[ cut here ]------------
kernel BUG at fs/btrfs/ctree.h:3473!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3541 Comm: syz-executor703 Not tainted 5.15.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:assertfail+0x18/0x1a fs/btrfs/ctree.h:3473
Code: 0b e8 1d 8f 64 f7 48 8b 3d 76 44 39 07 e9 b1 65 98 f7 89 f1 48 89 fe 48 c7 c7 e0 8a c9 8a 48 c7 c2 40 60 c9 8a e8 f2 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:ffffc90002cb7c78 EFLAGS: 00010246
RAX: 0000000000000051 RBX: ffff888024800d28 RCX: 9af879f32727b800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90002cb7d78 R08: ffffffff81665d9c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888024800000
R13: 1ffff1100490025b R14: dffffc0000000000 R15: 1ffff110049001f4
FS:  00005555570e33c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000204a8000 CR3: 0000000071d6a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 close_ctree+0x811/0x886 fs/btrfs/disk-io.c:4450
 generic_shutdown_super+0x136/0x2c0 fs/super.c:475
 kill_anon_super+0x37/0x60 fs/super.c:1076
 btrfs_kill_super+0x3d/0x50 fs/btrfs/super.c:2391
 deactivate_locked_super+0xa0/0x110 fs/super.c:335
 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f15e49b0eb7
Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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:00007ffc02f0e208 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 000000000008f1e8 RCX: 00007f15e49b0eb7
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffc02f0e2c0
RBP: 00007ffc02f0e2c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffc02f0f380
R13: 00005555570e4700 R14: 431bde82d7b634db R15: 00007ffc02f0f324
 </TASK>
Modules linked in:
---[ end trace 04c2a55ee7efee6b ]---
RIP: 0010:assertfail+0x18/0x1a fs/btrfs/ctree.h:3473
Code: 0b e8 1d 8f 64 f7 48 8b 3d 76 44 39 07 e9 b1 65 98 f7 89 f1 48 89 fe 48 c7 c7 e0 8a c9 8a 48 c7 c2 40 60 c9 8a e8 f2 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:ffffc90002cb7c78 EFLAGS: 00010246
RAX: 0000000000000051 RBX: ffff888024800d28 RCX: 9af879f32727b800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90002cb7d78 R08: ffffffff81665d9c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888024800000
R13: 1ffff1100490025b R14: dffffc0000000000 R15: 1ffff110049001f4
FS:  00005555570e33c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000204a8000 CR3: 0000000071d6a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (348):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/30 08:32 linux-5.15.y 6139f2a02fe0 991a98f4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/01/30 02:56 linux-5.15.y 6139f2a02fe0 991a98f4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/12/07 00:56 linux-5.15.y 9b91d36ba301 e3299f55 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/11/04 17:09 linux-5.15.y 12952a23a5da 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/10/17 09:39 linux-5.15.y 02e21884dcf2 342b9c55 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/03/31 22:44 linux-5.15.y c957cbb87315 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/03/17 10:39 linux-5.15.y b95c01af2113 d615901c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/13 20:56 linux-5.15.y 574362648507 f919f202 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/07 17:02 linux-5.15.y 6139f2a02fe0 6404acf9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/01/20 22:18 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/12/14 21:00 linux-5.15.y d0fc081c6241 3222d10c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/10/10 00:25 linux-5.15.y 1edcec18cfb7 3c53c7d9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/07/02 05:18 linux-5.15.y 4af60700a60c bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/06/24 13:57 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/05/22 01:32 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/05/08 01:06 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/06/09 09:19 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/06/06 17:58 linux-5.15.y d7af3e5ba454 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/06/03 07:05 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/03/31 16:38 linux-5.15.y c957cbb87315 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/03/13 21:40 linux-5.15.y 2ddbd0f967b3 026e2200 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/27 02:28 linux-5.15.y 458ce51d0356 da36a36b .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/13 00:24 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/07/07 01:18 linux-5.15.y d54cfc420586 1a2f6297 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/03/23 15:39 linux-5.15.y 115472395b0a f94b4a29 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in close_ctree
2023/06/22 02:45 linux-5.15.y f67653019430 79782afc .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/19 02:28 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/18 05:38 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/17 17:10 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/17 15:48 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/17 15:01 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/17 07:09 linux-5.15.y fa3df276cd36 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/16 15:30 linux-5.15.y fa3df276cd36 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/16 00:30 linux-5.15.y fa3df276cd36 b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/14 23:34 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/13 01:57 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/11 12:27 linux-5.15.y cdfd0a7f0139 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/03/29 01:09 linux-5.15.y 9465fef4ae35 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/03/20 06:55 linux-5.15.y b95c01af2113 a485f239 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/03/09 06:27 linux-5.15.y 574362648507 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/27 09:29 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/26 15:20 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/25 01:56 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/17 02:22 linux-5.15.y 6139f2a02fe0 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/16 23:19 linux-5.15.y 6139f2a02fe0 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/13 03:04 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/02/07 06:05 linux-5.15.y 6139f2a02fe0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/01/29 20:19 linux-5.15.y 6139f2a02fe0 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in close_ctree
2024/04/17 22:01 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/17 18:15 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/17 11:19 linux-5.15.y c52b9710c83d 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/17 08:32 linux-5.15.y fa3df276cd36 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/16 03:45 linux-5.15.y fa3df276cd36 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/15 23:04 linux-5.15.y fa3df276cd36 b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/15 08:39 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/13 07:21 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/12 06:36 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/11 09:24 linux-5.15.y cdfd0a7f0139 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/10 11:45 linux-5.15.y 9465fef4ae35 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/08 13:06 linux-5.15.y 9465fef4ae35 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/04/04 04:23 linux-5.15.y 9465fef4ae35 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/28 11:34 linux-5.15.y 9465fef4ae35 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/18 18:10 linux-5.15.y b95c01af2113 baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/10 01:07 linux-5.15.y 574362648507 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/09 10:27 linux-5.15.y 574362648507 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/06 18:33 linux-5.15.y 574362648507 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/04 14:27 linux-5.15.y 80efc6265290 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/03 10:44 linux-5.15.y 80efc6265290 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/03/02 06:30 linux-5.15.y 80efc6265290 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/24 20:24 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/23 08:32 linux-5.15.y 6139f2a02fe0 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/05 15:52 linux-5.15.y 6139f2a02fe0 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/05 10:57 linux-5.15.y 6139f2a02fe0 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2024/02/02 00:58 linux-5.15.y 6139f2a02fe0 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
2023/03/13 21:19 linux-5.15.y 2ddbd0f967b3 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in close_ctree
* Struck through repros no longer work on HEAD.