syzbot


WARNING in loop_add

Status: upstream: reported C repro on 2023/06/02 07:04
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+345db7d28450eed314e4@syzkaller.appspotmail.com
First crash: 557d, last: 36d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/11/04 linux-5.15.y (ToT) 72244eab0dad C [report] WARNING in loop_add
2024/11/04 upstream (ToT) 59b723cd2adb C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in loop_add C error 94 658d 1943d 0/1 upstream: reported C repro on 2019/08/16 07:43
upstream WARNING in loop_add C done error 64 1123d 1936d 20/28 fixed on 2022/03/08 16:11
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/15 02:36 0m retest repro linux-5.15.y error
2024/10/14 23:32 0m retest repro linux-5.15.y error
2024/10/14 23:32 0m retest repro linux-5.15.y error
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/10/07 14:52 2m fix candidate upstream error job log
2024/05/25 19:44 0m fix candidate upstream error job log
2024/03/25 03:38 0m fix candidate upstream error job log
2024/02/12 02:13 0m fix candidate upstream error job log
2024/01/08 20:08 1m fix candidate upstream error job log
2023/11/23 11:14 0m fix candidate upstream error job log
2023/09/06 08:47 0m fix candidate upstream error job log
2023/09/01 04:00 1m bisect fix linux-5.15.y error job log

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3501 at block/genhd.c:546 device_add_disk+0x988/0xc50 block/genhd.c:544
Modules linked in:
CPU: 0 PID: 3501 Comm: syz-executor230 Not tainted 5.15.118-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:device_add_disk+0x988/0xc50 block/genhd.c:546
Code: 4c 89 e8 48 c1 e8 03 0f b6 04 28 84 c0 0f 85 56 01 00 00 41 8b 75 00 48 c7 c7 a0 80 ee 8c e8 2f b9 39 00 eb 05 e8 08 9c 90 fd <0f> 0b bd 01 00 00 00 89 e8 48 81 c4 88 00 00 00 5b 41 5c 41 5d 41
RSP: 0018:ffffc90002c1fd20 EFLAGS: 00010293
RAX: ffffffff83ef5e48 RBX: 0000000000000007 RCX: ffff8880131a8000
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000103
RBP: dffffc0000000000 R08: ffffffff83ef5e0d R09: ffffed102810cbd0
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888075703000 R14: 1ffff1100eae0600 R15: ffff888140865e40
FS:  00005555571bf300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f76677919a0 CR3: 0000000071ac7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 add_disk include/linux/genhd.h:212 [inline]
 loop_add+0x5f2/0x880 drivers/block/loop.c:2430
 loop_control_ioctl+0x115/0x700 drivers/block/loop.c:2545
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7667762069
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:00007ffc7764ba08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f7667762069
RDX: 00000000fdfdffff RSI: 0000000000004c80 RDI: 0000000000000003
RBP: 00007ffc7764ba20 R08: 0000000000000002 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/24 07:18 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in loop_add
2024/09/29 10:53 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
2023/06/02 09:14 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
2024/09/29 10:35 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
2023/06/02 07:04 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
* Struck through repros no longer work on HEAD.