syzbot


netbsd boot error: panic: LOCKDEBUG: Mutex error: mi_switch,528: spin lock held

Status: closed as invalid on 2019/12/12 08:55
Reported-by: syzbot+f5faff24a98cd89b3bb7@syzkaller.appspotmail.com
First crash: 1811d, last: 1811d

Sample crash report:
[   1.4713897] sd0 at scsibus0panic: LOCKDEBUG: Mutex error: mi_switch,528: spin lock held
[   1.5140610] cpu1: Begin traceback...
[   1.5140610]  target 2 lun 0: <Google, PersistentDisk, 1> disk fixed
[   1.5245702] sd0: fabricating a geometry
[   1.5245702] sd0: 8192 MB, 8192 cyl, 64 head, 32 sec, 512 bytes/sect x 16777216 sectors
[   [.  1.003] 07a sd() ft ricating a geometry
[  [1  412410] sd0n tbyncv anbc+ traa
[   1.5412280] fers, tagged queueing
[   1.5512682] snprintf() at netbsd:snprintf
[   1.5813177] lockdebug_abort1() at netbsd:lockdebug_abort1+0x16e sys/kern/subr_lockdebug.c:799
[   1.6013556] lockdebug_barrier() at netbsd:lockdebug_barrier+0x157 sys/kern/subr_lockdebug.c:673
[   1.6113735] mi_switch() at netbsd:mi_switch+0xbf sys/kern/kern_synch.c:532
[   1.6113735] idle_loop() at netbsd:idle_loop+0x4bf x86_curlwp sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:79 [inline]
[   1.6113735] idle_loop() at netbsd:idle_loop+0x4bf sys/kern/kern_idle.c:99
[   1.6113735] cpu_hatch() at netbsd:cpu_hatch+0x3a7 sys/arch/x86/x86/cpu.c:970
[   1.6113735] md_root_setconf() at netbsd:md_root_setconf
[   1.6113735] cpu1: End traceback...
[   1.6113735] fatal breakpoint trap in supervisor mode
[   1.6113735] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x282 cr2 0 ilevel 0x8 rsp 0xffff8e00a57c6d30
[   1.6113735] curlwp 0xffffd6989f658100 pid 0.20 lowest kstack 0xffff8e00a57c32c0
Stopped in pid 0.20 (system) at netbsd:breakpoint+0x5:  leave
db{1}> 

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/07 10:05 netbsd 85bd237ab50b 85f26751 .config console log report ci2-netbsd-kubsan
* Struck through repros no longer work on HEAD.