Warning: Permanently added '10.128.0.227' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program login: panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *314054 74536 0 0 0 0 syz-executor1063300090 58276 95833 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 panic(ffffffff825a56b6) at panic+0x177 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 selwakeup(fffffd806ceccc78) at selwakeup+0x16 sorwakeup(fffffd806ceccb60) at sorwakeup+0xc9 rip_input(ffff800021215ce8,ffff800021215cf4,0,2) at rip_input+0x3b0 ip_deliver(ffff800021215ce8,ffff800021215cf4,0,2) at ip_deliver+0x322 ip_ours(ffff800021215ce8,ffff800021215cf4,fffffd806d2b1cbc,0) at ip_ours+0x3ba ip_input_if(ffff800021215ce8,ffff800021215cf4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806d2b1c00) at ipv4_input+0x48 if_input_local(ffff800000689000,fffffd806d2b1c00,2) at if_input_local+0x10e ip_output(fffffd807f00eb00,0,fffffd806f682f18,20,0,fffffd806f682ea0,e75874ac4b32fc42) at ip_output+0xb05 rip_output(fffffd807f00eb00,fffffd806ceccd40,ffff800021215f40,1) at rip_output+0x2cb end trace frame: 0xffff800021215fc0, count: 0 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 *cpu0: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825a56b6) at panic+0x177 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 selwakeup(fffffd806ceccc78) at selwakeup+0x16 sorwakeup(fffffd806ceccb60) at sorwakeup+0xc9 rip_input(ffff800021215ce8,ffff800021215cf4,0,2) at rip_input+0x3b0 ip_deliver(ffff800021215ce8,ffff800021215cf4,0,2) at ip_deliver+0x322 ip_ours(ffff800021215ce8,ffff800021215cf4,fffffd806d2b1cbc,0) at ip_ours+0x3ba ip_input_if(ffff800021215ce8,ffff800021215cf4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806d2b1c00) at ipv4_input+0x48 if_input_local(ffff800000689000,fffffd806d2b1c00,2) at if_input_local+0x10e ip_output(fffffd807f00eb00,0,fffffd806f682f18,20,0,fffffd806f682ea0,e75874ac4b32fc42) at ip_output+0xb05 rip_output(fffffd807f00eb00,fffffd806ceccd40,ffff800021215f40,1) at rip_output+0x2cb rip_usrreq(fffffd806ceccd40,9,fffffd807f00eb00,0,0,ffff80002115e540) at rip_usrreq+0x49c sosend(fffffd806ceccd40,0,ffff8000212161d0,0,0,0) at sosend+0x632 dofilewritev(ffff80002115e540,4,ffff8000212161d0,0,ffff8000212162d0) at dofilewritev+0x19c sys_writev(ffff80002115e540,ffff800021216278,ffff8000212162d0) at sys_writev+0xa7 syscall(ffff800021216340) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6710, count: -20 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800021215870 rbx 0xffffffff8294ebff cpu_info_full_primary+0x2bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0x505723696d4f1f17 r11 0x6adb6f30e211d730 r12 0xffffffff8294ea00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81f18858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021215860 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor1063300090) pid=314054 stat=onproc flags process=0 proc=0 pri=53, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff80002115ed20,0xffff80002115e010 process=0xffff8000ffff8858 user=0xffff800021211000, vmspace=0xfffffd806d3ee740 estcpu=3, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7810 57833 76720 0 2 0 syz-executor1063300090 28419 25964 42637 0 2 0 syz-executor1063300090 *74536 314054 65439 0 7 0 syz-executor1063300090 83214 132014 1305 0 2 0 syz-executor1063300090 41308 79051 82119 0 2 0 syz-executor1063300090 42637 282130 76720 0 3 0x80 nanoslp syz-executor1063300090 65439 71919 76720 0 3 0x80 nanoslp syz-executor1063300090 20574 49694 76720 0 2 0 syz-executor1063300090 82119 112102 76720 0 3 0x80 nanoslp syz-executor1063300090 64311 333733 76720 0 3 0x80 nanoslp syz-executor1063300090 1305 355419 76720 0 3 0x80 nanoslp syz-executor1063300090 52701 245232 76720 0 3 0x80 nanoslp syz-executor1063300090 76720 287757 85134 0 3 0x82 nanoslp syz-executor1063300090 85134 26347 4096 0 3 0x10008a sigsusp ksh 4096 470881 73489 0 3 0x9a kqread sshd 79469 56095 1 0 3 0x100083 ttyin getty 73489 285939 1 0 3 0x88 kqread sshd 27774 70900 56298 74 3 0x1100092 bpf pflogd 56298 373684 1 0 3 0x80 netio pflogd 17013 173567 93207 73 3 0x1100090 kqread syslogd 93207 161415 1 0 3 0x100082 netio syslogd 73076 106103 1 0 3 0x100080 kqread resolvd 93956 136505 16989 77 3 0x100092 kqread dhcpleased 28626 405476 16989 77 3 0x100092 kqread dhcpleased 16989 190203 1 0 3 0x80 kqread dhcpleased 32129 484795 0 0 3 0x14200 bored smr 33830 331170 0 0 2 0x14200 zerothread 15045 291198 0 0 3 0x14200 aiodoned aiodoned 4678 215273 0 0 3 0x14200 syncer update 11019 169033 0 0 3 0x14200 cleaner cleaner 95833 58276 0 0 7 0x14200 reaper 92675 301251 0 0 3 0x14200 pgdaemon pagedaemon 27298 1085 0 0 3 0x14200 bored viomb 53649 520638 0 0 3 0x40014200 acpi0 acpi0 46741 175307 0 0 3 0x40014200 idle1 75138 87210 0 0 3 0x14200 bored softnet 65254 268487 0 0 3 0x14200 bored systqmp 51766 411674 0 0 3 0x14200 bored systq 35626 380538 0 0 3 0x40014200 bored softclock 2166 422616 0 0 3 0x40014200 idle0 1 498196 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff829c70c8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip_input+0x135 #4 ip_deliver+0x322 #5 ip_ours+0x3ba #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 #8 if_input_local+0x10e #9 ip_output+0xb05 #10 rip_output+0x2cb #11 rip_usrreq+0x49c #12 sosend+0x632 #13 dofilewritev+0x19c #14 sys_writev+0xa7 #15 syscall+0x489 #16 Xsyscall+0x128 Process 74536 (syz-executor1063300090) thread 0xffff80002115e540 (314054) exclusive rwlock netlock r = 0 (0xffffffff828f7720) #0 witness_lock+0x44d #1 solock+0x86 #2 sosend+0x517 #3 dofilewritev+0x19c #4 sys_writev+0xa7 #5 syscall+0x489 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff829c70c8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip_input+0x135 #4 ip_deliver+0x322 #5 ip_ours+0x3ba #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 #8 if_input_local+0x10e #9 ip_output+0xb05 #10 rip_output+0x2cb #11 rip_usrreq+0x49c #12 sosend+0x632 #13 dofilewritev+0x19c #14 sys_writev+0xa7 #15 syscall+0x489 #16 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 13 8K 8K 78643K 19 0 rtable 62 2K 2K 78643K 112 0 ifaddr 29 8K 8K 78643K 32 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 4K 78643K 1479 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 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 12548 0 file desc 1 0K 0K 78643K 1 0 proc 67 87K 87K 78643K 282 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 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 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 432 0 tdb 3 0K 0K 78643K 3 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 113 53K 53K 78643K 2207 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 4 0 temp 24 4694K 4757K 78643K 3269 0 kqueue 11 16K 18K 78643K 24 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 22 0 0 1 0 1 1 0 8 0 rtpcb 120 17 0 14 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 35 0 20 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 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 39 0 30 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 8 0 6 2 1 1 1 0 8 0 pfstkey 112 8 0 6 2 1 1 1 0 8 0 pfstate 320 8 0 6 2 1 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1424 0 39 87 0 87 87 0 8 0 ffsino 272 1424 0 39 93 0 93 93 0 8 0 nchpl 144 1599 0 49 58 0 58 58 0 8 0 uvmvnodes 80 1434 0 0 30 0 30 30 0 8 0 vnodes 224 1434 0 0 85 0 85 85 0 8 0 namei 1024 4422 0 4422 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 4066 0 4066 17 16 1 8 0 8 1 plimitpl 152 22 0 9 1 0 1 1 0 8 0 sigapl 424 334 0 291 5 0 5 5 0 8 0 knotepl 120 44 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 86 0 83 2 1 1 1 0 8 0 fdescpl 496 320 0 293 4 0 4 4 0 8 0 filepl 152 1152 0 1091 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 24 0 9 1 0 1 1 0 8 0 pgrppl 48 24 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 293 0 291 2 1 1 1 0 8 0 processpl 1064 334 0 291 3 0 3 3 0 8 0 procpl 672 334 0 291 4 0 4 4 0 8 0 sockpl 480 91 0 64 5 1 4 4 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 65 0 0 8 0 8 8 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 119 0 0 7 0 7 7 0 8 0 bufpl 288 2017 0 93 138 0 138 138 0 8 0 anonpl 24 41716 0 39149 20 3 17 17 0 186 1 amapchunkpl 152 4020 0 3848 7 0 7 7 0 158 0 amappl16 200 34 0 31 1 0 1 1 0 8 0 amappl15 192 67 0 64 1 0 1 1 0 8 0 amappl13 176 34 0 33 2 1 1 1 0 8 0 amappl12 168 16 0 16 2 1 1 1 0 8 1 amappl11 160 57 0 41 1 0 1 1 0 8 0 amappl10 152 5 0 3 1 0 1 1 0 8 0 amappl9 144 453 0 451 1 0 1 1 0 8 0 amappl8 136 372 0 369 1 0 1 1 0 8 0 amappl7 128 65 0 62 1 0 1 1 0 8 0 amappl6 120 130 0 103 1 0 1 1 0 8 0 amappl5 112 183 0 171 1 0 1 1 0 8 0 amappl4 104 640 0 620 1 0 1 1 0 8 0 amappl3 96 121 0 112 1 0 1 1 0 8 0 amappl2 88 369 0 331 1 0 1 1 0 8 0 amappl1 80 8793 0 8372 11 2 9 9 0 8 0 amappl 88 1917 0 1829 2 0 2 2 0 92 0 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 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 320 0 292 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 320 0 292 1 0 1 1 0 8 0 vmmpekpl 168 6217 0 6200 1 0 1 1 0 8 0 vmmpepl 168 26780 0 25717 51 4 47 47 0 357 0 vmsppl 368 319 0 292 3 0 3 3 0 8 0 rwobjpl 56 9539 0 7533 29 0 29 29 0 8 0 pdppl 4096 647 0 584 85 20 65 65 0 8 2 pvpl 32 135431 0 130780 45 6 39 39 0 265 1 pmappl 248 319 0 292 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 444 0 25 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825a56b6) at panic+0x177 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 selwakeup(fffffd806ceccc78) at selwakeup+0x16 sorwakeup(fffffd806ceccb60) at sorwakeup+0xc9 rip_input(ffff800021215ce8,ffff800021215cf4,0,2) at rip_input+0x3b0 ip_deliver(ffff800021215ce8,ffff800021215cf4,0,2) at ip_deliver+0x322 ip_ours(ffff800021215ce8,ffff800021215cf4,fffffd806d2b1cbc,0) at ip_ours+0x3ba ip_input_if(ffff800021215ce8,ffff800021215cf4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806d2b1c00) at ipv4_input+0x48 if_input_local(ffff800000689000,fffffd806d2b1c00,2) at if_input_local+0x10e ip_output(fffffd807f00eb00,0,fffffd806f682f18,20,0,fffffd806f682ea0,e75874ac4b32fc42) at ip_output+0xb05 rip_output(fffffd807f00eb00,fffffd806ceccd40,ffff800021215f40,1) at rip_output+0x2cb rip_usrreq(fffffd806ceccd40,9,fffffd807f00eb00,0,0,ffff80002115e540) at rip_usrreq+0x49c sosend(fffffd806ceccd40,0,ffff8000212161d0,0,0,0) at sosend+0x632 dofilewritev(ffff80002115e540,4,ffff8000212161d0,0,ffff8000212162d0) at dofilewritev+0x19c sys_writev(ffff80002115e540,ffff800021216278,ffff8000212162d0) at sys_writev+0xa7 syscall(ffff800021216340) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6710, count: -20 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b46e28) at __mp_lock+0x122 reaper(ffff8000210f9260) at reaper+0x150 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b46e28) at __mp_lock+0x122 reaper(ffff8000210f9260) at reaper+0x150 end trace frame: 0x0, count: -5