syzbot


kernel BUG at fs/btrfs/volumes.c:LINE!

Status: upstream: reported C repro on 2019/04/29 16:42
Reported-by: syzbot+319399a566a75d350a52@syzkaller.appspotmail.com
First crash: 1913d, last: 670d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG at fs/btrfs/volumes.c:LINE! C inconclusive 40 817d 1926d 0/1 upstream: reported C repro on 2019/04/16 14:20
upstream kernel BUG at fs/btrfs/volumes.c:LINE! btrfs 130 1701d 2240d 15/27 fixed on 2020/03/11 20:34
Fix bisection attempts (11)
Created Duration User Patch Repo Result
2022/02/21 23:58 12m bisect fix linux-4.19.y error job log
2021/10/12 16:29 27m bisect fix linux-4.19.y OK (0) job log log
2021/06/24 10:34 24m bisect fix linux-4.19.y OK (0) job log log
2021/05/24 14:20 29m bisect fix linux-4.19.y OK (0) job log log
2020/12/03 15:57 28m bisect fix linux-4.19.y OK (0) job log log
2020/10/03 20:46 25m bisect fix linux-4.19.y OK (0) job log log
2020/09/03 18:10 31m bisect fix linux-4.19.y OK (0) job log log
2020/08/04 17:44 25m bisect fix linux-4.19.y OK (0) job log log
2020/06/24 21:19 24m bisect fix linux-4.19.y OK (0) job log log
2020/04/23 11:57 25m bisect fix linux-4.19.y OK (0) job log log
2020/03/21 03:53 27m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffd3a753470
RBP: 00007ffd3a753470 R08: 00007ffd3a7534b0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000020000218
R13: 0000000000000004 R14: 0000000000000005 R15: 0000000000000001
------------[ cut here ]------------
kernel BUG at fs/btrfs/volumes.c:1061!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8123 Comm: syz-executor404 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1061 [inline]
RIP: 0010:close_fs_devices.part.0+0x6b0/0x8e0 fs/btrfs/volumes.c:1085
Code: 03 0f 8e 27 01 00 00 48 8b 44 24 20 c7 80 10 01 00 00 00 00 00 00 48 83 c4 48 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 70 ad 71 fe <0f> 0b e8 69 ad 71 fe 0f 0b e8 22 8d a7 fe e9 17 fd ff ff 48 8b 7c
RSP: 0018:ffff88809340f838 EFLAGS: 00010293
RAX: ffff8880932481c0 RBX: 0000000000000001 RCX: ffffffff82f0d3c5
RDX: 0000000000000000 RSI: ffffffff82f0d800 RDI: 0000000000000007
RBP: ffff8880b5402040 R08: 0000000000000000 R09: fffffffffffff000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: fffffffffffffff4 R14: dffffc0000000000 R15: ffff8880b14e7680
FS:  0000555555c32300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd3a754000 CR3: 00000000b2925000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 close_fs_devices fs/btrfs/volumes.c:1117 [inline]
 btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1103
 btrfs_mount_root+0x10b9/0x1830 fs/btrfs/super.c:1630
 mount_fs+0xa3/0x310 fs/super.c:1261
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951
 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681
 mount_fs+0xa3/0x310 fs/super.c:1261
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 vfs_kern_mount fs/namespace.c:951 [inline]
 do_new_mount fs/namespace.c:2492 [inline]
 do_mount+0x115c/0x2f50 fs/namespace.c:2822
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f0d88ebef2a
Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd3a753458 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffd3a7534b0 RCX: 00007f0d88ebef2a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffd3a753470
RBP: 00007ffd3a753470 R08: 00007ffd3a7534b0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000020000218
R13: 0000000000000004 R14: 0000000000000005 R15: 0000000000000001
Modules linked in:
---[ end trace 0d3ed822fd567485 ]---
RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1061 [inline]
RIP: 0010:close_fs_devices.part.0+0x6b0/0x8e0 fs/btrfs/volumes.c:1085
Code: 03 0f 8e 27 01 00 00 48 8b 44 24 20 c7 80 10 01 00 00 00 00 00 00 48 83 c4 48 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 70 ad 71 fe <0f> 0b e8 69 ad 71 fe 0f 0b e8 22 8d a7 fe e9 17 fd ff ff 48 8b 7c
RSP: 0018:ffff88809340f838 EFLAGS: 00010293
RAX: ffff8880932481c0 RBX: 0000000000000001 RCX: ffffffff82f0d3c5
RDX: 0000000000000000 RSI: ffffffff82f0d800 RDI: 0000000000000007
RBP: ffff8880b5402040 R08: 0000000000000000 R09: fffffffffffff000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: fffffffffffffff4 R14: dffffc0000000000 R15: ffff8880b14e7680
FS:  0000555555c32300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd3a754000 CR3: 00000000b2925000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (126):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/07 06:57 linux-4.19.y 3f8a27f9e27b 5fc30c37 .config console log report syz C ci2-linux-4-19 kernel BUG in close_fs_devices
2022/05/25 22:35 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report syz C ci2-linux-4-19 kernel BUG in close_fs_devices
2019/12/11 00:52 linux-4.19.y fb683b5e3f53 101194eb .config console log report syz C ci2-linux-4-19
2022/09/23 06:39 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/09/10 10:40 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/09/07 06:26 linux-4.19.y 3f8a27f9e27b 5fc30c37 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/08/27 04:32 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/08/19 08:16 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/08/12 00:58 linux-4.19.y 3f8a27f9e27b 21724cb2 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/08/11 01:30 linux-4.19.y 3f8a27f9e27b a6201f11 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/08/09 20:22 linux-4.19.y 3f8a27f9e27b c2a623d6 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/07/29 16:53 linux-4.19.y 3f8a27f9e27b fef302b1 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/07/25 13:17 linux-4.19.y 3f8a27f9e27b 664c519c .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/07/22 13:33 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/07/06 02:22 linux-4.19.y 3f8a27f9e27b bff65f44 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/06/21 05:09 linux-4.19.y 3f8a27f9e27b 0fc5c330 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/06/03 15:03 linux-4.19.y 3f8a27f9e27b eee80d3c .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/06/01 23:18 linux-4.19.y 3f8a27f9e27b b4bc6a3d .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/05/31 00:41 linux-4.19.y 3f8a27f9e27b af70c3a9 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/05/27 10:32 linux-4.19.y 3f8a27f9e27b 116e7a7b .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/05/26 03:24 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/05/25 21:25 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/05/11 07:01 linux-4.19.y 3f8a27f9e27b 8d7b3b67 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/04/26 17:57 linux-4.19.y 3f8a27f9e27b 1fa34c1b .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/04/26 14:41 linux-4.19.y 3f8a27f9e27b 1fa34c1b .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/04/21 23:48 linux-4.19.y 3f8a27f9e27b 2738b391 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/04/15 19:46 linux-4.19.y 3f8a27f9e27b 8bcc32a6 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/04/15 11:51 linux-4.19.y 3f8a27f9e27b b17b2923 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/04/04 17:33 linux-4.19.y 3f8a27f9e27b 5915c2cb .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/03/31 19:58 linux-4.19.y 3f8a27f9e27b c4c32d8c .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/01/22 23:58 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/01/21 23:00 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2022/01/08 01:52 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/12/21 01:37 linux-4.19.y 3f8a27f9e27b 62bd192b .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/12/16 21:08 linux-4.19.y 3f8a27f9e27b 8dd6a5e3 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/12/06 12:28 linux-4.19.y 3f8a27f9e27b 579a8754 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/11/30 19:19 linux-4.19.y 3f8a27f9e27b 80270552 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/11/26 08:31 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/11/17 06:03 linux-4.19.y 3f8a27f9e27b cafff8b6 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/10/21 19:03 linux-4.19.y 3f8a27f9e27b c5cb7da8 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/09/12 11:42 linux-4.19.y b172b44fcb17 3ce60af8 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/09/01 02:00 linux-4.19.y e23d55af0e1f 7eb7e152 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/08/28 09:52 linux-4.19.y e23d55af0e1f d5a29e53 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/08/16 13:53 linux-4.19.y 59456c9cc40c 6652437d .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/08/07 15:32 linux-4.19.y 6ca2f514c578 6972b106 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/08/07 14:00 linux-4.19.y 6ca2f514c578 6972b106 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/07/30 15:24 linux-4.19.y a89b48fe9308 c585c7b0 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/07/20 19:45 linux-4.19.y 4938296e03bd 1b201b48 .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/07/20 07:09 linux-4.19.y fcfbdfe9626e bc48c9ab .config console log report info ci2-linux-4-19 kernel BUG in close_fs_devices
2021/01/13 17:46 linux-4.19.y 675cc038067f a945f0a3 .config console log report info ci2-linux-4-19
2019/04/29 15:41 linux-4.19.y 19bb613acb9a b617407b .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.