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 * 28653 1703 0 0 0x4000000 1 syz-executor.3 446320 85870 0 0x12 0x8 0K sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067376550) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067376550) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067376438) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002c92edc8,ffff80002c92edd4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002c92edc8,ffff80002c92edd4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002c92edc8,ffff80002c92edd4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002c92edc8,ffff80002c92edd4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806ee38300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806ee38300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8068407d00,fffffd806d4d61f8,ffff80002c92f020,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002c92f0a0, 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(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067376550) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067376550) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067376438) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002c92edc8,ffff80002c92edd4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002c92edc8,ffff80002c92edd4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002c92edc8,ffff80002c92edd4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002c92edc8,ffff80002c92edd4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806ee38300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806ee38300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8068407d00,fffffd806d4d61f8,ffff80002c92f020,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd806d4d61f8,9,fffffd8068407d00,0,0,ffff80002c9437a0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd806d4d61f8,0,ffff80002c92f238,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002c9437a0,4,ffff80002c92f238,0,ffff80002c92f330) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002c9437a0,ffff80002c92f2d8,ffff80002c92f330) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002c92f3a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002c92f3a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xff5865199a0, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002c92e950 rbx 0xffff800020ce9bff rdx 0 rcx 0 rax 0xffff80002c9437a0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x11e4c0955d31fc50 r11 0xa6fc70aea63d3104 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81828e88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002c92e940 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=28653 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002c943ce0,0xffff80002c942fd0 process=0xffff80002b320018 user=0xffff80002c92a000, vmspace=0xfffffd807effe170 estcpu=31, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6201 184797 76759 0 2 0 syz-executor.5 6733 237913 85667 0 2 0 syz-executor.2 6733 420769 85667 0 3 0x4000080 fsleep syz-executor.2 1703 154971 54371 0 2 0 syz-executor.3 * 1703 28653 54371 0 7 0x4000000 syz-executor.3 1703 106541 54371 0 2 0x4000000 syz-executor.3 86974 322435 31269 0 2 0 syz-executor.4 86974 275898 31269 0 3 0x4000080 piperd syz-executor.4 86974 68066 31269 0 3 0x4000080 fsleep syz-executor.4 86974 28251 31269 0 3 0x4000080 fsleep syz-executor.4 86050 279987 81917 0 3 0x80 nanoslp syz-executor.1 86050 28661 81917 0 3 0x4000080 fsleep syz-executor.1 86050 170721 81917 0 3 0x4000080 netio syz-executor.1 86050 155348 81917 0 3 0x4000080 fsleep syz-executor.1 65865 462404 0 0 3 0x14200 bored sosplice 5984 46186 61948 0 2 0x2 syz-executor.6 13211 389277 61948 0 2 0x2 syz-executor.7 31269 221877 61948 0 3 0x82 nanoslp syz-executor.4 76759 151142 61948 0 3 0x82 nanoslp syz-executor.5 54371 381436 61948 0 2 0x482 syz-executor.3 85667 101686 61948 0 3 0x82 nanoslp syz-executor.2 81917 411519 61948 0 2 0x482 syz-executor.1 27792 384976 61948 0 2 0x2 syz-executor.0 61948 483383 69790 0 2 0x82 syz-fuzzer 61948 6691 69790 0 2 0x4000482 syz-fuzzer 61948 371041 69790 0 3 0x4000082 thrsleep syz-fuzzer 61948 391814 69790 0 3 0x4000082 thrsleep syz-fuzzer 61948 262898 69790 0 3 0x4000082 thrsleep syz-fuzzer 61948 403489 69790 0 3 0x4000082 thrsleep syz-fuzzer 61948 211522 69790 0 3 0x4000082 thrsleep syz-fuzzer 61948 440590 69790 0 2 0x4000082 syz-fuzzer 61948 420787 69790 0 3 0x4000082 thrsleep syz-fuzzer 69790 194187 85870 0 3 0x10008a sigsusp ksh 85870 446320 73557 0 7 0x1a sshd 24619 115771 1 0 3 0x100083 ttyin getty 73557 186004 1 0 3 0x88 kqread sshd 8178 17633 54652 74 3 0x1100092 bpf pflogd 54652 206811 1 0 3 0x80 netio pflogd 86145 424521 38042 73 3 0x1100090 kqread syslogd 38042 134649 1 0 3 0x100082 netio syslogd 49023 485378 1 0 3 0x100080 kqread resolvd 81913 433523 43570 77 3 0x100092 kqread dhcpleased 23776 218009 43570 77 3 0x100092 kqread dhcpleased 43570 470021 1 0 3 0x80 kqread dhcpleased 1455 337882 0 0 3 0x14200 bored smr 16351 119736 0 0 2 0x14200 zerothread 89329 71237 0 0 3 0x14200 aiodoned aiodoned 40871 432548 0 0 3 0x14200 syncer update 49126 354704 0 0 3 0x14200 cleaner cleaner 73559 372375 0 0 3 0x14200 reaper reaper 29388 13690 0 0 3 0x14200 pgdaemon pagedaemon 55269 156976 0 0 3 0x14200 bored viomb 33489 28005 0 0 3 0x40014200 acpi0 acpi0 77072 345570 0 0 3 0x40014200 idle1 34260 194027 0 0 2 0x14200 softnet 2062 252414 0 0 3 0x14200 bored systqmp 75540 106972 0 0 3 0x14200 bored systq 76719 412302 0 0 3 0x40014200 bored softclock 23160 40403 0 0 3 0x40014200 idle0 1 499898 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b4af68) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip_input+0x135 #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 rip_output+0x2cb sys/netinet/raw_ip.c:302 #11 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #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 1703 (syz-executor.3) thread 0xffff80002c9437a0 (28653) exclusive rwlock netlock r = 0 (0xffffffff82980490) #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 (0xffffffff82b4af68) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip_input+0x135 #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 rip_output+0x2cb sys/netinet/raw_ip.c:302 #11 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10194 6544K 6673K 78643K 11713 0 pcb 13 8K 8K 78643K 114 0 rtable 255 9K 10K 78643K 373 0 ifaddr 92 19K 19K 78643K 142 0 counters 56 35K 36K 78643K 72 0 ioctlops 0 0K 4K 78643K 1560 0 iov 0 0K 8K 78643K 7 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1276 80K 80K 78643K 1376 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 56 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 89K 78643K 554 0 proc 69 87K 123K 78643K 523 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 17 0 in_multi 103 6K 7K 78643K 105 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 729 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 314 80K 81K 78643K 8852 0 UVM aobj 43 2K 2K 78643K 43 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 12 0K 1K 78643K 37 0 temp 117 4709K 4773K 78643K 5801 0 kqueue 12 18K 26K 78643K 53 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 114 0 1 4 0 4 4 0 8 0 unpcb 136 705 0 686 10 2 8 10 0 8 7 syncache 296 7 0 7 2 2 0 1 0 8 0 tcpqe 32 56 0 56 1 1 0 1 0 8 0 tcpcb 736 96 0 92 4 2 2 4 0 8 1 arp 120 19 0 0 1 0 1 1 0 8 0 inpcb 312 372 0 359 4 2 2 4 0 8 1 nd6 48 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1248 4 0 4 1 0 1 1 0 8 1 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 2 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 pfrktable 1344 7 0 2 1 0 1 1 0 8 0 pfstitem 24 17 0 11 1 0 1 1 0 8 0 pfstkey 112 17 0 11 1 0 1 1 0 8 0 pfstate 320 17 0 11 2 0 2 2 0 8 1 pfrule 1360 35 0 25 2 1 1 2 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 113 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 54 0 44 1 0 1 1 0 8 0 shmpl 112 40 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2030 0 593 91 0 91 91 0 8 0 ffsino 272 2030 0 593 97 0 97 97 0 8 0 nchpl 144 2906 0 1244 63 0 63 63 0 8 0 uvmvnodes 80 2200 0 0 45 0 45 45 0 8 0 vnodes 224 2200 0 0 130 0 130 130 0 8 0 namei 1024 9863 0 9863 2 1 1 2 0 8 1 percpumem 16 48 0 8 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 0 1 0 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 8525 0 8525 9 8 1 8 0 8 1 plimitpl 152 30 0 15 1 0 1 1 0 8 0 sigapl 424 859 0 815 6 0 6 6 0 8 0 futexpl 64 3772 0 3767 1 0 1 1 0 8 0 knotepl 120 108 0 0 4 0 4 4 0 8 0 kqueuepl 216 154 0 144 5 0 5 5 0 8 4 pipepl 336 238 0 209 7 4 3 7 0 8 0 fdescpl 496 844 0 816 5 0 5 5 0 8 0 filepl 152 4580 0 4324 25 7 18 20 0 8 7 lockfpl 104 192 0 190 2 1 1 2 0 8 0 lockfspl 48 30 0 28 1 0 1 1 0 8 0 sessionpl 144 24 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 7 1 0 1 1 0 8 0 ucredpl 96 242 0 230 1 0 1 1 0 8 0 zombiepl 144 816 0 815 1 0 1 1 0 8 0 processpl 1064 859 0 815 4 0 4 4 0 8 0 procpl 672 1811 0 1750 8 1 7 7 0 8 1 sosppl 168 12 0 12 2 1 1 1 0 8 1 sockpl 480 1110 0 1078 37 25 12 37 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 228 0 0 28 0 28 28 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 307 0 0 18 0 18 18 0 8 0 bufpl 288 4150 0 142 287 0 287 287 0 8 0 anonpl 24 204873 0 186374 133 9 124 129 0 186 8 amapchunkpl 152 20700 0 19853 39 2 37 37 0 158 1 amappl16 200 2521 0 1983 41 7 34 38 0 8 4 amappl15 192 201 0 192 1 0 1 1 0 8 0 amappl14 184 56 0 53 2 1 1 1 0 8 0 amappl13 176 81 0 80 1 0 1 1 0 8 0 amappl12 168 75 0 68 1 0 1 1 0 8 0 amappl11 160 231 0 211 1 0 1 1 0 8 0 amappl10 152 101 0 92 1 0 1 1 0 8 0 amappl9 144 532 0 528 1 0 1 1 0 8 0 amappl8 136 584 0 535 2 0 2 2 0 8 0 amappl7 128 121 0 111 1 0 1 1 0 8 0 amappl6 120 271 0 250 2 1 1 2 0 8 0 amappl5 112 522 0 504 1 0 1 1 0 8 0 amappl4 104 1185 0 1151 2 0 2 2 0 8 0 amappl3 96 269 0 257 1 0 1 1 0 8 0 amappl2 88 567 0 521 3 1 2 3 0 8 0 amappl1 80 18678 0 18091 19 5 14 19 0 8 0 amappl 88 8396 0 8151 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 42 0 0 1 0 1 1 0 8 0 uaddrrnd 24 844 0 816 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 844 0 816 1 0 1 1 0 8 0 vmmpekpl 168 11150 0 11092 3 0 3 3 0 8 0 vmmpepl 168 81388 0 78968 129 11 118 126 0 357 3 vmsppl 368 843 0 816 4 1 3 4 0 8 0 rwobjpl 56 23663 0 19889 54 0 54 54 0 8 0 pdppl 4096 1695 0 1632 114 45 69 81 0 8 6 pvpl 32 466171 0 443483 246 29 217 245 0 265 27 pmappl 248 843 0 816 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 698 0 58 19 0 19 19 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82948ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:144 msleep(fffffd80719d06c0,fffffd80719d06c0,318,ffffffff825f9b86,0) at msleep+0xa8 sys/kern/kern_synch.c:223 kqueue_scan(ffff800021197cd0,4,ffff800021197dd0,0,ffff800021143a48,ffff800021197f4c) at kqueue_scan+0x1ab sys/kern/kern_event.c:1322 doppoll(ffff800021143a48,633ade6a800,4,0,ffff800021197fc4,ffff8000211980a0) at doppoll+0x280 sys/kern/sys_generic.c:1066 sys_ppoll(ffff800021143a48,ffff800021198040,ffff8000211980a0) at sys_ppoll+0x133 sys/kern/sys_generic.c:993 syscall(ffff800021198110) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021198110) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5380, count: 5 ddb{0}> trace x86_ipi_db(ffffffff82948ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:144 msleep(fffffd80719d06c0,fffffd80719d06c0,318,ffffffff825f9b86,0) at msleep+0xa8 sys/kern/kern_synch.c:223 kqueue_scan(ffff800021197cd0,4,ffff800021197dd0,0,ffff800021143a48,ffff800021197f4c) at kqueue_scan+0x1ab sys/kern/kern_event.c:1322 doppoll(ffff800021143a48,633ade6a800,4,0,ffff800021197fc4,ffff8000211980a0) at doppoll+0x280 sys/kern/sys_generic.c:1066 sys_ppoll(ffff800021143a48,ffff800021198040,ffff8000211980a0) at sys_ppoll+0x133 sys/kern/sys_generic.c:993 syscall(ffff800021198110) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021198110) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5380, count: -10 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(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067376550) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067376550) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067376438) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002c92edc8,ffff80002c92edd4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002c92edc8,ffff80002c92edd4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002c92edc8,ffff80002c92edd4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002c92edc8,ffff80002c92edd4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806ee38300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806ee38300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8068407d00,fffffd806d4d61f8,ffff80002c92f020,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002c92f0a0, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067376550) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067376550) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067376438) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002c92edc8,ffff80002c92edd4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002c92edc8,ffff80002c92edd4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002c92edc8,ffff80002c92edd4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002c92edc8,ffff80002c92edd4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806ee38300) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806ee38300,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8068407d00,fffffd8068409a00,fffffd806f67fb70,20,0,fffffd806f67faf8,1bca15dd6fd95e16) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8068407d00,fffffd806d4d61f8,ffff80002c92f020,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd806d4d61f8,9,fffffd8068407d00,0,0,ffff80002c9437a0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd806d4d61f8,0,ffff80002c92f238,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002c9437a0,4,ffff80002c92f238,0,ffff80002c92f330) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002c9437a0,ffff80002c92f2d8,ffff80002c92f330) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002c92f3a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002c92f3a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xff5865199a0, count: -20