panic: receive 1a: so 0xfffffd805e572000, so_type 3, m 0xfffffd8067bbb900, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 42724 44991 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8f28) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e572000,0,ffff80001d372c68,0,0,ffff80001d372b74) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb11618,ffff80001d372c68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372c68,0,ffff80001d372d50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372d00,ffff80001d372d50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372dd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4b50, 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 1a: so 0xfffffd805e572000, so_type 3, m 0xfffffd8067bbb900, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8f28) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e572000,0,ffff80001d372c68,0,0,ffff80001d372b74) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb11618,ffff80001d372c68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372c68,0,ffff80001d372d50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372d00,ffff80001d372d50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372dd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4b50, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3729b0 rbx 0xffff80001d372a60 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372970 r9 0x1 r10 0 r11 0xb2467e2f25670d40 r12 0x3000000008 r13 0xffff80001d3729c0 r14 0x100 r15 0x1 rip 0xffffffff81bf3908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3729a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=42724 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d339288 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc09220 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18248 46329 97091 0 2 0 syz-executor.1 18248 184564 97091 0 3 0x4000080 poll syz-executor.1 82975 31329 31919 0 2 0 syz-executor.0 82975 462225 31919 0 2 0x4000000 syz-executor.0 33545 277771 0 0 3 0x14200 acct acct 1031 411657 0 0 3 0x14200 bored sosplice 31919 17089 36210 0 3 0x82 nanosleep syz-executor.0 97091 17219 36210 0 3 0x82 nanosleep syz-executor.1 36210 70250 72110 0 3 0x82 thrsleep syz-fuzzer 36210 376601 72110 0 3 0x4000082 thrsleep syz-fuzzer 36210 125746 72110 0 3 0x4000082 kqread syz-fuzzer 36210 25790 72110 0 3 0x4000082 thrsleep syz-fuzzer 36210 151813 72110 0 3 0x4000082 thrsleep syz-fuzzer 36210 193254 72110 0 3 0x4000082 thrsleep syz-fuzzer 36210 244388 72110 0 3 0x4000082 thrsleep syz-fuzzer 72110 142335 19667 0 3 0x10008a pause ksh 19667 339972 92114 0 3 0x92 select sshd 73712 253017 1 0 3 0x100083 ttyin getty 92114 295160 1 0 3 0x80 select sshd 11686 143731 52973 73 3 0x100090 kqread syslogd 52973 159932 1 0 3 0x100082 netio syslogd 48159 163435 1 77 2 0x100010 dhclient *44991 42724 1 0 7 0 dhclient 6638 204249 0 0 3 0x14200 bored smr 67542 88171 0 0 2 0x14200 zerothread 18895 300618 0 0 3 0x14200 aiodoned aiodoned 14309 462927 0 0 3 0x14200 syncer update 52190 260886 0 0 3 0x14200 cleaner cleaner 13485 247234 0 0 3 0x14200 reaper reaper 83238 409492 0 0 3 0x14200 pgdaemon pagedaemon 59559 323174 0 0 3 0x14200 bored crynlk 70340 362179 0 0 3 0x14200 bored crypto 72801 139681 0 0 3 0x40014200 acpi0 acpi0 52352 185746 0 0 3 0x14200 bored softnet 30065 217542 0 0 3 0x14200 bored systqmp 59499 217465 0 0 3 0x14200 bored systq 92941 200809 0 0 3 0x40014200 bored softclock 33056 299748 0 0 3 0x40014200 idle0 1 290135 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 9498 6359K 6852K 78643K 11395 0 pcb 13 8K 8K 78643K 133 0 rtable 77 6K 7K 78643K 386 0 ifaddr 70 14K 14K 78643K 123 0 counters 21 16K 16K 78643K 28 0 ioctlops 0 0K 2K 78643K 48 0 iov 0 0K 16K 78643K 84 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1465 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 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 422 0 sigio 0 0K 0K 78643K 8 0 proc 49 38K 63K 78643K 429 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 77 0 in_multi 44 2K 2K 78643K 145 0 ether_multi 1 0K 0K 78643K 19 0 mrt 0 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 252 0 pfkey data 0 0K 0K 78643K 4 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 117 70K 70K 78643K 1897 0 UVM aobj 23 2K 2K 78643K 25 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 79 0 NDP 11 0K 0K 78643K 25 0 temp 117 3016K 3079K 78643K 13235 0 kqueue 3 4K 10K 78643K 30 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 11 0 6 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 86 0 59 2 0 2 2 0 8 0 unpcb 120 247 0 237 2 0 2 2 0 8 1 syncache 264 9 0 9 2 2 0 1 0 8 0 tcpqe 32 50 0 50 3 3 0 1 0 8 0 tcpcb 544 306 0 300 2 1 1 2 0 8 0 ipq 40 4 0 4 3 2 1 1 0 8 1 ipqe 40 94 0 94 3 2 1 1 0 8 1 inpcb 280 716 0 707 2 0 2 2 0 8 1 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 11 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 5 0 2 3 0 3 3 0 8 0 art_heap4 256 402 0 228 15 4 11 13 0 8 0 art_table 32 407 0 230 2 0 2 2 0 8 0 art_node 16 85 0 62 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 6 1 0 1 1 0 8 0 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 23 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1976 0 571 46 0 46 46 0 8 0 ffsino 240 1976 0 571 83 0 83 83 0 8 0 nchpl 144 2787 0 1197 60 0 60 60 0 8 0 uvmvnodes 72 2193 0 0 40 0 40 40 0 8 0 vnodes 208 2193 0 0 116 0 116 116 0 8 0 namei 1024 8408 0 8408 1 0 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 14 0 6 1 0 1 1 0 8 0 scxspl 192 8849 0 8849 1 0 1 1 0 8 1 plimitpl 152 59 0 52 1 0 1 1 0 8 0 sigapl 424 607 0 576 4 0 4 4 0 8 0 futexpl 56 11352 0 11352 1 0 1 1 0 8 1 knotepl 112 97 0 78 1 0 1 1 0 8 0 kqueuepl 144 87 0 85 1 0 1 1 0 8 0 pipelkpl 16 223 0 213 1 0 1 1 0 8 0 pipepl 120 446 0 427 3 1 2 2 0 8 1 fdescpl 432 591 0 576 2 0 2 2 0 8 0 filepl 120 4776 0 4676 5 0 5 5 0 8 1 lockfpl 104 406 0 404 1 0 1 1 0 8 0 lockfspl 48 169 0 167 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 586 0 579 1 0 1 1 0 8 0 zombiepl 144 576 0 576 1 0 1 1 0 8 1 processpl 896 607 0 576 4 0 4 4 0 8 0 procpl 624 1133 0 1094 4 0 4 4 0 8 0 sosppl 128 11 0 11 1 0 1 1 0 8 1 sockpl 400 1028 0 1007 6 0 6 6 0 8 3 mcl64k 65536 25 0 25 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 6 0 6 3 2 1 1 0 8 1 mcl9k 9216 8 0 8 1 0 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 51 0 51 2 1 1 1 0 8 1 mcl2k2 2112 6 0 6 1 1 0 1 0 8 0 mcl2k 2048 65381 0 65332 17 10 7 14 0 8 0 mtagpl 80 50 0 4 2 1 1 1 0 8 0 mbufpl 256 106872 0 106659 42 19 23 29 0 8 7 bufpl 280 5322 0 160 369 0 369 369 0 8 0 anonpl 16 69903 0 53224 81 13 68 78 0 107 0 amapchunkpl 152 3713 0 3564 20 13 7 20 0 158 0 amappl16 192 2939 0 1997 55 7 48 54 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 145 0 143 3 2 1 1 0 8 0 amappl13 168 206 0 203 1 0 1 1 0 8 0 amappl12 160 63 0 60 1 0 1 1 0 8 0 amappl11 152 72 0 60 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 380 0 377 1 0 1 1 0 8 0 amappl8 128 296 0 274 1 0 1 1 0 8 0 amappl7 120 112 0 101 1 0 1 1 0 8 0 amappl6 112 24 0 18 1 0 1 1 0 8 0 amappl5 104 256 0 245 1 0 1 1 0 8 0 amappl4 96 776 0 742 1 0 1 1 0 8 0 amappl3 88 438 0 429 1 0 1 1 0 8 0 amappl2 80 3848 0 3773 3 1 2 3 0 8 0 amappl1 72 20051 0 19635 25 16 9 20 0 8 0 amappl 80 1382 0 1334 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 24 0 2 1 0 1 1 0 8 0 uaddrrnd 24 605 0 582 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 605 0 582 1 0 1 1 0 8 0 vmmpekpl 168 8043 0 8015 2 0 2 2 0 8 0 vmmpepl 168 77496 0 75370 134 30 104 121 0 357 11 vmsppl 272 604 0 582 3 1 2 2 0 8 0 pdppl 4096 1216 0 1172 7 1 6 6 0 8 0 pvpl 32 213253 0 193790 188 23 165 184 0 265 7 pmappl 200 604 0 582 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 196 0 42 5 0 5 5 0 8 0