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 * 55398 11819 32767 0x10 0x4000000 1 syz-executor.0 336476 99860 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8259e057) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a712b0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd807b89ead8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd807b89ead8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd807b89e9c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 udp_sbappend(fffffd806f672138,fffffd8065170f00,fffffd80651b02b0,0,14,fffffd80651b02c4,72a0ef0d7eb7a121,0) at udp_sbappend+0x3b1 sys/netinet/udp_usrreq.c:638 udp_input(ffff800027aea3c8,ffff800027aea3d4,11,2) at udp_input+0xbcb sys/netinet/udp_usrreq.c:427 ip_deliver(ffff800027aea3c8,ffff800027aea3d4,11,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800027aea3c8,ffff800027aea3d4,ffff800021227000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800027aea3c8,ffff800027aea3d4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd80651b0200) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd80651b0200,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 sys/netinet/ip_output.c:332 end trace frame: 0xffff800027aea640, 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(ffffffff8259e057) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a712b0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd807b89ead8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd807b89ead8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd807b89e9c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 udp_sbappend(fffffd806f672138,fffffd8065170f00,fffffd80651b02b0,0,14,fffffd80651b02c4,72a0ef0d7eb7a121,0) at udp_sbappend+0x3b1 sys/netinet/udp_usrreq.c:638 udp_input(ffff800027aea3c8,ffff800027aea3d4,11,2) at udp_input+0xbcb sys/netinet/udp_usrreq.c:427 ip_deliver(ffff800027aea3c8,ffff800027aea3d4,11,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800027aea3c8,ffff800027aea3d4,ffff800021227000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800027aea3c8,ffff800027aea3d4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd80651b0200) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd80651b0200,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 sys/netinet/ip_output.c:332 udp_output(fffffd806f6724e0,fffffd806a86f800,0,0) at udp_output+0x58d sys/netinet/udp_usrreq.c:1011 sosend(fffffd807b89ed80,0,ffff800027aea7d8,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000fffe77a0,4,ffff800027aea7d8,0,ffff800027aea8d0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000fffe77a0,ffff800027aea878,ffff800027aea8d0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800027aea940) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027aea940) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96d7aa4dc90, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800027ae9e00 rbx 0xffff800020ce9bff rdx 0xffff800000bc22c0 rcx 0 rax 0xffff8000fffe77a0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x8a6ac863b73536e r11 0xdd65f4a9eeb4b142 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81faa128 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800027ae9df0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=55398 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffe7260,0xffffffff82a80ad8 process=0xffff8000fffe8448 user=0xffff800027ae5000, vmspace=0xfffffd806eed3b88 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11819 49897 46161 32767 2 0x10 syz-executor.0 *11819 55398 46161 32767 7 0x4000010 syz-executor.0 94525 212352 88970 32767 2 0x10 syz-executor.5 94525 357704 88970 32767 3 0x4000090 fsleep syz-executor.5 94525 410212 88970 32767 3 0x4000090 fsleep syz-executor.5 68099 321315 5729 32767 2 0x10 syz-executor.7 68099 238037 5729 32767 2 0x4000010 syz-executor.7 16946 148662 69673 32767 3 0x90 nanoslp syz-executor.6 69673 13136 22133 0 3 0x82 wait syz-executor.6 88970 87766 19420 32767 3 0x90 nanoslp syz-executor.5 5729 71519 94598 32767 3 0x90 nanoslp syz-executor.7 94598 231611 22133 0 3 0x82 wait syz-executor.7 94742 258417 79401 32767 3 0x90 nanoslp syz-executor.4 79401 113506 22133 0 3 0x82 wait syz-executor.4 56181 133278 23775 32767 3 0x90 piperd syz-executor.1 69243 403379 41157 32767 3 0x90 nanoslp syz-executor.2 19420 334563 22133 0 3 0x82 wait syz-executor.5 1649 522958 10102 32767 3 0x90 nanoslp syz-executor.3 23775 404071 22133 0 3 0x82 wait syz-executor.1 10102 142003 22133 0 3 0x82 wait syz-executor.3 41157 503446 22133 0 3 0x82 wait syz-executor.2 46161 132591 67748 32767 3 0x90 nanoslp syz-executor.0 67748 24341 22133 0 3 0x82 wait syz-executor.0 22133 109946 42138 0 3 0x82 thrsleep syz-fuzzer 22133 263462 42138 0 3 0x4000082 nanoslp syz-fuzzer 22133 10538 42138 0 3 0x4000082 thrsleep syz-fuzzer 22133 243524 42138 0 2 0x4000082 syz-fuzzer 22133 209261 42138 0 3 0x4000082 thrsleep syz-fuzzer 22133 300584 42138 0 3 0x4000082 thrsleep syz-fuzzer 22133 282552 42138 0 3 0x4000082 thrsleep syz-fuzzer 22133 269833 42138 0 2 0x4000002 syz-fuzzer 22133 96015 42138 0 3 0x4000082 thrsleep syz-fuzzer 42138 103090 60276 0 3 0x10008a sigsusp ksh 60276 23244 77366 0 3 0x9a kqread sshd 12699 10829 1 0 3 0x100083 ttyin getty 77366 278010 1 0 3 0x88 kqread sshd 2599 381770 78428 73 3 0x1100090 kqread syslogd 78428 286917 1 0 3 0x100082 netio syslogd 1660 222019 1 0 3 0x100080 kqread resolvd 24725 305674 72970 77 3 0x100092 kqread dhcpleased 55309 215284 72970 77 3 0x100092 kqread dhcpleased 72970 415047 1 0 3 0x80 kqread dhcpleased 99514 141334 0 0 3 0x14200 bored smr 35469 199516 0 0 2 0x14200 zerothread 45847 202622 0 0 3 0x14200 aiodoned aiodoned 7226 368130 0 0 3 0x14200 syncer update 45589 308232 0 0 3 0x14200 cleaner cleaner 99860 336476 0 0 7 0x14200 reaper 593 444588 0 0 3 0x14200 pgdaemon pagedaemon 94290 495136 0 0 3 0x14200 bored viomb 75261 473457 0 0 3 0x40014200 acpi0 acpi0 75067 315477 0 0 3 0x40014200 idle1 62498 276211 0 0 3 0x14200 bored softnet 82843 316519 0 0 3 0x14200 bored systqmp 51430 8995 0 0 3 0x14200 bored systq 54544 377020 0 0 3 0x40014200 bored softclock 4694 209377 0 0 3 0x40014200 idle0 1 215860 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 (0xffffffff82a7d788) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 udp_input+0x7b0 #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip_ours+0x3ba sys/netinet/ip_input.c:616 #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 sys/netinet/ip_input.c:242 #8 if_input_local+0x10e sys/net/if.c:774 #9 ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] #9 ip_output+0xb05 sys/netinet/ip_output.c:332 #10 udp_output+0x58d sys/netinet/udp_usrreq.c:1011 #11 sosend+0x632 sys/kern/uipc_socket.c:582 #12 dofilewritev+0x19c sys/kern/sys_generic.c:381 #13 sys_write+0x83 sys/kern/sys_generic.c:301 #14 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #14 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #15 Xsyscall+0x128 Process 11819 (syz-executor.0) thread 0xffff8000fffe77a0 (55398) exclusive rwlock netlock r = 0 (0xffffffff829a2bd0) #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 (0xffffffff82a7d788) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 udp_input+0x7b0 #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip_ours+0x3ba sys/netinet/ip_input.c:616 #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 sys/netinet/ip_input.c:242 #8 if_input_local+0x10e sys/net/if.c:774 #9 ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] #9 ip_output+0xb05 sys/netinet/ip_output.c:332 #10 udp_output+0x58d sys/netinet/udp_usrreq.c:1011 #11 sosend+0x632 sys/kern/uipc_socket.c:582 #12 dofilewritev+0x19c sys/kern/sys_generic.c:381 #13 sys_write+0x83 sys/kern/sys_generic.c:301 #14 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #14 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #15 Xsyscall+0x128 Process 99860 (reaper) thread 0xffff8000210f9a40 (336476) kernel: protection fault trap, code=0 Faulted in DDB; continuing... ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10172 6407K 6419K 78643K 11262 0 pcb 13 8K 8K 78643K 13 0 rtable 238 6K 7K 78643K 348 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 33 0 iov 0 0K 0K 78643K 1 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1270 79K 79K 78643K 1385 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 60 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 129K 78643K 185 0 proc 56 74K 123K 78643K 460 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 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 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 610 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 278 79K 81K 78643K 3662 0 UVM aobj 13 2K 2K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 2K 78643K 27 0 temp 88 4698K 4762K 78643K 4380 0 kqueue 12 18K 18K 78643K 22 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 33 0 30 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 240 0 227 6 3 3 6 0 8 2 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 23 0 23 1 1 0 1 0 8 0 tcpcb 736 12 0 4 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 312 64 0 54 1 0 1 1 0 8 0 nd6 48 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 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 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 55 0 45 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1626 0 195 90 0 90 90 0 8 0 ffsino 272 1626 0 195 96 0 96 96 0 8 0 nchpl 144 1951 0 286 62 0 62 62 0 8 0 uvmvnodes 80 1739 0 0 36 0 36 36 0 8 0 vnodes 224 1739 0 0 103 0 103 103 0 8 0 namei 1024 6835 0 6835 3 2 1 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 scxspl 216 5807 0 5807 9 1 8 8 0 8 8 plimitpl 152 37 0 14 1 0 1 1 0 8 0 sigapl 424 461 0 411 7 0 7 7 0 8 0 futexpl 64 778 0 776 2 1 1 1 0 8 0 knotepl 120 112 0 0 4 0 4 4 0 8 0 kqueuepl 216 22 0 14 1 0 1 1 0 8 0 pipepl 336 124 0 96 3 0 3 3 0 8 0 fdescpl 496 447 0 415 7 1 6 6 0 8 0 filepl 152 2221 0 1985 19 3 16 16 0 8 6 lockfpl 104 25 0 23 1 0 1 1 0 8 0 lockfspl 48 12 0 10 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 96 457 0 439 1 0 1 1 0 8 0 zombiepl 144 415 0 411 1 0 1 1 0 8 0 processpl 1064 461 0 411 5 1 4 4 0 8 0 procpl 672 585 0 523 7 0 7 7 0 8 0 sockpl 480 340 0 314 20 8 12 20 0 8 8 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 148 0 0 18 0 18 18 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 337 0 0 21 0 21 21 0 8 0 bufpl 288 3647 0 145 251 0 251 251 0 8 0 anonpl 24 77606 0 64945 87 2 85 85 0 186 0 amapchunkpl 152 8061 0 7337 38 2 36 36 0 158 1 amappl16 200 629 0 308 18 0 18 18 0 8 0 amappl15 192 113 0 104 1 0 1 1 0 8 0 amappl14 184 13 0 9 1 0 1 1 0 8 0 amappl13 176 88 0 85 1 0 1 1 0 8 0 amappl12 168 7 0 7 1 1 0 1 0 8 0 amappl11 160 64 0 50 1 0 1 1 0 8 0 amappl10 152 46 0 38 1 0 1 1 0 8 0 amappl9 144 485 0 480 1 0 1 1 0 8 0 amappl8 136 555 0 511 2 0 2 2 0 8 0 amappl7 128 121 0 108 1 0 1 1 0 8 0 amappl6 120 198 0 176 2 1 1 2 0 8 0 amappl5 112 247 0 226 1 0 1 1 0 8 0 amappl4 104 814 0 786 2 0 2 2 0 8 0 amappl3 96 173 0 162 1 0 1 1 0 8 0 amappl2 88 519 0 476 3 1 2 3 0 8 0 amappl1 80 11196 0 10599 18 3 15 18 0 8 0 amappl 88 3253 0 3029 7 0 7 7 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 447 0 415 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 447 0 415 1 0 1 1 0 8 0 vmmpekpl 168 8119 0 8067 3 0 3 3 0 8 0 vmmpepl 168 44077 0 41781 123 3 120 120 0 357 4 vmsppl 368 446 0 415 5 0 5 5 0 8 1 rwobjpl 56 13395 0 10430 44 0 44 44 0 8 0 pdppl 4096 901 0 830 113 32 81 97 0 8 10 pvpl 32 266611 0 249193 260 9 251 259 0 265 94 pmappl 248 446 0 415 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 641 0 36 18 0 18 18 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8290bff0) 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(ffffffff82a710a8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a710a8) 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+0x21 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 sys/dev/kcov.c:148 witness_checkorder(ffffffff82939660,9,0) at witness_checkorder+0x111 sys/kern/subr_witness.c:765 mtx_enter(ffffffff82939650) at mtx_enter+0x3a sys/kern/kern_lock.c:265 msleep(ffffffff82a92f68,ffffffff82939650,4,ffffffff826363d4,0) at msleep+0x25d reaper(ffff8000210f9a40) at reaper+0xcb sys/kern/kern_exit.c:428 end trace frame: 0x0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff8290bff0) 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(ffffffff82a710a8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a710a8) 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+0x21 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 sys/dev/kcov.c:148 witness_checkorder(ffffffff82939660,9,0) at witness_checkorder+0x111 sys/kern/subr_witness.c:765 mtx_enter(ffffffff82939650) at mtx_enter+0x3a sys/kern/kern_lock.c:265 msleep(ffffffff82a92f68,ffffffff82939650,4,ffffffff826363d4,0) at msleep+0x25d reaper(ffff8000210f9a40) at reaper+0xcb sys/kern/kern_exit.c:428 end trace frame: 0x0, count: -11 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(ffffffff8259e057) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a712b0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd807b89ead8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd807b89ead8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd807b89e9c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 udp_sbappend(fffffd806f672138,fffffd8065170f00,fffffd80651b02b0,0,14,fffffd80651b02c4,72a0ef0d7eb7a121,0) at udp_sbappend+0x3b1 sys/netinet/udp_usrreq.c:638 udp_input(ffff800027aea3c8,ffff800027aea3d4,11,2) at udp_input+0xbcb sys/netinet/udp_usrreq.c:427 ip_deliver(ffff800027aea3c8,ffff800027aea3d4,11,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800027aea3c8,ffff800027aea3d4,ffff800021227000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800027aea3c8,ffff800027aea3d4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd80651b0200) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd80651b0200,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 sys/netinet/ip_output.c:332 end trace frame: 0xffff800027aea640, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8259e057) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82a712b0,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82a710a8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd807b89ead8) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd807b89ead8) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd807b89e9c0) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 udp_sbappend(fffffd806f672138,fffffd8065170f00,fffffd80651b02b0,0,14,fffffd80651b02c4,72a0ef0d7eb7a121,0) at udp_sbappend+0x3b1 sys/netinet/udp_usrreq.c:638 udp_input(ffff800027aea3c8,ffff800027aea3d4,11,2) at udp_input+0xbcb sys/netinet/udp_usrreq.c:427 ip_deliver(ffff800027aea3c8,ffff800027aea3d4,11,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800027aea3c8,ffff800027aea3d4,ffff800021227000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800027aea3c8,ffff800027aea3d4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd80651b0200) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd80651b0200,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806a86f800,0,fffffd806f672558,0,0,fffffd806f6724e0,f37aba89b73fb7af) at ip_output+0xb05 sys/netinet/ip_output.c:332 udp_output(fffffd806f6724e0,fffffd806a86f800,0,0) at udp_output+0x58d sys/netinet/udp_usrreq.c:1011 sosend(fffffd807b89ed80,0,ffff800027aea7d8,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000fffe77a0,4,ffff800027aea7d8,0,ffff800027aea8d0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000fffe77a0,ffff800027aea878,ffff800027aea8d0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800027aea940) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027aea940) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96d7aa4dc90, count: -20