kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sun Apr 25 23:55:26 PDT 2021 OpenBSD/amd64 (ci-openbsd-setuid-6.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.96' (ED25519) to the list of known hosts. 2021/04/25 23:55:45 parsed 1 programs 2021/04/25 23:55:50 executed programs: 0 login: panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) solock Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND db_enter() at db_enter+0x18 panic(ffffffff823e90cf) at panic+0x15e witness_checkorder(fffffd807e9a8990,9,0) at witness_checkorder+0x1188 rw_enter_write(fffffd807e9a8980) at rw_enter_write+0x5b solock(fffffd807e9a8978) at solock+0x97 rtm_senddesync_timer(fffffd807e9a8978) at rtm_senddesync_timer+0x1a timeout_run(fffffd806f750c48) at timeout_run+0xcc softclock_process_tick_timeout(fffffd806f750c48,0) at softclock_process_tick_timeout+0x196 softclock(0) at softclock+0x11a softintr_dispatch(0) at softintr_dispatch+0xfb Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x2eb sched_idle(ffffffff8272eff0) at sched_idle+0x417 end trace frame: 0x0, count: 2 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic acquiring blockable sleep lock with spinlock or critical section held (rwlock) solock ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff823e90cf) at panic+0x15e witness_checkorder(fffffd807e9a8990,9,0) at witness_checkorder+0x1188 rw_enter_write(fffffd807e9a8980) at rw_enter_write+0x5b solock(fffffd807e9a8978) at solock+0x97 rtm_senddesync_timer(fffffd807e9a8978) at rtm_senddesync_timer+0x1a timeout_run(fffffd806f750c48) at timeout_run+0xcc softclock_process_tick_timeout(fffffd806f750c48,0) at softclock_process_tick_timeout+0x196 softclock(0) at softclock+0x11a softintr_dispatch(0) at softintr_dispatch+0xfb Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x2eb sched_idle(ffffffff8272eff0) at sched_idle+0x417 end trace frame: 0x0, count: -13 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002116f0d0 rbx 0xffff80002116f0e0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff814588c5 kprintf+0x145 r9 0x1 r10 0x827ed8a4acb2dd75 r11 0x6c0f8111a6c0c5f0 r12 0x3000000008 r13 0xffff80002116f180 r14 0x100 r15 0x1 rip 0xffffffff814ec468 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002116f0c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (idle0) pid=357964 stat=onproc flags process=14000 proc=40000200 pri=0, usrpri=50, nice=20 forw=0x7aa058a7ad82aaae, list=0xffff800021169a40,0xffff800021169270 process=0xffff8000fffff6d8 user=0xffff80002116a000, vmspace=0xffffffff827d9248 estcpu=0, cpticks=3202, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59623 424875 93272 0 3 0x80 kqread syz-executor.0 93272 310400 54440 0 3 0x82 nanoslp syz-executor.0 54440 73167 3425 0 3 0x82 thrsleep syz-execprog 54440 378531 3425 0 3 0x4000082 thrsleep syz-execprog 54440 428171 3425 0 3 0x4000082 thrsleep syz-execprog 54440 61151 3425 0 3 0x4000082 thrsleep syz-execprog 54440 100608 3425 0 3 0x4000082 thrsleep syz-execprog 54440 305413 3425 0 3 0x4000082 thrsleep syz-execprog 54440 74495 3425 0 3 0x4000082 kqread syz-execprog 3425 422625 22656 0 3 0x10008a sigsusp ksh 22656 249584 39010 0 3 0x92 select sshd 87306 280085 1 0 3 0x100083 ttyin getty 39010 337932 1 0 3 0x80 select sshd 4335 265435 31546 73 3 0x100090 kqread syslogd 31546 443649 1 0 3 0x100082 netio syslogd 10882 301657 1 77 3 0x100090 poll dhclient 89434 10182 1 0 3 0x80 poll dhclient 91793 212164 0 0 3 0x14200 bored smr 20813 330654 0 0 3 0x14200 pgzero zerothread 82488 129228 0 0 3 0x14200 aiodoned aiodoned 40056 476278 0 0 3 0x14200 syncer update 23229 168909 0 0 3 0x14200 cleaner cleaner 5111 60059 0 0 3 0x14200 reaper reaper 50577 255691 0 0 3 0x14200 pgdaemon pagedaemon 12875 131844 0 0 3 0x14200 bored crynlk 44812 264575 0 0 3 0x14200 bored crypto 22487 152222 0 0 3 0x14200 bored viomb 65921 245097 0 0 3 0x40014200 acpi0 acpi0 43615 187412 0 0 7 0x40014200 idle1 35147 159480 0 0 3 0x14200 bored softnet 59341 367674 0 0 3 0x14200 bored systqmp 35344 133154 0 0 3 0x14200 bored systq 57493 123667 0 0 3 0x40014200 bored softclock *86191 357964 0 0 7 0x40014200 idle0 1 44739 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: shared mutex timeout r = 0 (0xffffffff826d40e8) #0 witness_lock+0x4b0 #1 timeout_run+0xb7 #2 softclock_process_tick_timeout+0x196 #3 softclock+0x11a #4 softintr_dispatch+0xfb #5 Xsoftclock+0x1f #6 acpicpu_idle+0x2eb #7 sched_idle+0x417 #8 proc_trampoline+0x1c Process 86191 (idle0) thread 0xffff800021169500 (357964) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828ab108) #0 witness_lock+0x4b0 #1 softintr_dispatch+0x4e #2 Xsoftclock+0x1f #3 acpicpu_idle+0x2eb #4 sched_idle+0x417 #5 proc_trampoline+0x1c shared mutex timeout r = 0 (0xffffffff826d40e8) #0 witness_lock+0x4b0 #1 timeout_run+0xb7 #2 softclock_process_tick_timeout+0x196 #3 softclock+0x11a #4 softintr_dispatch+0xfb #5 Xsoftclock+0x1f #6 acpicpu_idle+0x2eb #7 sched_idle+0x417 #8 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9472 6347K 6347K 78643K 10562 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 149 0 ifaddr 32 8K 8K 78643K 32 0 counters 42 33K 33K 78643K 42 0 ioctlops 0 0K 2K 78643K 14 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 1 0 vnodes 1182 74K 74K 78643K 1187 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 3 8K 12K 78643K 18 0 proc 47 50K 70K 78643K 314 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 2K 78643K 296 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 105 12K 12K 78643K 1385 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 4 0K 0K 78643K 6 0 temp 23 3965K 4029K 78643K 1651 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 18 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 27 0 19 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 64 4 0 0 1 0 1 1 0 8 0 inpcb 304 25 0 20 1 0 1 1 0 8 0 nd6 48 3 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 144 0 0 9 0 9 9 0 8 0 art_table 32 145 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1414 0 21 88 0 88 88 0 8 0 ffsino 272 1414 0 21 93 0 93 93 0 8 0 nchpl 144 1632 0 37 60 0 60 60 0 8 0 uvmvnodes 72 1423 0 0 26 0 26 26 0 8 0 vnodes 224 1423 0 0 84 0 84 84 0 8 0 namei 1024 3887 0 3887 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 4530 0 4530 2 1 1 2 0 8 1 plimitpl 152 14 0 8 1 0 1 1 0 8 0 sigapl 424 213 0 184 4 0 4 4 0 8 0 knotepl 112 48 0 36 1 0 1 1 0 8 0 kqueuepl 168 3 0 0 1 0 1 1 0 8 0 pipepl 336 71 0 63 2 1 1 1 0 8 0 fdescpl 496 197 0 184 2 0 2 2 0 8 0 filepl 152 944 0 888 3 0 3 3 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 144 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 57 0 50 1 0 1 1 0 8 0 zombiepl 144 184 0 184 2 1 1 1 0 8 1 processpl 1080 213 0 184 4 1 3 3 0 8 1 procpl 672 219 0 184 4 0 4 4 0 8 1 sockpl 480 70 0 54 4 1 3 3 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 74 0 0 10 0 10 10 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 105 0 0 7 0 7 7 0 8 0 bufpl 280 3176 0 144 217 0 217 217 0 8 0 anonpl 24 30597 0 27613 29 2 27 27 0 186 8 amapchunkpl 152 2970 0 2742 11 0 11 11 0 158 0 amappl16 200 104 0 48 5 1 4 4 0 8 1 amappl15 192 53 0 47 1 0 1 1 0 8 0 amappl14 184 12 0 8 1 0 1 1 0 8 0 amappl13 176 18 0 17 2 1 1 1 0 8 0 amappl12 168 37 0 31 1 0 1 1 0 8 0 amappl11 160 50 0 42 1 0 1 1 0 8 0 amappl10 152 14 0 9 1 0 1 1 0 8 0 amappl9 144 234 0 234 2 1 1 1 0 8 1 amappl8 136 233 0 219 1 0 1 1 0 8 0 amappl7 128 44 0 38 1 0 1 1 0 8 0 amappl6 120 90 0 78 1 0 1 1 0 8 0 amappl5 112 129 0 120 1 0 1 1 0 8 0 amappl4 104 448 0 423 1 0 1 1 0 8 0 amappl3 96 46 0 41 1 0 1 1 0 8 0 amappl2 88 382 0 338 2 0 2 2 0 8 0 amappl1 80 6590 0 6219 13 1 12 12 0 8 4 amappl 88 1171 0 1094 3 0 3 3 0 92 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 197 0 184 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 197 0 184 1 0 1 1 0 8 0 vmmpekpl 168 6161 0 6146 1 0 1 1 0 8 0 vmmpepl 168 20838 0 19871 59 2 57 57 0 357 14 vmsppl 368 196 0 184 2 0 2 2 0 8 0 rwobjpl 56 6375 0 5776 14 1 13 13 0 8 3 pdppl 4096 401 0 368 48 11 37 37 0 8 4 pvpl 32 126374 0 120733 125 1 124 124 0 265 77 pmappl 232 196 0 184 1 0 1 1 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 270 0 15 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff823e90cf) at panic+0x15e witness_checkorder(fffffd807e9a8990,9,0) at witness_checkorder+0x1188 rw_enter_write(fffffd807e9a8980) at rw_enter_write+0x5b solock(fffffd807e9a8978) at solock+0x97 rtm_senddesync_timer(fffffd807e9a8978) at rtm_senddesync_timer+0x1a timeout_run(fffffd806f750c48) at timeout_run+0xcc softclock_process_tick_timeout(fffffd806f750c48,0) at softclock_process_tick_timeout+0x196 softclock(0) at softclock+0x11a softintr_dispatch(0) at softintr_dispatch+0xfb Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x2eb sched_idle(ffffffff8272eff0) at sched_idle+0x417 end trace frame: 0x0, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x2eb sched_idle(ffff800020d58ff0) at sched_idle+0x417 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x2eb sched_idle(ffff800020d58ff0) at sched_idle+0x417 end trace frame: 0x0, count: -5 ddb{1}>