panic: receive 3: so 0xfffffd8066f4e640, so_type 3, m 0xfffffd805335f800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *219764 76696 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066f4e640,0,ffff80001d6e0ed8,0,0,ffff80001d6e0de4) at soreceive+0x16e7 soo_read(fffffd8066ff1528,ffff80001d6e0ed8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e0ed8,0,ffff80001d6e0fc0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e0f70,ffff80001d6e0fc0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1040) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9830, count: 7 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic receive 3: so 0xfffffd8066f4e640, so_type 3, m 0xfffffd805335f800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066f4e640,0,ffff80001d6e0ed8,0,0,ffff80001d6e0de4) at soreceive+0x16e7 soo_read(fffffd8066ff1528,ffff80001d6e0ed8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e0ed8,0,ffff80001d6e0fc0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e0f70,ffff80001d6e0fc0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1040) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9830, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e0c20 rbx 0xffff80001d6e0cd0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e0be0 r9 0xffffffff8122fb1f kprintf+0x15f r10 0x1 r11 0x2d6fa1aae461f541 r12 0x3000000008 r13 0xffff80001d6e0c30 r14 0x100 r15 0x1 rip 0xffffffff81b1d038 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e0c10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=219764 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff89e8,0xffff8000ffff93d8 process=0xffff80001d6c0b20 user=0xffff80001d6dc000, vmspace=0xfffffd806bc09440 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90501 51627 39295 0 2 0 syz-executor.1 90501 227316 39295 0 2 0x4000000 syz-executor.1 57416 209710 0 0 3 0x14200 acct acct 58336 510321 0 0 3 0x14280 nfsidl nfsio 14650 46927 0 0 3 0x14280 nfsidl nfsio 52171 174557 0 0 3 0x14280 nfsidl nfsio 83093 178134 0 0 3 0x14280 nfsidl nfsio 10923 495819 0 0 3 0x14280 nfsidl nfsio 347 75495 0 0 3 0x14280 nfsidl nfsio 68212 409172 0 0 3 0x14280 nfsidl nfsio 44741 157633 0 0 3 0x14280 nfsidl nfsio 93383 153453 0 0 3 0x14280 nfsidl nfsio 92953 86597 0 0 3 0x14280 nfsidl nfsio 89666 146790 0 0 3 0x14280 nfsidl nfsio 68592 88869 0 0 3 0x14280 nfsidl nfsio 56242 211620 0 0 3 0x14280 nfsidl nfsio 92470 198332 0 0 3 0x14280 nfsidl nfsio 96915 216631 0 0 3 0x14280 nfsidl nfsio 39 173843 0 0 3 0x14280 nfsidl nfsio 11583 37288 0 0 3 0x14280 nfsidl nfsio 30801 518868 0 0 3 0x14280 nfsidl nfsio 50608 68685 0 0 3 0x14280 nfsidl nfsio 20380 110567 0 0 3 0x14280 nfsidl nfsio 41130 198613 0 0 3 0x14200 bored sosplice 44628 116093 81283 0 2 0x2 syz-executor.0 39295 307404 81283 0 2 0x482 syz-executor.1 81283 355002 40701 0 3 0x82 kqread syz-fuzzer 81283 285179 40701 0 3 0x4000082 nanosleep syz-fuzzer 81283 205431 40701 0 3 0x4000082 thrsleep syz-fuzzer 81283 395165 40701 0 3 0x4000082 thrsleep syz-fuzzer 81283 498637 40701 0 3 0x4000082 thrsleep syz-fuzzer 81283 225180 40701 0 3 0x4000082 thrsleep syz-fuzzer 81283 14544 40701 0 3 0x4000082 thrsleep syz-fuzzer 40701 92165 73934 0 3 0x10008a pause ksh 73934 416088 87002 0 3 0x92 select sshd 75077 346500 1 0 3 0x100083 ttyin getty 87002 1378 1 0 3 0x80 select sshd 17591 35539 7271 73 3 0x100090 kqread syslogd 7271 511032 1 0 3 0x100082 netio syslogd 83010 340839 1 77 2 0x100010 dhclient *76696 219764 1 0 7 0 dhclient 82698 49254 0 0 3 0x14200 bored smr 39826 322822 0 0 2 0x14200 zerothread 84082 97960 0 0 3 0x14200 aiodoned aiodoned 15472 436110 0 0 3 0x14200 syncer update 98253 297284 0 0 3 0x14200 cleaner cleaner 56433 160075 0 0 3 0x14200 reaper reaper 94119 148686 0 0 3 0x14200 pgdaemon pagedaemon 41967 105921 0 0 3 0x14200 bored crynlk 92003 282217 0 0 3 0x14200 bored crypto 89855 22085 0 0 3 0x40014200 acpi0 acpi0 92055 331246 0 0 3 0x14200 bored softnet 46130 6873 0 0 3 0x14200 bored systqmp 64113 71280 0 0 3 0x14200 bored systq 97714 126585 0 0 3 0x40014200 bored softclock 36840 83465 0 0 3 0x40014200 idle0 1 392631 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9494 6348K 6906K 78643K 11557 0 pcb 13 8K 8K 78643K 69 0 rtable 114 4K 5K 78643K 292 0 ifaddr 76 15K 15K 78643K 113 0 counters 21 16K 16K 78643K 24 0 ioctlops 0 0K 4K 78643K 83 0 iov 0 0K 16K 78643K 50 0 mount 1 1K 1K 78643K 1 0 vnodes 1228 77K 78K 78643K 1490 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 74 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 428 0 proc 50 38K 63K 78643K 390 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 310 0 in_multi 65 3K 3K 78643K 132 0 ether_multi 1 0K 0K 78643K 10 0 mrt 0 0K 0K 78643K 4 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 1K 78643K 192 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 130 55K 55K 78643K 1823 0 UVM aobj 28 6K 6K 78643K 34 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 44 0 NDP 11 0K 0K 78643K 25 0 temp 119 3862K 3926K 78643K 12087 0 kqueue 3 4K 8K 78643K 13 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 rtpcb 88 39 0 37 1 0 1 1 0 8 0 rtentry 112 66 0 21 2 0 2 2 0 8 0 unpcb 120 259 0 251 1 0 1 1 0 8 0 syncache 272 6 0 6 2 2 0 1 0 8 0 tcpcb 592 574 0 569 9 4 5 5 0 8 4 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 296 1037 0 1028 3 1 2 2 0 8 0 rttmr 72 3 0 2 1 0 1 1 0 8 0 ip6q 72 2 0 2 1 0 1 1 0 8 1 ip6af 40 6 0 6 1 0 1 1 0 8 1 nd6 48 22 0 16 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 4 0 3 2 1 1 1 0 8 0 pfrktable 1344 4 0 2 1 0 1 1 0 8 0 pftag 88 6 0 6 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 5 0 3 2 1 1 1 0 8 0 pfstate 328 3 0 2 2 1 1 1 0 8 0 pfrule 1360 11 0 8 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 293 0 81 15 0 15 15 0 8 1 art_table 32 294 0 81 2 0 2 2 0 8 0 art_node 16 63 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 12 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 70 0 60 1 0 1 1 0 8 0 shmpl 112 31 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 1936 0 539 88 0 88 88 0 8 0 ffsino 240 1936 0 539 83 0 83 83 0 8 0 nchpl 144 2684 0 1095 60 0 60 60 0 8 0 uvmvnodes 72 2203 0 0 41 0 41 41 0 8 0 vnodes 208 2203 0 0 116 0 116 116 0 8 0 namei 1024 7130 0 7129 3 2 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 4 2 1 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 scxspl 200 8275 0 8275 2 1 1 1 0 8 1 plimitpl 152 42 0 35 1 0 1 1 0 8 0 sigapl 424 636 0 586 6 0 6 6 0 8 0 futexpl 56 9130 0 9130 3 2 1 1 0 8 1 knotepl 112 71 0 51 1 0 1 1 0 8 0 kqueuepl 152 36 0 34 1 0 1 1 0 8 0 pipepl 272 113 0 102 1 0 1 1 0 8 0 fdescpl 432 600 0 586 2 0 2 2 0 8 0 filepl 120 3738 0 3638 4 0 4 4 0 8 0 lockfpl 104 98 0 97 1 0 1 1 0 8 0 lockfspl 48 30 0 29 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 305 0 298 1 0 1 1 0 8 0 zombiepl 144 586 0 586 2 1 1 1 0 8 1 processpl 944 636 0 586 7 0 7 7 0 8 0 procpl 632 1112 0 1055 7 1 6 6 0 8 0 sosppl 144 6 0 6 2 2 0 1 0 8 0 sockpl 400 1335 0 1316 6 3 3 4 0 8 1 mcl64k 65536 44 0 44 2 1 1 1 0 8 1 mcl16k 16384 7 0 7 3 3 0 1 0 8 0 mcl12k 12288 23 0 23 3 2 1 1 0 8 1 mcl9k 9216 8 0 8 3 3 0 1 0 8 0 mcl8k 8192 15 0 15 3 2 1 1 0 8 1 mcl4k 4096 40 0 40 4 3 1 1 0 8 1 mcl2k2 2112 4 0 4 1 0 1 1 0 8 1 mcl2k 2048 94174 0 94129 17 9 8 13 0 8 1 mtagpl 96 106 0 10 4 1 3 3 0 8 0 mbufpl 256 151585 0 151202 27 1 26 26 0 8 0 bufpl 280 4255 0 118 296 0 296 296 0 8 0 anonpl 16 65375 0 48190 74 2 72 73 0 107 0 amapchunkpl 152 2481 0 2309 9 1 8 9 0 158 0 amappl16 192 2374 0 1421 50 1 49 49 0 8 1 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 397 0 392 1 0 1 1 0 8 0 amappl13 168 27 0 23 1 0 1 1 0 8 0 amappl12 160 29 0 25 1 0 1 1 0 8 0 amappl11 152 439 0 427 1 0 1 1 0 8 0 amappl10 144 13 0 10 1 0 1 1 0 8 0 amappl9 136 335 0 333 1 0 1 1 0 8 0 amappl8 128 289 0 260 1 0 1 1 0 8 0 amappl7 120 101 0 90 1 0 1 1 0 8 0 amappl6 112 225 0 218 1 0 1 1 0 8 0 amappl5 104 181 0 171 1 0 1 1 0 8 0 amappl4 96 830 0 800 1 0 1 1 0 8 0 amappl3 88 341 0 330 1 0 1 1 0 8 0 amappl2 80 3982 0 3914 2 0 2 2 0 8 0 amappl1 72 22441 0 22021 23 14 9 17 0 8 0 amappl 80 1347 0 1295 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 33 0 6 1 0 1 1 0 8 0 uaddrrnd 24 608 0 590 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 608 0 590 1 0 1 1 0 8 0 vmmpekpl 168 7221 0 7189 2 0 2 2 0 8 0 vmmpepl 168 79421 0 77360 130 34 96 116 0 357 6 vmsppl 272 607 0 590 4 2 2 2 0 8 0 pdppl 4096 1222 0 1184 7 1 6 6 0 8 1 pvpl 32 207366 0 187075 178 3 175 175 0 265 5 pmappl 200 607 0 590 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 272 0 32 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066f4e640,0,ffff80001d6e0ed8,0,0,ffff80001d6e0de4) at soreceive+0x16e7 soo_read(fffffd8066ff1528,ffff80001d6e0ed8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e0ed8,0,ffff80001d6e0fc0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e0f70,ffff80001d6e0fc0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1040) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9830, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066f4e640,0,ffff80001d6e0ed8,0,0,ffff80001d6e0de4) at soreceive+0x16e7 soo_read(fffffd8066ff1528,ffff80001d6e0ed8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e0ed8,0,ffff80001d6e0fc0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e0f70,ffff80001d6e0fc0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1040) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9830, count: -8