syzbot


WARNING in loop_add

Status: upstream: reported C repro on 2019/08/16 07:43
Reported-by: syzbot+82664f8405da365c7238@syzkaller.appspotmail.com
First crash: 1954d, last: 669d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in loop_add C done error 64 1134d 1947d 20/28 fixed on 2022/03/08 16:11
linux-5.15 WARNING in loop_add origin:lts-only C error 5 47d 568d 0/3 upstream: reported C repro on 2023/06/02 07:04
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2022/01/10 21:18 11m bisect fix linux-4.19.y error job log
2020/11/29 09:00 30m bisect fix linux-4.19.y OK (0) job log log
2020/08/23 08:29 27m bisect fix linux-4.19.y OK (0) job log log
2020/03/20 17:35 31m bisect fix linux-4.19.y OK (0) job log log
2020/02/18 02:37 26m bisect fix linux-4.19.y OK (0) job log log
2020/01/19 02:11 26m bisect fix linux-4.19.y OK (0) job log log
2019/12/19 20:14 26m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
RBP: 00007ffe5ac658c0 R08: 0000000000000002 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8129 at block/genhd.c:719 __device_add_disk.cold+0x69/0x188 block/genhd.c:719
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8129 Comm: syz-executor593 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__device_add_disk.cold+0x69/0x188 block/genhd.c:719
Code: 02 84 c0 74 08 3c 03 0f 8e a8 00 00 00 44 8b a5 f0 05 00 00 e9 67 ad 6a fb e8 05 45 66 f9 48 c7 c7 60 75 b2 88 e8 64 76 f7 ff <0f> 0b e9 8f b9 6a fb e8 ed 44 66 f9 48 c7 c7 60 75 b2 88 e8 4c 76
RSP: 0018:ffff8880a250fb38 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10144a1f59
RBP: ffff8880b016e100 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b016e190
R13: ffff8880b016e790 R14: 00000000fffffff4 R15: ffff8880b016e104
 add_disk include/linux/genhd.h:409 [inline]
 loop_add+0x628/0x8a0 drivers/block/loop.c:2048
 loop_control_ioctl drivers/block/loop.c:2149 [inline]
 loop_control_ioctl+0x16c/0x480 drivers/block/loop.c:2131
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f30d5d29089
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe5ac658a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f30d5d29089
RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003
RBP: 00007ffe5ac658c0 R08: 0000000000000002 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (94):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/05 14:52 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2023/02/02 20:26 linux-4.19.y 3f8a27f9e27b 16d19e30 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2023/01/06 00:06 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/10/24 03:00 linux-4.19.y 3f8a27f9e27b 23bf86af .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/10/02 01:16 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/08/14 23:46 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/07/12 04:55 linux-4.19.y 3f8a27f9e27b da3d6955 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/06/20 07:51 linux-4.19.y 3f8a27f9e27b 8f633d84 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/06/18 07:19 linux-4.19.y 3f8a27f9e27b 8f633d84 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/06/08 05:13 linux-4.19.y 3f8a27f9e27b b2706118 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/05/28 09:46 linux-4.19.y 3f8a27f9e27b a46af346 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/05/22 02:50 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2022/04/18 02:27 linux-4.19.y 3f8a27f9e27b 8bcc32a6 .config console log report syz C ci2-linux-4-19 WARNING in loop_add
2020/12/22 04:29 linux-4.19.y 13d2ce42de8c 04201c06 .config console log report syz C ci2-linux-4-19
2019/08/16 08:06 linux-4.19.y 893af1c79e42 8fd428a1 .config console log report syz C ci2-linux-4-19
2021/10/26 10:05 linux-4.19.y 3f8a27f9e27b c1132b49 .config console log report syz ci2-linux-4-19 WARNING in loop_add
2023/02/21 02:49 linux-4.19.y 3f8a27f9e27b 2414209c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/12/23 13:41 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/11/07 02:12 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/09/29 08:51 linux-4.19.y 3f8a27f9e27b a41a2080 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/09/06 13:13 linux-4.19.y 3f8a27f9e27b 65aea2b9 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/09/04 12:47 linux-4.19.y 3f8a27f9e27b 28811d0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in loop_add
2022/08/11 13:50 linux-4.19.y 3f8a27f9e27b 787ed7e0 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/07/29 22:21 linux-4.19.y 3f8a27f9e27b fef302b1 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/07/22 02:56 linux-4.19.y 3f8a27f9e27b 5e6028b9 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/06/23 10:52 linux-4.19.y 3f8a27f9e27b 912f5df7 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/05/26 04:08 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/05/20 05:44 linux-4.19.y 3f8a27f9e27b cb1ac2e7 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/05/12 18:18 linux-4.19.y 3f8a27f9e27b 9ad6612a .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/04/05 07:24 linux-4.19.y 3f8a27f9e27b 5915c2cb .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/03/31 03:22 linux-4.19.y 3f8a27f9e27b 9d49f3a7 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/03/16 20:51 linux-4.19.y 3f8a27f9e27b 46cc3b21 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/02/21 15:38 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/01/28 00:03 linux-4.19.y 3f8a27f9e27b 64a8e201 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/01/24 23:44 linux-4.19.y 3f8a27f9e27b 2cbffd88 .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/01/12 09:32 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 WARNING in loop_add
2022/01/11 11:51 linux-4.19.y 3f8a27f9e27b 1884f55a .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/12/11 21:18 linux-4.19.y 3f8a27f9e27b 49ca1f59 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/12/11 09:43 linux-4.19.y 3f8a27f9e27b 49ca1f59 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/11/24 07:59 linux-4.19.y 3f8a27f9e27b 545ab074 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/11/16 12:23 linux-4.19.y 3f8a27f9e27b 600426bd .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/10/10 00:59 linux-4.19.y e34184f53363 838e7e2c .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/09/26 17:42 linux-4.19.y c2276d585654 8cac236e .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/09/14 21:33 linux-4.19.y b172b44fcb17 07e953c1 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/09/04 06:34 linux-4.19.y b172b44fcb17 d236a457 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/08/22 14:10 linux-4.19.y 59456c9cc40c b599f2fc .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/07/25 07:51 linux-4.19.y 4938296e03bd 4d1b57d4 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/07/05 16:56 linux-4.19.y 9f84340f012e 55aa55c2 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/07/02 12:42 linux-4.19.y 9f84340f012e 658ebc66 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/06/26 14:23 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/06/05 04:42 linux-4.19.y 1722257b8ece 500c2339 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/05/17 16:13 linux-4.19.y 3c8c23092588 a2eb125d .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/04/28 22:09 linux-4.19.y 97a8651cadce 77e2b668 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/04/22 00:41 linux-4.19.y 2965db2e004c 2bc8999a .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/04/07 14:44 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/03/23 22:40 linux-4.19.y 125222814e7b e613994b .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/02/26 15:14 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/02/05 06:17 linux-4.19.y 811218eceeaa 23a562df .config console log report info ci2-linux-4-19 WARNING in loop_add
2021/01/13 19:27 linux-4.19.y 675cc038067f a945f0a3 .config console log report info ci2-linux-4-19
2019/08/16 06:42 linux-4.19.y 893af1c79e42 8fd428a1 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.