panic: receive 3: so 0xfffffd8036ff5a80, so_type 1, m 0xfffffd802f4abe00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *464809 28154 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8036ff5a80,ffff800014886c50,ffff800014886c18,0,ffff800014886c48,ffff800014886dc4) at soreceive+0x16e7 recvit(ffff8000ffff8ed8,4,ffff800014886d98,0,ffff800014886e80) at recvit+0x32c sys/kern/uipc_syscalls.c:822 sys_recvmsg(ffff8000ffff8ed8,ffff800014886e30,ffff800014886e80) at sys_recvmsg+0x14b sys/kern/uipc_syscalls.c:758 syscall(ffff800014886f00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1b,9,1b,ffffffffffffffff,16206e92e000) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4620, count: 8 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 0xfffffd8036ff5a80, so_type 1, m 0xfffffd802f4abe00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8036ff5a80,ffff800014886c50,ffff800014886c18,0,ffff800014886c48,ffff800014886dc4) at soreceive+0x16e7 recvit(ffff8000ffff8ed8,4,ffff800014886d98,0,ffff800014886e80) at recvit+0x32c sys/kern/uipc_syscalls.c:822 sys_recvmsg(ffff8000ffff8ed8,ffff800014886e30,ffff800014886e80) at sys_recvmsg+0x14b sys/kern/uipc_syscalls.c:758 syscall(ffff800014886f00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1b,9,1b,ffffffffffffffff,16206e92e000) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4620, count: -7 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800014886a60 rbx 0xffff800014886b10 rdx 0x2 rcx 0 rax 0 r8 0xffff800014886a20 r9 0x1 r10 0 r11 0xfd5a6ba0eb6774e5 r12 0x3000000008 r13 0xffff800014886a70 r14 0x100 r15 0x1 rip 0xffffffff817cf0a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014886a50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=464809 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8008,0xffff8000ffff93d8 process=0xffff8000ffff6370 user=0xffff800014881000, vmspace=0xfffffd803f014330 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46562 50788 17690 0 2 0x480 syz-executor.0 46562 73049 17690 0 3 0x4000080 kqread syz-executor.0 46562 59473 17690 0 3 0x4000080 kqread syz-executor.0 46562 99053 17690 0 3 0x4000080 fsleep syz-executor.0 46562 357314 17690 0 3 0x4000080 fsleep syz-executor.0 78061 109661 0 0 3 0x14200 acct acct 17690 304058 39379 0 2 0x482 syz-executor.0 97239 264193 0 0 3 0x14200 bored sosplice 98991 510417 39379 0 2 0x482 syz-executor.1 39379 492041 69637 0 3 0x82 thrsleep syz-fuzzer 39379 514556 69637 0 3 0x4000082 thrsleep syz-fuzzer 39379 5726 69637 0 3 0x4000082 kqread syz-fuzzer 39379 480214 69637 0 3 0x4000082 thrsleep syz-fuzzer 39379 406185 69637 0 3 0x4000082 thrsleep syz-fuzzer 39379 156630 69637 0 3 0x4000082 thrsleep syz-fuzzer 39379 316332 69637 0 3 0x4000082 thrsleep syz-fuzzer 39379 45242 69637 0 3 0x4000082 thrsleep syz-fuzzer 69637 314315 45097 0 3 0x10008a pause ksh 45097 47728 94665 0 3 0x92 select sshd 73143 445358 1 0 3 0x100083 ttyin getty 94665 285341 1 0 3 0x80 select sshd 86143 345253 8149 73 3 0x100090 kqread syslogd 8149 298261 1 0 3 0x100082 netio syslogd 48430 219545 1 77 3 0x100090 poll dhclient *28154 464809 1 0 7 0 dhclient 13704 416951 0 0 3 0x14200 pgzero zerothread 63574 420472 0 0 3 0x14200 aiodoned aiodoned 29686 231628 0 0 3 0x14200 syncer update 20287 260008 0 0 3 0x14200 cleaner cleaner 44968 281051 0 0 3 0x14200 reaper reaper 3024 212025 0 0 3 0x14200 pgdaemon pagedaemon 21964 218322 0 0 3 0x14200 bored crynlk 85512 137637 0 0 3 0x14200 bored crypto 71475 21801 0 0 3 0x40014200 acpi0 acpi0 40548 380680 0 0 3 0x14200 bored softnet 17430 465448 0 0 3 0x14200 bored systqmp 84767 123434 0 0 3 0x14200 bored systq 2436 285193 0 0 3 0x40014200 bored softclock 12102 189570 0 0 3 0x40014200 idle0 64195 419607 0 0 3 0x14200 bored smr 1 401577 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 Kern Lim devbuf 9534 7004K 7644K 78643K 13292 0 0 pcb 13 8K 8K 78643K 187 0 0 rtable 87 3K 4K 78643K 523 0 0 ifaddr 65 14K 15K 78643K 166 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 41 0 0 iov 0 0K 24K 78643K 163 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1230 77K 78K 78643K 2008 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 12 0 0 VM map 6 1K 1K 78643K 10 0 0 sem 12 0K 1K 78643K 361 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 698 0 0 sigio 0 0K 0K 78643K 10 0 0 proc 48 38K 54K 78643K 453 0 0 subproc 32 2K 2K 78643K 53 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 52 0 0 in_multi 19 1K 2K 78643K 84 0 0 ether_multi 1 0K 0K 78643K 5 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 287 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 130 55K 57K 78643K 3148 0 0 UVM aobj 73 3K 3K 78643K 75 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 8 1K 4K 78643K 2434 0 0 NDP 15 0K 0K 78643K 51 0 0 temp 193 3544K 4197K 78643K 30591 0 0 kqueue 0 0K 0K 78643K 15 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 17 0 13 1 0 1 1 0 8 0 rtpcb 80 61 0 59 1 0 1 1 0 8 0 rtentry 112 103 0 73 2 0 2 2 0 8 0 unpcb 120 460 0 452 1 0 1 1 0 8 0 syncache 264 8 0 8 2 2 0 1 0 8 0 tcpqe 32 196 0 196 2 2 0 1 0 8 0 tcpcb 544 298 0 294 1 0 1 1 0 8 0 ipq 40 13 0 13 4 4 0 1 0 8 0 ipqe 40 330 0 330 4 4 0 1 0 8 0 inpcb 280 4062 0 4045 12 8 4 5 0 8 2 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 12 0 12 2 2 0 1 0 8 0 nd6 48 12 0 11 1 0 1 1 0 8 0 pkpcb 40 1 0 0 1 0 1 1 0 8 0 ppxss 1128 11 0 11 6 5 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 465 0 311 19 4 15 15 0 8 2 art_table 32 466 0 311 2 0 2 2 0 8 0 art_node 16 102 0 74 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 18 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 359 0 349 1 0 1 1 0 8 0 shmpl 112 73 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2501 0 1106 46 0 46 46 0 8 0 ffsino 240 2501 0 1106 83 0 83 83 0 8 0 nchpl 144 4016 0 3563 60 40 20 60 0 8 0 uvmvnodes 72 3162 0 0 58 0 58 58 0 8 0 vnodes 208 3162 0 0 167 0 167 167 0 8 0 namei 1024 12138 0 12138 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 520 8 0 4 1 0 1 1 0 8 0 scxspl 192 11814 0 11814 10 9 1 6 0 8 1 plimitpl 152 88 0 81 1 0 1 1 0 8 0 sigapl 432 865 0 852 2 0 2 2 0 8 0 futexpl 56 32585 0 32583 1 0 1 1 0 8 0 knotepl 112 548 0 529 2 1 1 2 0 8 0 kqueuepl 104 1407 0 1401 1 0 1 1 0 8 0 pipepl 112 558 0 539 3 2 1 2 0 8 0 fdescpl 424 866 0 852 2 0 2 2 0 8 0 filepl 120 12164 0 12052 11 5 6 6 0 8 2 lockfpl 104 283 0 282 1 0 1 1 0 8 0 lockfspl 48 104 0 103 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 1015 0 1007 1 0 1 1 0 8 0 zombiepl 144 852 0 851 1 0 1 1 0 8 0 processpl 864 882 0 851 4 0 4 4 0 8 0 procpl 632 2357 0 2315 7 2 5 5 0 8 1 sosppl 128 7 0 7 3 3 0 1 0 8 0 sockpl 384 4625 0 4597 18 11 7 8 0 8 3 mcl64k 65536 67 0 67 4 3 1 1 0 8 1 mcl16k 16384 17 0 17 8 7 1 1 0 8 1 mcl12k 12288 32 0 32 5 4 1 1 0 8 1 mcl9k 9216 12 0 12 7 7 0 1 0 8 0 mcl8k 8192 98 0 98 1 0 1 1 0 8 1 mcl4k 4096 180 0 180 2 1 1 1 0 8 1 mcl2k2 2112 7 0 7 6 6 0 1 0 8 0 mcl2k 2048 70840 0 70794 21 14 7 18 0 8 0 mtagpl 80 46 0 32 2 1 1 1 0 8 0 mbufpl 256 125163 0 125049 73 54 19 24 0 8 2 bufpl 256 9698 0 3623 382 2 380 380 0 8 0 anonpl 16 116444 0 96648 131 40 91 99 0 62 9 amapchunkpl 152 5250 0 5094 21 14 7 16 0 158 0 amappl16 192 5317 0 4206 93 35 58 70 0 8 1 amappl14 176 53 0 48 1 0 1 1 0 8 0 amappl13 168 109 0 109 1 1 0 1 0 8 0 amappl12 160 240 0 236 2 1 1 1 0 8 0 amappl11 152 48 0 36 1 0 1 1 0 8 0 amappl10 144 344 0 340 1 0 1 1 0 8 0 amappl9 136 575 0 572 1 0 1 1 0 8 0 amappl8 128 176 0 140 2 0 2 2 0 8 0 amappl7 120 365 0 361 1 0 1 1 0 8 0 amappl6 112 59 0 50 1 0 1 1 0 8 0 amappl5 104 374 0 363 1 0 1 1 0 8 0 amappl4 96 1204 0 1177 1 0 1 1 0 8 0 amappl3 88 158 0 151 1 0 1 1 0 8 0 amappl2 80 6165 0 6098 3 1 2 3 0 8 0 amappl1 72 26421 0 26004 24 14 10 20 0 8 0 amappl 80 2609 0 2559 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 74 0 2 2 0 2 2 0 8 0 uaddrrnd 24 874 0 852 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 874 0 852 1 0 1 1 0 8 0 vmmpekpl 168 10571 0 10541 2 0 2 2 0 8 0 vmmpepl 168 113719 0 111517 185 81 104 144 0 357 3 vmsppl 272 865 0 852 3 2 1 2 0 8 0 pdppl 4096 1754 0 1716 7 1 6 6 0 8 0 pvpl 32 347909 0 325017 351 70 281 312 0 265 93 pmappl 200 873 0 856 2 1 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 611 0 90 16 1 15 16 0 8 0