panic: receive 1a: so 0xfffffd805e552320, so_type 3, m 0xfffffd80573e2100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *461886 36551 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219eda4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e552320,0,ffff80001d382d18,0,0,ffff80001d382c24) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80611fc7f8,ffff80001d382d18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349278,6,ffff80001d382d18,0,ffff80001d382e00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349278,ffff80001d382db0,ffff80001d382e00) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382e80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd1d0, 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 0xfffffd805e552320, so_type 3, m 0xfffffd80573e2100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219eda4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e552320,0,ffff80001d382d18,0,0,ffff80001d382c24) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80611fc7f8,ffff80001d382d18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349278,6,ffff80001d382d18,0,ffff80001d382e00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349278,ffff80001d382db0,ffff80001d382e00) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382e80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd1d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d382a60 rbx 0xffff80001d382b10 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382a20 r9 0x1 r10 0 r11 0x5735522c77acd504 r12 0x3000000008 r13 0xffff80001d382a70 r14 0x100 r15 0x1 rip 0xffffffff81a5d788 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382a50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=461886 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a388,0xffff80001d349768 process=0xffff8000ffffa010 user=0xffff80001d37d000, vmspace=0xfffffd806bc0a440 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 94360 414654 18186 0 2 0 syz-executor.1 94360 409066 18186 0 2 0x4000000 syz-executor.1 51769 141136 0 0 3 0x14200 bored sosplice 77836 237129 20001 0 2 0x2 syz-executor.0 18186 99994 20001 0 3 0x82 nanosleep syz-executor.1 20001 467996 236 0 3 0x82 thrsleep syz-fuzzer 20001 463824 236 0 3 0x4000082 nanosleep syz-fuzzer 20001 174325 236 0 3 0x4000082 thrsleep syz-fuzzer 20001 126266 236 0 3 0x4000082 thrsleep syz-fuzzer 20001 504031 236 0 3 0x4000082 kqread syz-fuzzer 20001 207173 236 0 3 0x4000082 thrsleep syz-fuzzer 20001 251776 236 0 3 0x4000082 thrsleep syz-fuzzer 236 4306 78266 0 3 0x10008a pause ksh 78266 297213 45955 0 3 0x92 select sshd 32911 341496 1 0 3 0x100083 ttyin getty 45955 210624 1 0 3 0x80 select sshd 48128 416829 67826 73 3 0x100090 kqread syslogd 67826 121487 1 0 3 0x100082 netio syslogd 48363 425250 1 77 3 0x100090 poll dhclient *36551 461886 1 0 7 0 dhclient 8620 438490 0 0 2 0x14200 zerothread 70807 151293 0 0 3 0x14200 aiodoned aiodoned 92080 127859 0 0 3 0x14200 syncer update 82201 149820 0 0 3 0x14200 cleaner cleaner 41678 438072 0 0 3 0x14200 reaper reaper 95260 251961 0 0 3 0x14200 pgdaemon pagedaemon 55265 85828 0 0 3 0x14200 bored crynlk 26288 86031 0 0 3 0x14200 bored crypto 77726 280139 0 0 3 0x40014200 acpi0 acpi0 42672 318031 0 0 3 0x14200 bored softnet 85346 308103 0 0 3 0x14200 bored systqmp 90830 511287 0 0 3 0x14200 bored systq 92465 19939 0 0 3 0x40014200 bored softclock 42707 41103 0 0 3 0x40014200 idle0 17505 429613 0 0 3 0x14200 bored smr 1 126465 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 9460 6335K 6722K 78643K 10665 0 pcb 13 8K 8K 78643K 45 0 rtable 99 2K 3K 78643K 212 0 ifaddr 45 10K 11K 78643K 50 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 19 0 iov 0 0K 16K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1259 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 92 0 proc 50 38K 63K 78643K 366 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 5 0 in_multi 36 2K 2K 78643K 49 0 ether_multi 1 0K 0K 78643K 3 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 185 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 106 21K 25K 78643K 1073 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 7 0K 0K 78643K 11 0 temp 75 3006K 3070K 78643K 2002 0 kqueue 3 4K 8K 78643K 5 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 7 0 2 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 52 0 11 2 0 2 2 0 8 0 unpcb 120 207 0 199 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 60 0 60 1 0 1 1 0 8 1 tcpcb 544 49 0 44 2 0 2 2 0 8 1 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 280 141 0 133 2 0 2 2 0 8 1 nd6 48 5 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 245 0 43 14 0 14 14 0 8 1 art_table 32 246 0 43 2 0 2 2 0 8 0 art_node 16 51 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1499 0 100 46 0 46 46 0 8 0 ffsino 240 1499 0 100 83 0 83 83 0 8 0 nchpl 144 1809 0 201 60 0 60 60 0 8 0 uvmvnodes 72 1572 0 0 29 0 29 29 0 8 0 vnodes 208 1572 0 0 83 0 83 83 0 8 0 namei 1024 4493 0 4493 1 0 1 1 0 8 1 scxspl 192 5087 0 5087 1 0 1 1 0 8 1 plimitpl 152 21 0 14 1 0 1 1 0 8 0 sigapl 432 263 0 250 2 0 2 2 0 8 0 futexpl 56 1611 0 1611 1 0 1 1 0 8 1 knotepl 112 57 0 38 1 0 1 1 0 8 0 kqueuepl 104 14 0 8 1 0 1 1 0 8 0 pipelkpl 16 91 0 81 1 0 1 1 0 8 0 pipepl 120 182 0 163 1 0 1 1 0 8 0 fdescpl 432 264 0 250 2 0 2 2 0 8 0 filepl 120 1651 0 1551 4 0 4 4 0 8 0 lockfpl 104 26 0 25 1 0 1 1 0 8 0 lockfspl 48 12 0 11 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 134 0 127 1 0 1 1 0 8 0 zombiepl 144 250 0 250 1 0 1 1 0 8 1 processpl 896 279 0 250 4 0 4 4 0 8 0 procpl 624 362 0 326 4 0 4 4 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 375 0 357 5 0 5 5 0 8 3 mcl64k 65536 11 0 11 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 17 0 17 2 1 1 1 0 8 1 mcl2k 2048 63936 0 63891 14 1 13 13 0 8 7 mtagpl 80 9 0 2 2 1 1 1 0 8 0 mbufpl 256 101757 0 101616 21 4 17 20 0 8 8 bufpl 280 4098 0 179 280 0 280 280 0 8 0 anonpl 16 45811 0 29943 79 1 78 78 0 107 14 amapchunkpl 152 1494 0 1354 16 0 16 16 0 158 9 amappl16 192 1376 0 514 54 4 50 54 0 8 6 amappl15 184 113 0 106 1 0 1 1 0 8 0 amappl14 176 33 0 31 1 0 1 1 0 8 0 amappl12 160 10 0 9 1 0 1 1 0 8 0 amappl11 152 50 0 39 1 0 1 1 0 8 0 amappl10 144 11 0 8 1 0 1 1 0 8 0 amappl9 136 591 0 586 1 0 1 1 0 8 0 amappl8 128 140 0 118 1 0 1 1 0 8 0 amappl7 120 91 0 80 1 0 1 1 0 8 0 amappl6 112 54 0 48 1 0 1 1 0 8 0 amappl5 104 131 0 122 1 0 1 1 0 8 0 amappl4 96 475 0 446 1 0 1 1 0 8 0 amappl3 88 119 0 111 1 0 1 1 0 8 0 amappl2 80 1358 0 1288 3 1 2 3 0 8 0 amappl1 72 14487 0 14066 25 10 15 20 0 8 5 amappl 80 600 0 557 1 0 1 1 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 264 0 250 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 264 0 250 1 0 1 1 0 8 0 vmmpekpl 168 5959 0 5934 2 0 2 2 0 8 0 vmmpepl 168 39604 0 37654 120 3 117 117 0 357 32 vmsppl 272 263 0 250 2 0 2 2 0 8 1 pdppl 4096 534 0 500 6 0 6 6 0 8 1 pvpl 32 143468 0 124630 189 0 189 189 0 265 36 pmappl 200 263 0 250 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 163 0 8 5 0 5 5 0 8 0