Warning: Permanently added '10.128.0.62' (ED25519) to the list of known hosts. executing program 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 *159706 4528 0 0 0 1 syz-executor617482862 330692 13154 0 0x14000 0x200 0 softnet 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(fffffd807141d318) at selwakeup+0x16 sorwakeup(fffffd807141d200) at sorwakeup+0xc9 rip6_input(ffff800021215bb8,ffff800021215bc4,85,18) at rip6_input+0x692 ip_deliver(ffff800021215bb8,ffff800021215bc4,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021215bb8,ffff800021215bc4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd807ea87400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd807ea87400,18) at if_input_local+0x136 ip6_output(fffffd807f00e900,ffff800000bc9a80,fffffd806f681de0,0,0,fffffd806f681d68) at ip6_output+0xf57 rip6_output(fffffd807f00e900,fffffd807141d980,ffff800021215f20,0) at rip6_output+0x4ad rip6_usrreq(fffffd807141d980,9,fffffd807f00e900,0,0,ffff80002119ea80) at rip6_usrreq+0x5d3 end trace frame: 0xffff8000212160a0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{1}> 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(fffffd807141d318) at selwakeup+0x16 sorwakeup(fffffd807141d200) at sorwakeup+0xc9 rip6_input(ffff800021215bb8,ffff800021215bc4,85,18) at rip6_input+0x692 ip_deliver(ffff800021215bb8,ffff800021215bc4,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021215bb8,ffff800021215bc4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd807ea87400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd807ea87400,18) at if_input_local+0x136 ip6_output(fffffd807f00e900,ffff800000bc9a80,fffffd806f681de0,0,0,fffffd806f681d68) at ip6_output+0xf57 rip6_output(fffffd807f00e900,fffffd807141d980,ffff800021215f20,0) at rip6_output+0x4ad rip6_usrreq(fffffd807141d980,9,fffffd807f00e900,0,0,ffff80002119ea80) at rip6_usrreq+0x5d3 sosend(fffffd807141d980,0,ffff800021216158,0,0,0) at sosend+0x632 dofilewritev(ffff80002119ea80,5,ffff800021216158,0,ffff800021216250) at dofilewritev+0x19c sys_write(ffff80002119ea80,ffff8000212161f8,ffff800021216250) at sys_write+0x83 syscall(ffff8000212162c0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2cd0, count: -19 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212156d0 rbx 0xffff800020ce9bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0x43c0d99900ba6297 r11 0x30c6dad75d0a0947 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81f18858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212156c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor617482862) pid=159706 stat=onproc flags process=0 proc=0 pri=51, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80002119e7e0,0xffff80002119ed30 process=0xffff8000ffff9d20 user=0xffff800021211000, vmspace=0xfffffd806d5082f0 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 12277 470515 9621 0 2 0 syz-executor617482862 48490 127160 9662 0 2 0 syz-executor617482862 * 4528 159706 98844 0 7 0 syz-executor617482862 50933 264353 31387 0 2 0 syz-executor617482862 51432 24101 66040 0 2 0 syz-executor617482862 1621 143555 55776 0 2 0 syz-executor617482862 59449 95589 66040 0 2 0 syz-executor617482862 9662 109381 66040 0 3 0x80 nanoslp syz-executor617482862 98844 346177 66040 0 3 0x80 nanoslp syz-executor617482862 31387 146290 66040 0 3 0x80 nanoslp syz-executor617482862 86812 136846 83214 0 2 0 syz-executor617482862 9621 12251 66040 0 3 0x80 nanoslp syz-executor617482862 55776 382260 66040 0 3 0x80 nanoslp syz-executor617482862 83214 379275 66040 0 3 0x80 nanoslp syz-executor617482862 66040 423501 86930 0 3 0x82 nanoslp syz-executor617482862 86930 151758 25743 0 3 0x10008a sigsusp ksh 25743 503190 1026 0 2 0x12 sshd 56674 427203 1 0 3 0x100083 ttyin getty 1026 133540 1 0 3 0x88 kqread sshd 58472 221317 75477 74 3 0x1100092 bpf pflogd 75477 39571 1 0 3 0x80 netio pflogd 44258 150187 37772 73 3 0x1100090 kqread syslogd 37772 296578 1 0 3 0x100082 netio syslogd 39351 196866 1 0 3 0x100080 kqread resolvd 73725 44773 99191 77 3 0x100092 kqread dhcpleased 63092 275862 99191 77 3 0x100092 kqread dhcpleased 99191 79731 1 0 3 0x80 kqread dhcpleased 70051 208328 0 0 3 0x14200 bored smr 38405 176138 0 0 2 0x14200 zerothread 74632 429292 0 0 3 0x14200 aiodoned aiodoned 29732 183716 0 0 3 0x14200 syncer update 55297 449155 0 0 3 0x14200 cleaner cleaner 95162 254324 0 0 3 0x14200 reaper reaper 51125 499782 0 0 3 0x14200 pgdaemon pagedaemon 11477 213077 0 0 3 0x14200 bored viomb 50049 163842 0 0 3 0x40014200 acpi0 acpi0 76079 182355 0 0 3 0x40014200 idle1 13154 330692 0 0 7 0x14200 softnet 57617 12638 0 0 3 0x14200 bored systqmp 78366 84352 0 0 3 0x14200 bored systq 18131 265453 0 0 3 0x40014200 bored softclock 46224 349560 0 0 3 0x40014200 idle0 1 304288 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82a900b0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip6_input+0x1cf #4 ip_deliver+0x322 #5 ip6_input_if+0x920 #6 ipv6_input+0x48 #7 if_input_local+0x136 #8 ip6_output+0xf57 #9 rip6_output+0x4ad #10 rip6_usrreq+0x5d3 #11 sosend+0x632 #12 dofilewritev+0x19c #13 sys_write+0x83 #14 syscall+0x489 #15 Xsyscall+0x128 Process 4528 (syz-executor617482862) thread 0xffff80002119ea80 (159706) exclusive rwlock netlock r = 0 (0xffffffff828f7720) #0 witness_lock+0x44d #1 solock+0x86 #2 sosend+0x517 #3 dofilewritev+0x19c #4 sys_write+0x83 #5 syscall+0x489 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82a900b0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip6_input+0x1cf #4 ip_deliver+0x322 #5 ip6_input_if+0x920 #6 ipv6_input+0x48 #7 if_input_local+0x136 #8 ip6_output+0xf57 #9 rip6_output+0x4ad #10 rip6_usrreq+0x5d3 #11 sosend+0x632 #12 dofilewritev+0x19c #13 sys_write+0x83 #14 syscall+0x489 #15 Xsyscall+0x128 Process 86812 (syz-executor617482862) thread 0xffff8000211437a8 (136846) exclusive rwlock sysctllk r = 0 (0xffffffff82975a90) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 sys_sysctl+0x1b3 #3 syscall+0x489 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82b47030) #0 witness_lock+0x44d #1 syscall+0x3ef #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 19 8K 8K 78643K 25 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 ip_moptions 3 0K 0K 78643K 3 0 in_multi 15 0K 0K 78643K 15 0 ether_multi 2 0K 0K 78643K 2 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 116 53K 53K 78643K 2200 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 6 0K 0K 78643K 6 0 NDP 4 0K 0K 78643K 4 0 temp 24 4694K 4757K 78643K 3314 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 11 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 44 0 29 2 0 2 2 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 10 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 0 1 0 1 1 0 8 0 pfstate 320 10 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 15 2 0 2 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 4043 0 4043 10 2 8 8 0 8 8 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 50 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 291 4 0 4 4 0 8 0 filepl 152 1157 0 1090 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 291 0 291 2 1 1 1 0 8 1 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 96 0 63 6 1 5 5 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 64 0 0 8 0 8 8 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 118 0 0 7 0 7 7 0 8 0 bufpl 288 2016 0 91 138 0 138 138 0 8 0 anonpl 24 41624 0 38944 20 3 17 17 0 186 0 amapchunkpl 152 4022 0 3841 8 1 7 7 0 158 0 amappl16 200 33 0 29 1 0 1 1 0 8 0 amappl15 192 68 0 64 1 0 1 1 0 8 0 amappl13 176 34 0 33 2 1 1 1 0 8 0 amappl12 168 10 0 10 2 1 1 1 0 8 1 amappl11 160 44 0 30 1 0 1 1 0 8 0 amappl10 152 2 0 0 1 0 1 1 0 8 0 amappl9 144 450 0 448 1 0 1 1 0 8 0 amappl8 136 369 0 366 1 0 1 1 0 8 0 amappl7 128 66 0 62 1 0 1 1 0 8 0 amappl6 120 130 0 102 1 0 1 1 0 8 0 amappl5 112 187 0 175 1 0 1 1 0 8 0 amappl4 104 640 0 619 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 8861 0 8441 11 2 9 9 0 8 0 amappl 88 1911 0 1821 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 291 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 320 0 291 1 0 1 1 0 8 0 vmmpekpl 168 6254 0 6239 1 0 1 1 0 8 0 vmmpepl 168 26834 0 25720 53 4 49 49 0 357 0 vmsppl 368 319 0 291 3 0 3 3 0 8 0 rwobjpl 56 9602 0 7588 29 0 29 29 0 8 0 pdppl 4096 647 0 582 83 18 65 65 0 8 0 pvpl 32 135254 0 130500 45 6 39 39 0 265 0 pmappl 248 319 0 291 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 443 0 22 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8294dff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb if_qstart_compat(ffff80000019f558) at if_qstart_compat+0x1a ifq_serialize(ffff80000019f558,ffff80000019f678) at ifq_serialize+0x16e taskq_thread(ffff80000002c000) at taskq_thread+0xe5 end trace frame: 0x0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff8294dff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb if_qstart_compat(ffff80000019f558) at if_qstart_compat+0x1a ifq_serialize(ffff80000019f558,ffff80000019f678) at ifq_serialize+0x16e taskq_thread(ffff80000002c000) at taskq_thread+0xe5 end trace frame: 0x0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp 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(fffffd807141d318) at selwakeup+0x16 sorwakeup(fffffd807141d200) at sorwakeup+0xc9 rip6_input(ffff800021215bb8,ffff800021215bc4,85,18) at rip6_input+0x692 ip_deliver(ffff800021215bb8,ffff800021215bc4,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021215bb8,ffff800021215bc4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd807ea87400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd807ea87400,18) at if_input_local+0x136 ip6_output(fffffd807f00e900,ffff800000bc9a80,fffffd806f681de0,0,0,fffffd806f681d68) at ip6_output+0xf57 rip6_output(fffffd807f00e900,fffffd807141d980,ffff800021215f20,0) at rip6_output+0x4ad rip6_usrreq(fffffd807141d980,9,fffffd807f00e900,0,0,ffff80002119ea80) at rip6_usrreq+0x5d3 end trace frame: 0xffff8000212160a0, count: 0 ddb{1}> 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(fffffd807141d318) at selwakeup+0x16 sorwakeup(fffffd807141d200) at sorwakeup+0xc9 rip6_input(ffff800021215bb8,ffff800021215bc4,85,18) at rip6_input+0x692 ip_deliver(ffff800021215bb8,ffff800021215bc4,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021215bb8,ffff800021215bc4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd807ea87400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd807ea87400,18) at if_input_local+0x136 ip6_output(fffffd807f00e900,ffff800000bc9a80,fffffd806f681de0,0,0,fffffd806f681d68) at ip6_output+0xf57 rip6_output(fffffd807f00e900,fffffd807141d980,ffff800021215f20,0) at rip6_output+0x4ad rip6_usrreq(fffffd807141d980,9,fffffd807f00e900,0,0,ffff80002119ea80) at rip6_usrreq+0x5d3 sosend(fffffd807141d980,0,ffff800021216158,0,0,0) at sosend+0x632 dofilewritev(ffff80002119ea80,5,ffff800021216158,0,ffff800021216250) at dofilewritev+0x19c sys_write(ffff80002119ea80,ffff8000212161f8,ffff800021216250) at sys_write+0x83 syscall(ffff8000212162c0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2cd0, count: -19 ddb{1}>