syzbot


WARNING in __btrfs_close_devices

Status: upstream: reported C repro on 2020/09/23 23:07
Reported-by: syzbot+bbf16175a35f930b975b@syzkaller.appspotmail.com
First crash: 1554d, last: 800d
Fix bisection: failed (error log, bisect log)
  
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2022/10/13 02:15 0m bisect fix linux-4.14.y error job log
2022/02/18 15:37 27m bisect fix linux-4.14.y OK (0) job log log
2021/11/13 23:53 23m bisect fix linux-4.14.y OK (0) job log log
2021/10/14 22:44 28m bisect fix linux-4.14.y OK (0) job log log
2021/09/14 22:17 26m bisect fix linux-4.14.y OK (0) job log log
2021/08/15 21:54 22m bisect fix linux-4.14.y OK (0) job log log
2021/07/16 21:31 22m bisect fix linux-4.14.y OK (0) job log log
2021/06/16 21:09 21m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
BTRFS error (device loop0): bad tree block start 0 5279744
BTRFS warning (device loop0): failed to recover relocation: -5
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8005 at fs/btrfs/volumes.c:936 __btrfs_close_devices+0x888/0xb20 fs/btrfs/volumes.c:936
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8005 Comm: syz-executor213 Not tainted 4.14.285-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:__btrfs_close_devices+0x888/0xb20 fs/btrfs/volumes.c:936
RSP: 0018:ffff8880b354f618 EFLAGS: 00010297
RAX: ffff8880a0b84380 RBX: dffffc0000000000 RCX: ffff8880b354f688
RDX: 0000000000000000 RSI: ffff8880a0b84c30 RDI: ffff88809ad027e0
RBP: ffff8880b1944900 R08: 0000000000000286 R09: 0000000000000000
print_req_error: I/O error, dev loop1, sector 0
R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff8880b1fb0800 R15: ffff8880b19449a0
print_req_error: I/O error, dev loop5, sector 0
 btrfs_close_devices+0x24/0x140 fs/btrfs/volumes.c:949
 open_ctree+0x241/0x7400 fs/btrfs/disk-io.c:3101
 btrfs_fill_super fs/btrfs/super.c:1147 [inline]
 btrfs_mount+0x1915/0x1fe0 fs/btrfs/super.c:1631
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1036
 mount_subvol fs/btrfs/super.c:1398 [inline]
 btrfs_mount+0x42a/0x1fe0 fs/btrfs/super.c:1569
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2572 [inline]
 do_mount+0xe65/0x2a30 fs/namespace.c:2905
 SYSC_mount fs/namespace.c:3121 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3098
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7faf5ad2a42a
RSP: 002b:00007ffe5cb95738 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffe5cb957d0 RCX: 00007faf5ad2a42a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe5cb95790
RBP: 00007ffe5cb95790 R08: 00007ffe5cb957d0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000001
R13: 0000000000000004 R14: 0000000000000003 R15: 0000000020000100
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (97):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/30 13:38 linux-4.14.y f051383ef03b 1434eec0 .config console log report syz C ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/03/10 02:45 linux-4.14.y 1d177c0872ab 26967e35 .config console log report syz C ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/02/19 05:02 linux-4.14.y 2c8a3fceddf0 14052202 .config console log report syz C ci2-linux-4-14 WARNING in __btrfs_close_devices
2020/11/16 02:42 linux-4.14.y 27ce4f2a6817 1bf9a662 .config console log report syz C ci2-linux-4-14
2020/09/23 23:07 linux-4.14.y cbfa1702aaf6 54289b08 .config console log report syz C ci2-linux-4-14
2022/08/31 00:02 linux-4.14.y e548869f356f 4a380809 .config console log report syz ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/10/17 19:16 linux-4.14.y 9d5c0b3a8e1a 94744d21 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/09/03 17:40 linux-4.14.y e548869f356f 28811d0a .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/08/26 19:47 linux-4.14.y e548869f356f e5a303f1 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/08/10 13:27 linux-4.14.y b641242202ed aaa9eaa0 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/07/25 14:38 linux-4.14.y 9c3bf9cf362f 664c519c .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/07/23 12:20 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/07/19 13:19 linux-4.14.y 424a46ea058e 72a3cc0c .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/06/17 12:14 linux-4.14.y 84bae26850e3 cb58b3b2 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/06/16 06:10 linux-4.14.y 1ccc597f801c 1719ee24 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/05/24 13:50 linux-4.14.y dffb5c6ff09c fcfad4ff .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/05/05 19:14 linux-4.14.y e3a56aaade89 b3f09415 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/05/05 14:18 linux-4.14.y e3a56aaade89 b3f09415 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/04/30 13:29 linux-4.14.y e3a56aaade89 2df221f6 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/04/22 19:17 linux-4.14.y 15a1c6b6f516 131df97d .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/04/08 21:51 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/03/18 03:28 linux-4.14.y eb045674aab3 e2d91b1d .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/03/14 18:35 linux-4.14.y af48f51cb593 9e8eaa75 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/03/11 16:40 linux-4.14.y af48f51cb593 9e8eaa75 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/03/09 02:17 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/03/02 12:59 linux-4.14.y e853993d29aa 45a13a73 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/02/21 18:17 linux-4.14.y a35d65bedfbc 3cd800e4 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/01/19 15:37 linux-4.14.y 4ba8e26127c3 0620189b .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/01/19 12:05 linux-4.14.y 4ba8e26127c3 0620189b .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/01/14 22:36 linux-4.14.y 4ba8e26127c3 53e00b45 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/01/14 21:24 linux-4.14.y 4ba8e26127c3 53e00b45 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/01/10 21:41 linux-4.14.y bfdef05c8da4 ddb0ab8c .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2022/01/05 01:05 linux-4.14.y a6ca7c65b137 0a2584dd .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/12/27 18:53 linux-4.14.y 8ee0807eedf3 5140bd58 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/12/14 05:11 linux-4.14.y c01d4d1b885d 5d14b1ea .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/12/07 12:46 linux-4.14.y 66722c42ec91 0230ba3e .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/12/05 22:59 linux-4.14.y 66722c42ec91 a617004c .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/12/05 21:04 linux-4.14.y 66722c42ec91 a617004c .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/12/05 09:06 linux-4.14.y 66722c42ec91 a617004c .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/05/17 21:09 linux-4.14.y 7d7d1c0ab3eb a2eb125d .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/05/16 09:58 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/05/11 18:16 linux-4.14.y 7d7d1c0ab3eb ca873091 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/05/07 11:11 linux-4.14.y 7d7d1c0ab3eb f6da8120 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/05/05 16:14 linux-4.14.y 7d7d1c0ab3eb 06c27ff5 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/05/01 22:07 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/24 09:01 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/24 02:40 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/23 22:53 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/23 08:37 linux-4.14.y cf256fbcbe34 590921a5 .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/18 11:35 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/17 22:10 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/17 04:46 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/04/12 12:02 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 WARNING in __btrfs_close_devices
2021/01/16 06:48 linux-4.14.y f79dc86058bc 65a7a854 .config console log report info ci2-linux-4-14
2020/09/29 13:16 linux-4.14.y cbfa1702aaf6 1b88c6d5 .config console log report info ci2-linux-4-14
2020/09/27 11:12 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.