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 26847 25787 0 0 0 0 syz-executor.0 *404392 25787 0 0 0x4000000 1 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067d4c310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067d4c310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067d4c1f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002609dfe8,ffff80002609dff4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002609dfe8,ffff80002609dff4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002609dfe8,ffff80002609dff4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002609dfe8,ffff80002609dff4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806a813500) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806a813500,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd80718a3000,fffffd807e156408,ffff80002609e240,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002609e2c0, 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(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067d4c310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067d4c310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067d4c1f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002609dfe8,ffff80002609dff4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002609dfe8,ffff80002609dff4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002609dfe8,ffff80002609dff4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002609dfe8,ffff80002609dff4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806a813500) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806a813500,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd80718a3000,fffffd807e156408,ffff80002609e240,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd807e156408,9,fffffd80718a3000,0,0,ffff80002e3897b0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd807e156408,0,ffff80002609e458,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002e3897b0,3,ffff80002609e458,0,ffff80002609e550) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002e3897b0,ffff80002609e4f8,ffff80002609e550) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002609e5c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002609e5c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb270b852a50, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002609db70 rbx 0xffff800020ce9bff rdx 0 rcx 0 rax 0xffff80002e3897b0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5314068b8f153e99 r11 0x47afb2c39a66cd39 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002609db60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=404392 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002e3882b0,0xffff80002e388d40 process=0xffff80002c53add0 user=0xffff800026099000, vmspace=0xfffffd806a87b5d0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25787 26847 23960 0 7 0 syz-executor.0 *25787 404392 23960 0 7 0x4000000 syz-executor.0 25787 446460 23960 0 3 0x4000080 fsleep syz-executor.0 1189 199429 6519 0 3 0x80 nanoslp syz-executor.5 1189 45316 6519 0 3 0x4000080 fsleep syz-executor.5 1189 147891 6519 0 3 0x4000080 fsleep syz-executor.5 79743 141766 24947 0 2 0 syz-executor.3 79743 69342 24947 0 3 0x4000080 msgwait syz-executor.3 22454 135670 44622 0 2 0 syz-executor.4 22454 148157 44622 0 3 0x4000080 fsleep syz-executor.4 22454 460310 44622 0 2 0x4000000 syz-executor.4 22454 118400 44622 0 3 0x4000080 fsleep syz-executor.4 19251 225458 40652 0 2 0 syz-executor.6 19251 155571 40652 0 2 0x4000000 syz-executor.6 47541 475482 0 0 3 0x14200 bored sosplice 20496 268553 54914 0 2 0x482 syz-executor.7 44622 438475 54914 0 3 0x82 nanoslp syz-executor.4 6519 197766 54914 0 3 0x82 nanoslp syz-executor.5 40652 505934 54914 0 3 0x82 nanoslp syz-executor.6 24947 405883 54914 0 3 0x82 nanoslp syz-executor.3 51065 147072 54914 0 3 0x82 nanoslp syz-executor.2 95954 198115 54914 0 2 0x482 syz-executor.1 23960 275324 54914 0 3 0x82 nanoslp syz-executor.0 54914 177833 83742 0 3 0x82 thrsleep syz-fuzzer 54914 347903 83742 0 3 0x4000082 thrsleep syz-fuzzer 54914 89025 83742 0 3 0x4000082 thrsleep syz-fuzzer 54914 460840 83742 0 3 0x4000082 kqread syz-fuzzer 54914 8643 83742 0 3 0x4000082 thrsleep syz-fuzzer 54914 373628 83742 0 3 0x4000082 thrsleep syz-fuzzer 54914 204258 83742 0 3 0x4000082 thrsleep syz-fuzzer 54914 494504 83742 0 3 0x4000082 thrsleep syz-fuzzer 54914 391910 83742 0 3 0x4000082 thrsleep syz-fuzzer 83742 234379 8063 0 3 0x10008a sigsusp ksh 8063 61111 48598 0 3 0x9a kqread sshd 41932 511867 1 0 3 0x100083 ttyin getty 48598 329383 1 0 3 0x88 kqread sshd 44352 100420 80959 74 3 0x1100092 bpf pflogd 80959 355362 1 0 3 0x80 netio pflogd 46923 10992 60566 73 3 0x1100090 kqread syslogd 60566 110823 1 0 3 0x100082 netio syslogd 37501 142877 1 0 3 0x100080 kqread resolvd 83208 117728 29414 77 3 0x100092 kqread dhcpleased 83516 24469 29414 77 3 0x100092 kqread dhcpleased 29414 416495 1 0 3 0x80 kqread dhcpleased 40247 446865 0 0 3 0x14200 bored smr 97516 102853 0 0 2 0x14200 zerothread 28156 516947 0 0 3 0x14200 aiodoned aiodoned 32446 474306 0 0 3 0x14200 syncer update 14969 102691 0 0 3 0x14200 cleaner cleaner 43505 242442 0 0 3 0x14200 reaper reaper 37798 218971 0 0 3 0x14200 pgdaemon pagedaemon 61740 336618 0 0 3 0x14200 bored viomb 2650 238680 0 0 3 0x40014200 acpi0 acpi0 83749 485961 0 0 3 0x40014200 idle1 88791 259880 0 0 3 0x14200 bored softnet 88897 351443 0 0 3 0x14200 bored systqmp 59413 137611 0 0 3 0x14200 bored systq 29122 231127 0 0 3 0x40014200 bored softclock 946 221169 0 0 3 0x40014200 idle0 1 213514 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 (0xffffffff82b03010) #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 25787 (syz-executor.0) thread 0xffff80002e3897b0 (404392) exclusive rwlock netlock r = 0 (0xffffffff82904160) #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 (0xffffffff82b03010) #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 10184 6484K 6992K 78643K 11697 0 pcb 13 11K 12K 78643K 142 0 rtable 222 7K 7K 78643K 399 0 ifaddr 87 17K 17K 78643K 102 0 counters 56 35K 35K 78643K 58 0 ioctlops 0 0K 4K 78643K 1579 0 iov 0 0K 12K 78643K 70 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1275 80K 80K 78643K 1547 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 187 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 93K 78643K 711 0 proc 70 87K 124K 78643K 556 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 3 0K 0K 78643K 170 0 in_multi 88 5K 6K 78643K 115 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 2K 78643K 665 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 313 128K 128K 78643K 10829 0 UVM aobj 31 2K 2K 78643K 31 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 1 0K 0K 78643K 23 0 NDP 13 0K 1K 78643K 34 0 temp 123 4706K 4770K 78643K 6366 0 kqueue 12 18K 22K 78643K 34 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 48 0 45 1 0 1 1 0 8 0 rtentry 112 118 0 19 4 0 4 4 0 8 0 unpcb 136 362 0 344 4 2 2 3 0 8 1 syncache 296 14 0 14 3 3 0 1 0 8 0 tcpqe 32 149 0 149 2 2 0 1 0 8 0 tcpcb 736 510 0 493 16 13 3 15 0 8 1 arp 120 18 0 2 1 0 1 1 0 8 0 inpcb 312 834 0 757 15 8 7 9 0 8 0 rttmr 72 3 0 3 1 0 1 1 0 8 1 nd6 48 28 0 7 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pffrag 232 5 0 3 1 0 1 1 0 482 0 pffrnode 88 5 0 3 1 0 1 1 0 8 0 pffrent 40 19 0 17 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 1 0 0 1 0 1 1 0 8 0 pfstitem 24 44 0 17 1 0 1 1 0 8 0 pfstkey 112 44 0 17 2 0 2 2 0 8 0 pfstate 320 44 0 17 4 0 4 4 0 8 0 pfsrctr 152 7 0 6 2 1 1 1 0 8 0 pfrule 1360 32 0 19 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 44 29 2 27 29 0 8 0 art_table 32 454 0 44 4 0 4 4 0 8 0 art_node 16 117 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 51 0 11 1 0 1 1 0 8 0 semapl 112 185 0 175 1 0 1 1 0 8 0 shmpl 112 28 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2351 0 914 91 0 91 91 0 8 0 ffsino 272 2351 0 914 97 0 97 97 0 8 0 nchpl 144 3416 0 1760 63 0 63 63 0 8 0 uvmvnodes 80 2559 0 0 53 0 53 53 0 8 0 vnodes 224 2559 0 0 151 0 151 151 0 8 0 namei 1024 11948 0 11948 2 1 1 2 0 8 1 percpumem 16 41 0 1 1 0 1 1 0 8 0 vcpupl 2048 8 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 0 1 0 1 1 0 8 0 scxspl 216 9844 0 9844 9 8 1 8 0 8 1 plimitpl 152 47 0 32 1 0 1 1 0 8 0 sigapl 424 1013 0 967 6 0 6 6 0 8 0 futexpl 64 5616 0 5611 1 0 1 1 0 8 0 knotepl 120 110 0 0 4 0 4 4 0 8 0 kqueuepl 216 114 0 106 5 0 5 5 0 8 4 pipepl 336 170 0 142 4 1 3 3 0 8 0 fdescpl 496 998 0 970 5 1 4 5 0 8 0 filepl 152 5811 0 5501 17 4 13 14 0 8 1 lockfpl 104 98 0 96 1 0 1 1 0 8 0 lockfspl 48 39 0 37 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 702 0 690 1 0 1 1 0 8 0 zombiepl 144 970 0 967 1 0 1 1 0 8 0 processpl 1064 1013 0 967 4 0 4 4 0 8 0 procpl 672 2302 0 2239 9 2 7 7 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 480 1244 0 1146 29 16 13 16 0 8 0 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 16 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 158 0 0 19 0 19 19 0 8 0 mtagpl 96 158 0 0 4 0 4 4 0 8 0 mbufpl 256 395 0 0 25 0 25 25 0 8 0 bufpl 288 4482 0 147 310 0 310 310 0 8 0 anonpl 24 231650 0 213811 119 5 114 115 0 186 2 amapchunkpl 152 25148 0 24332 39 3 36 37 0 158 2 amappl16 200 1973 0 1426 31 1 30 30 0 8 0 amappl15 192 103 0 95 1 0 1 1 0 8 0 amappl14 184 4 0 2 2 1 1 1 0 8 0 amappl13 176 83 0 80 1 0 1 1 0 8 0 amappl12 168 90 0 89 2 1 1 1 0 8 0 amappl11 160 217 0 199 1 0 1 1 0 8 0 amappl10 152 189 0 181 1 0 1 1 0 8 0 amappl9 144 566 0 559 1 0 1 1 0 8 0 amappl8 136 727 0 676 2 0 2 2 0 8 0 amappl7 128 262 0 248 1 0 1 1 0 8 0 amappl6 120 285 0 263 2 1 1 2 0 8 0 amappl5 112 777 0 758 1 0 1 1 0 8 0 amappl4 104 1168 0 1138 2 0 2 2 0 8 0 amappl3 96 305 0 294 1 0 1 1 0 8 0 amappl2 88 551 0 507 3 1 2 3 0 8 0 amappl1 80 21406 0 20832 20 7 13 19 0 8 0 amappl 88 10369 0 10127 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 30 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1006 0 970 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1006 0 970 1 0 1 1 0 8 0 vmmpekpl 168 11607 0 11548 3 0 3 3 0 8 0 vmmpepl 168 94191 0 91771 122 5 117 120 0 357 2 vmsppl 368 1005 0 970 4 0 4 4 0 8 0 rwobjpl 56 26397 0 22291 60 1 59 59 0 8 0 pdppl 4096 2019 0 1948 129 52 77 83 0 8 6 pvpl 32 518499 0 496440 264 44 220 262 0 265 34 pmappl 248 1005 0 970 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 756 0 80 20 0 20 20 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8298cff0) 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 end of kernel end trace frame: 0x7f7fffff48e0, count: 12 ddb{0}> trace x86_ipi_db(ffffffff8298cff0) 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 end of kernel end trace frame: 0x7f7fffff48e0, count: -3 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(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067d4c310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067d4c310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067d4c1f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002609dfe8,ffff80002609dff4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002609dfe8,ffff80002609dff4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002609dfe8,ffff80002609dff4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002609dfe8,ffff80002609dff4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806a813500) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806a813500,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd80718a3000,fffffd807e156408,ffff80002609e240,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002609e2c0, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8067d4c310) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8067d4c310) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8067d4c1f8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002609dfe8,ffff80002609dff4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002609dfe8,ffff80002609dff4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002609dfe8,ffff80002609dff4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002609dfe8,ffff80002609dff4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806a813500) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806a813500,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd80718a3000,fffffd807e3d2000,fffffd806447bcb8,20,0,fffffd806447bc40,34eb44b02121d242) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd80718a3000,fffffd807e156408,ffff80002609e240,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd807e156408,9,fffffd80718a3000,0,0,ffff80002e3897b0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd807e156408,0,ffff80002609e458,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff80002e3897b0,3,ffff80002609e458,0,ffff80002609e550) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff80002e3897b0,ffff80002609e4f8,ffff80002609e550) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002609e5c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002609e5c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb270b852a50, count: -20