panic: receive 1a: so 0xfffffd805e5684b0, so_type 3, m 0xfffffd805be42500, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 75581 24561 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b709f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5684b0,0,ffff80001d372a98,0,0,ffff80001d3729a4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8061ff23c0,ffff80001d372a98,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372a98,0,ffff80001d372b80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372b30,ffff80001d372b80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372c00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3110, 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 0xfffffd805e5684b0, so_type 3, m 0xfffffd805be42500, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b709f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5684b0,0,ffff80001d372a98,0,0,ffff80001d3729a4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8061ff23c0,ffff80001d372a98,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372a98,0,ffff80001d372b80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372b30,ffff80001d372b80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372c00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3110, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3727e0 rbx 0xffff80001d372890 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3727a0 r9 0x1 r10 0 r11 0xdb240dcc49faa550 r12 0x3000000008 r13 0xffff80001d3727f0 r14 0x100 r15 0x1 rip 0xffffffff81d79408 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3727d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=75581 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339768 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 26858 26104 96517 0 2 0 syz-executor.0 26858 427076 96517 0 2 0x4000000 syz-executor.0 28516 148518 50491 0 2 0 syz-executor.1 28516 344395 50491 0 3 0x4000080 fsleep syz-executor.1 3121 188446 0 0 3 0x14200 bored sosplice 50491 492368 18148 0 3 0x82 nanosleep syz-executor.1 96517 390914 18148 0 3 0x82 nanosleep syz-executor.0 18148 67751 59296 0 3 0x82 thrsleep syz-fuzzer 18148 185850 59296 0 3 0x4000082 thrsleep syz-fuzzer 18148 409175 59296 0 3 0x4000082 thrsleep syz-fuzzer 18148 132875 59296 0 3 0x4000082 thrsleep syz-fuzzer 18148 91216 59296 0 3 0x4000082 thrsleep syz-fuzzer 18148 36766 59296 0 3 0x4000082 thrsleep syz-fuzzer 18148 384022 59296 0 3 0x4000082 thrsleep syz-fuzzer 18148 282170 59296 0 3 0x4000082 kqread syz-fuzzer 59296 444634 99232 0 3 0x10008a pause ksh 99232 111092 64134 0 3 0x92 select sshd 78018 14972 1 0 3 0x100083 ttyin getty 64134 40028 1 0 3 0x80 select sshd 15720 377271 33983 73 3 0x100090 kqread syslogd 33983 348525 1 0 3 0x100082 netio syslogd 92054 207284 1 77 2 0x100010 dhclient *24561 75581 1 0 7 0 dhclient 4516 340181 0 0 2 0x14200 zerothread 67199 340208 0 0 3 0x14200 aiodoned aiodoned 71005 29356 0 0 3 0x14200 syncer update 22051 430762 0 0 3 0x14200 cleaner cleaner 65515 122153 0 0 3 0x14200 reaper reaper 37761 52347 0 0 3 0x14200 pgdaemon pagedaemon 53247 52544 0 0 3 0x14200 bored crynlk 32708 430135 0 0 3 0x14200 bored crypto 47876 481188 0 0 3 0x40014200 acpi0 acpi0 93577 228242 0 0 3 0x14200 bored softnet 11457 6826 0 0 3 0x14200 bored systqmp 11889 28853 0 0 3 0x14200 bored systq 240 86884 0 0 3 0x40014200 bored softclock 6462 501481 0 0 3 0x40014200 idle0 93801 224042 0 0 3 0x14200 bored smr 1 206193 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 6327K 7099K 78643K 10675 0 pcb 13 8K 8K 78643K 27 0 rtable 105 3K 3K 78643K 229 0 ifaddr 44 10K 10K 78643K 46 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 19 0 iov 0 0K 2K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 77K 78643K 1251 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 3 0K 0K 78643K 4 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 58 0 sigio 0 0K 0K 78643K 1 0 proc 48 38K 63K 78643K 364 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 4 0 in_multi 33 2K 2K 78643K 36 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 187 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 102 37K 39K 78643K 983 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 6 0K 0K 78643K 10 0 temp 65 3007K 3071K 78643K 1882 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 41 0 39 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 unpcb 120 39 0 31 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 86 0 86 1 1 0 1 0 8 0 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 280 56 0 49 1 0 1 1 0 8 0 nd6 48 7 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 198 0 9 13 0 13 13 0 8 1 art_table 32 199 0 9 2 0 2 2 0 8 0 art_node 16 45 0 5 1 0 1 1 0 8 0 semapl 112 2 0 1 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1449 0 47 46 0 46 46 0 8 0 ffsino 240 1449 0 47 83 0 83 83 0 8 0 nchpl 144 1717 0 105 60 0 60 60 0 8 0 uvmvnodes 72 1520 0 0 28 0 28 28 0 8 0 vnodes 208 1520 0 0 80 0 80 80 0 8 0 namei 1024 4165 0 4165 1 0 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 2 1 0 1 1 0 8 0 scxspl 192 5051 0 5051 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 229 0 215 2 0 2 2 0 8 0 futexpl 56 696 0 695 1 0 1 1 0 8 0 knotepl 112 56 0 37 1 0 1 1 0 8 0 kqueuepl 144 6 0 4 1 0 1 1 0 8 0 pipelkpl 16 72 0 62 1 0 1 1 0 8 0 pipepl 120 144 0 125 1 0 1 1 0 8 0 fdescpl 432 230 0 215 2 0 2 2 0 8 0 filepl 120 1212 0 1115 4 0 4 4 0 8 1 lockfpl 104 27 0 25 1 0 1 1 0 8 0 lockfspl 48 13 0 11 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 59 0 52 1 0 1 1 0 8 0 zombiepl 144 215 0 215 1 0 1 1 0 8 1 processpl 896 245 0 215 4 0 4 4 0 8 0 procpl 624 284 0 245 4 0 4 4 0 8 0 sockpl 400 136 0 119 4 0 4 4 0 8 2 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 11 0 11 1 0 1 1 0 8 1 mcl2k 2048 63648 0 63614 12 2 10 11 0 8 5 mtagpl 80 10 0 2 2 1 1 1 0 8 0 mbufpl 256 100931 0 100787 18 2 16 16 0 8 1 bufpl 280 4006 0 161 275 0 275 275 0 8 0 anonpl 16 38321 0 22961 63 1 62 62 0 107 0 amapchunkpl 152 1189 0 1050 8 0 8 8 0 158 1 amappl16 192 1036 0 200 42 0 42 42 0 8 0 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 13 0 10 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 15 0 13 2 1 1 1 0 8 0 amappl11 152 80 0 66 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 380 0 376 1 0 1 1 0 8 0 amappl8 128 268 0 251 1 0 1 1 0 8 0 amappl7 120 104 0 94 1 0 1 1 0 8 0 amappl6 112 39 0 32 1 0 1 1 0 8 0 amappl5 104 152 0 141 1 0 1 1 0 8 0 amappl4 96 445 0 412 2 1 1 2 0 8 0 amappl3 88 117 0 110 1 0 1 1 0 8 0 amappl2 80 1041 0 965 3 1 2 3 0 8 0 amappl1 72 13780 0 13355 27 15 12 20 0 8 3 amappl 80 533 0 487 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 233 0 217 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 233 0 217 1 0 1 1 0 8 0 vmmpekpl 168 5730 0 5702 2 0 2 2 0 8 0 vmmpepl 168 35046 0 33048 122 8 114 114 0 357 27 vmsppl 272 232 0 217 2 0 2 2 0 8 1 pdppl 4096 472 0 435 6 0 6 6 0 8 1 pvpl 32 129925 0 111544 155 0 155 155 0 265 6 pmappl 200 232 0 217 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 154 0 6 5 0 5 5 0 8 0