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 * 7168 50794 0 0 0 1 syz-executor2717294849 51579 72620 0 0 0 0 syz-executor2717294849 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a4184) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a6f1a0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd806d579a98) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d579a98) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d579980) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff800021220998,ffff8000212209a4,3a,18) at rip6_input+0x6bc sys/netinet6/raw_ip6.c:224 icmp6_input(ffff800021220998,ffff8000212209a4,3a,18) at icmp6_input+0x8e8 sys/netinet6/icmp6.c:762 ip_deliver(ffff800021220998,ffff8000212209a4,3a,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff800021220998,ffff8000212209a4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d5d4f00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806d5d4f00,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd806d5d4e00,ffff800000bc6500,fffffd806f680078,0,0,fffffd806f680000) at ip6_output+0xf57 rip6_output(fffffd806e38f900,fffffd806d5793e0,ffff800021220d00,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 end trace frame: 0xffff800021220da0, 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 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a4184) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a6f1a0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd806d579a98) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d579a98) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d579980) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff800021220998,ffff8000212209a4,3a,18) at rip6_input+0x6bc sys/netinet6/raw_ip6.c:224 icmp6_input(ffff800021220998,ffff8000212209a4,3a,18) at icmp6_input+0x8e8 sys/netinet6/icmp6.c:762 ip_deliver(ffff800021220998,ffff8000212209a4,3a,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff800021220998,ffff8000212209a4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d5d4f00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806d5d4f00,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd806d5d4e00,ffff800000bc6500,fffffd806f680078,0,0,fffffd806f680000) at ip6_output+0xf57 rip6_output(fffffd806e38f900,fffffd806d5793e0,ffff800021220d00,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806d5793e0,9,fffffd806e38f900,0,0,ffff80002117e540) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd806d5793e0,0,ffff800021220f38,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002117e540,4,ffff800021220f38,0,ffff800021221030) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002117e540,ffff800021220fd8,ffff800021221030) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff8000212210a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212210a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3ce0, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212203a0 rbx 0xffff800020ce9bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf0706ae9b5de68a9 r11 0xff2893ac0ec30438 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff815a2d98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021220390 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor2717294849) pid=7168 stat=onproc flags process=0 proc=0 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002117efc0,0xffffffff82a7b4a0 process=0xffff80002120e158 user=0xffff80002121c000, vmspace=0xfffffd806d529460 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *50794 7168 62480 0 7 0 syz-executor2717294849 79391 460877 16735 0 2 0 syz-executor2717294849 72620 51579 38367 0 7 0 syz-executor2717294849 2540 474689 59813 0 2 0 syz-executor2717294849 91897 401036 36583 0 3 0x80 nanoslp syz-executor2717294849 62480 11315 36583 0 3 0x80 nanoslp syz-executor2717294849 16735 144538 36583 0 3 0x80 nanoslp syz-executor2717294849 59813 360624 36583 0 3 0x80 nanoslp syz-executor2717294849 14616 496430 36583 0 3 0x80 nanoslp syz-executor2717294849 63804 152652 36583 0 3 0x80 nanoslp syz-executor2717294849 38367 75599 36583 0 3 0x80 nanoslp syz-executor2717294849 88306 300684 36583 0 3 0x80 nanoslp syz-executor2717294849 36583 113610 17552 0 3 0x82 nanoslp syz-executor2717294849 17552 381928 52722 0 3 0x10008a sigsusp ksh 52722 426386 64293 0 2 0x9a sshd 31205 115989 1 0 3 0x100083 ttyin getty 64293 381687 1 0 3 0x88 kqread sshd 97906 290393 24843 74 3 0x1100092 bpf pflogd 24843 362624 1 0 3 0x80 netio pflogd 95834 328541 46531 73 3 0x1100090 kqread syslogd 46531 51301 1 0 3 0x100082 netio syslogd 66373 380187 1 0 3 0x100080 kqread resolvd 82600 498942 65153 77 3 0x100092 kqread dhcpleased 2386 409708 65153 77 3 0x100092 kqread dhcpleased 65153 420945 1 0 3 0x80 kqread dhcpleased 71913 352692 0 0 3 0x14200 bored smr 83129 231277 0 0 2 0x14200 zerothread 89555 187579 0 0 3 0x14200 aiodoned aiodoned 16241 84504 0 0 3 0x14200 syncer update 27120 336997 0 0 3 0x14200 cleaner cleaner 53857 437934 0 0 3 0x14200 reaper reaper 24378 399608 0 0 3 0x14200 pgdaemon pagedaemon 4016 449988 0 0 3 0x14200 bored viomb 85237 374224 0 0 3 0x40014200 acpi0 acpi0 29349 228016 0 0 3 0x40014200 idle1 45579 234624 0 0 3 0x14200 bored softnet 43920 88894 0 0 3 0x14200 bored systqmp 68528 192774 0 0 3 0x14200 bored systq 37847 212078 0 0 3 0x40014200 bored softclock 24823 194153 0 0 3 0x40014200 idle0 1 346591 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 (0xffffffff82a21700) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip6_input+0x28f #4 icmp6_input+0x8e8 sys/netinet6/icmp6.c:762 #5 ip_deliver+0x322 sys/netinet/ip_input.c:657 #6 ip6_input_if+0x920 #7 ipv6_input+0x48 sys/netinet6/ip6_input.c:169 #8 if_input_local+0x136 sys/net/if.c:778 #9 ip6_output+0xf57 #10 rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 #11 rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 #12 sosend+0x632 sys/kern/uipc_socket.c:582 #13 dofilewritev+0x19c sys/kern/sys_generic.c:381 #14 sys_write+0x83 sys/kern/sys_generic.c:301 #15 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #15 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #16 Xsyscall+0x128 Process 50794 (syz-executor2717294849) thread 0xffff80002117e540 (7168) exclusive rwlock netlock r = 0 (0xffffffff829bbd70) #0 witness_lock+0x44d #1 solock+0x86 sys/kern/uipc_socket2.c:295 #2 sosend+0x517 sys/kern/uipc_socket.c:570 #3 dofilewritev+0x19c sys/kern/sys_generic.c:381 #4 sys_write+0x83 sys/kern/sys_generic.c:301 #5 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82a21700) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip6_input+0x28f #4 icmp6_input+0x8e8 sys/netinet6/icmp6.c:762 #5 ip_deliver+0x322 sys/netinet/ip_input.c:657 #6 ip6_input_if+0x920 #7 ipv6_input+0x48 sys/netinet6/ip6_input.c:169 #8 if_input_local+0x136 sys/net/if.c:778 #9 ip6_output+0xf57 #10 rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 #11 rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 #12 sosend+0x632 sys/kern/uipc_socket.c:582 #13 dofilewritev+0x19c sys/kern/sys_generic.c:381 #14 sys_write+0x83 sys/kern/sys_generic.c:301 #15 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #15 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #16 Xsyscall+0x128 Process 79391 (syz-executor2717294849) thread 0xffff80002117efc0 (460877) exclusive rwlock uobjlk r = 0 (0xfffffd806d68c908) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 uvm_fault_lower_lookup+0x46 sys/uvm/uvm_fault.c:1117 #3 uvm_fault_lower+0x5f sys/uvm/uvm_fault.c:1218 #4 uvm_fault+0x248 #5 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #6 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #7 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd806d5298c8) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 #3 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 16 8K 8K 78643K 968 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 949 0 in_multi 15 0K 0K 78643K 1425 0 ether_multi 2 0K 0K 78643K 466 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 126 69K 69K 78643K 6937 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 1898 0 NDP 4 0K 0K 78643K 4 0 temp 24 4694K 4757K 78643K 3359 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 1907 0 1592 30 0 30 30 0 8 1 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 3829 0 3816 2 0 2 2 0 8 1 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 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 97 0 0 7 0 7 7 0 8 0 art_table 32 98 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 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 3892 0 3892 2 2 0 2 0 8 0 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 1278 0 1233 6 0 6 6 0 8 0 knotepl 120 49 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 1264 0 1237 4 0 4 4 0 8 0 filepl 152 4942 0 4877 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 26 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 1237 0 1233 2 1 1 1 0 8 0 processpl 1064 1278 0 1233 4 0 4 4 0 8 0 procpl 672 1278 0 1233 4 0 4 4 0 8 0 sockpl 480 3881 0 3850 6 1 5 5 0 8 1 mcl8k 8192 5 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 174 0 0 11 0 11 11 0 8 0 bufpl 288 2016 0 93 138 0 138 138 0 8 0 anonpl 24 148733 0 145941 21 3 18 18 0 186 1 amapchunkpl 152 12541 0 12353 10 1 9 9 0 158 1 amappl16 200 980 0 976 2 1 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 15 0 15 2 2 0 1 0 8 0 amappl11 160 49 0 35 1 0 1 1 0 8 0 amappl10 152 4 0 2 1 0 1 1 0 8 0 amappl9 144 453 0 451 1 0 1 1 0 8 0 amappl8 136 370 0 367 1 0 1 1 0 8 0 amappl7 128 65 0 62 1 0 1 1 0 8 0 amappl6 120 1074 0 1048 1 0 1 1 0 8 0 amappl5 112 188 0 174 1 0 1 1 0 8 0 amappl4 104 641 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 17318 0 16877 11 1 10 10 0 8 0 amappl 88 5699 0 5602 3 0 3 3 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 1264 0 1237 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1264 0 1237 1 0 1 1 0 8 0 vmmpekpl 168 8396 0 8376 2 0 2 2 0 8 0 vmmpepl 168 57983 0 56877 60 8 52 52 0 357 2 vmsppl 368 1263 0 1237 3 0 3 3 0 8 0 rwobjpl 56 17113 0 15085 29 0 29 29 0 8 0 pdppl 4096 2535 0 2474 89 20 69 69 0 8 8 pvpl 32 274566 0 269643 49 7 42 43 0 265 2 pmappl 248 1263 0 1237 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 482 0 24 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82986ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a6ef98) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc selwakeup(fffffd806d579a98) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d579a98) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d579980) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 soisconnected(fffffd806d579980) at soisconnected+0x15f sys/kern/uipc_socket2.c:111 rip6_usrreq(fffffd806d579980,4,0,fffffd806d5d4900,0,ffff80002117f500) at rip6_usrreq+0x56c sys_connect(ffff80002117f500,ffff8000211e6a98,ffff8000211e6af0) at sys_connect+0x1da sys/kern/uipc_syscalls.c:378 syscall(ffff8000211e6b60) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211e6b60) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3ce0, count: 1 ddb{0}> trace x86_ipi_db(ffffffff82986ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a6ef98) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc selwakeup(fffffd806d579a98) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d579a98) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d579980) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 soisconnected(fffffd806d579980) at soisconnected+0x15f sys/kern/uipc_socket2.c:111 rip6_usrreq(fffffd806d579980,4,0,fffffd806d5d4900,0,ffff80002117f500) at rip6_usrreq+0x56c sys_connect(ffff80002117f500,ffff8000211e6a98,ffff8000211e6af0) at sys_connect+0x1da sys/kern/uipc_syscalls.c:378 syscall(ffff8000211e6b60) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211e6b60) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3ce0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a4184) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a6f1a0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd806d579a98) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d579a98) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d579980) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff800021220998,ffff8000212209a4,3a,18) at rip6_input+0x6bc sys/netinet6/raw_ip6.c:224 icmp6_input(ffff800021220998,ffff8000212209a4,3a,18) at icmp6_input+0x8e8 sys/netinet6/icmp6.c:762 ip_deliver(ffff800021220998,ffff8000212209a4,3a,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff800021220998,ffff8000212209a4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d5d4f00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806d5d4f00,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd806d5d4e00,ffff800000bc6500,fffffd806f680078,0,0,fffffd806f680000) at ip6_output+0xf57 rip6_output(fffffd806e38f900,fffffd806d5793e0,ffff800021220d00,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 end trace frame: 0xffff800021220da0, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a4184) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a6f1a0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a6ef98) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd806d579a98) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d579a98) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d579980) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff800021220998,ffff8000212209a4,3a,18) at rip6_input+0x6bc sys/netinet6/raw_ip6.c:224 icmp6_input(ffff800021220998,ffff8000212209a4,3a,18) at icmp6_input+0x8e8 sys/netinet6/icmp6.c:762 ip_deliver(ffff800021220998,ffff8000212209a4,3a,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff800021220998,ffff8000212209a4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d5d4f00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd806d5d4f00,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd806d5d4e00,ffff800000bc6500,fffffd806f680078,0,0,fffffd806f680000) at ip6_output+0xf57 rip6_output(fffffd806e38f900,fffffd806d5793e0,ffff800021220d00,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd806d5793e0,9,fffffd806e38f900,0,0,ffff80002117e540) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd806d5793e0,0,ffff800021220f38,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002117e540,4,ffff800021220f38,0,ffff800021221030) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002117e540,ffff800021220fd8,ffff800021221030) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff8000212210a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212210a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3ce0, count: -20 ddb{1}>