panic: receive 1a: so 0xfffffd805e54f320, so_type 3, m 0xfffffd805a37b300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 20696 64430 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219c38e) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e54f320,0,ffff80001d382d18,0,0,ffff80001d382c24) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80665fc3c0,ffff80001d382d18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3499c8,6,ffff80001d382d18,0,ffff80001d382e00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3499c8,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: 0x7f7fffff1a50, 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 0xfffffd805e54f320, so_type 3, m 0xfffffd805a37b300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219c38e) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e54f320,0,ffff80001d382d18,0,0,ffff80001d382c24) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80665fc3c0,ffff80001d382d18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3499c8,6,ffff80001d382d18,0,ffff80001d382e00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3499c8,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: 0x7f7fffff1a50, 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 0x37c316bd016670f9 r12 0x3000000008 r13 0xffff80001d382a70 r14 0x100 r15 0x1 rip 0xffffffff819f5c08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382a50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=20696 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d349c38,0xffff80001d349eb8 process=0xffff8000ffffa710 user=0xffff80001d37d000, vmspace=0xfffffd806bc0a660 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 61842 415416 55209 0 2 0 syz-executor.0 61842 89936 55209 0 2 0x4000000 syz-executor.0 68908 75343 48466 0 3 0x80 nanosleep syz-executor.1 68908 403185 48466 0 3 0x4000080 ttyout syz-executor.1 68908 370517 48466 0 3 0x4000080 fsleep syz-executor.1 48466 504411 72893 0 3 0x82 nanosleep syz-executor.1 55209 456226 72893 0 2 0x482 syz-executor.0 72893 257174 32072 0 3 0x82 thrsleep syz-fuzzer 72893 108537 32072 0 3 0x4000082 thrsleep syz-fuzzer 72893 103342 32072 0 3 0x4000082 thrsleep syz-fuzzer 72893 438102 32072 0 3 0x4000082 thrsleep syz-fuzzer 72893 107747 32072 0 3 0x4000082 thrsleep syz-fuzzer 72893 309767 32072 0 3 0x4000082 thrsleep syz-fuzzer 72893 88599 32072 0 3 0x4000082 thrsleep syz-fuzzer 72893 2091 32072 0 3 0x4000082 kqread syz-fuzzer 32072 224956 16468 0 3 0x10008a pause ksh 16468 330230 36250 0 3 0x92 select sshd 42590 74830 1 0 3 0x100083 ttyin getty 36250 120013 1 0 3 0x80 select sshd 54193 398169 58796 73 3 0x100090 kqread syslogd 58796 455220 1 0 3 0x100082 netio syslogd 95204 346449 1 77 2 0x100010 dhclient *64430 20696 1 0 7 0 dhclient 90786 475691 0 0 2 0x14200 zerothread 9217 228653 0 0 3 0x14200 aiodoned aiodoned 67470 414761 0 0 3 0x14200 syncer update 78914 450192 0 0 3 0x14200 cleaner cleaner 60755 520413 0 0 3 0x14200 reaper reaper 7383 472987 0 0 3 0x14200 pgdaemon pagedaemon 40530 38024 0 0 3 0x14200 bored crynlk 4772 159670 0 0 3 0x14200 bored crypto 28200 236260 0 0 3 0x40014200 acpi0 acpi0 60405 448847 0 0 3 0x14200 bored softnet 24072 329071 0 0 3 0x14200 bored systqmp 43987 506967 0 0 3 0x14200 bored systq 16754 280677 0 0 3 0x40014200 bored softclock 32982 164973 0 0 3 0x40014200 idle0 85905 374588 0 0 3 0x14200 bored smr 1 507195 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 6913K 78643K 10737 0 pcb 13 8K 8K 78643K 29 0 rtable 105 3K 3K 78643K 200 0 ifaddr 46 11K 11K 78643K 48 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 17 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1265 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 4 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 67 0 proc 49 38K 63K 78643K 365 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 16 0 in_multi 40 2K 2K 78643K 51 0 ether_multi 1 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 183 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 100 21K 21K 78643K 984 0 UVM aobj 11 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 6 0K 0K 78643K 10 0 temp 69 3004K 3076K 78643K 5652 0 kqueue 4 6K 6K 78643K 4 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 27 0 25 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 41 0 33 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 217 0 217 1 0 1 1 0 8 1 tcpcb 544 56 0 52 1 0 1 1 0 8 0 inpcb 280 120 0 113 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1471 0 70 46 0 46 46 0 8 0 ffsino 240 1471 0 70 83 0 83 83 0 8 0 nchpl 144 1744 0 132 60 0 60 60 0 8 0 uvmvnodes 72 1553 0 0 29 0 29 29 0 8 0 vnodes 208 1553 0 0 82 0 82 82 0 8 0 namei 1024 4295 0 4295 1 0 1 1 0 8 1 scxspl 192 5041 0 5041 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 238 0 224 2 0 2 2 0 8 0 futexpl 56 1159 0 1158 1 0 1 1 0 8 0 knotepl 112 54 0 34 1 0 1 1 0 8 0 kqueuepl 104 10 0 7 1 0 1 1 0 8 0 pipelkpl 16 70 0 59 1 0 1 1 0 8 0 pipepl 120 140 0 119 1 0 1 1 0 8 0 fdescpl 432 239 0 224 2 0 2 2 0 8 0 filepl 120 1333 0 1223 4 0 4 4 0 8 0 lockfpl 104 19 0 18 1 0 1 1 0 8 0 lockfspl 48 8 0 7 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 86 0 79 1 0 1 1 0 8 0 zombiepl 144 224 0 224 1 0 1 1 0 8 1 processpl 896 253 0 224 4 0 4 4 0 8 0 procpl 624 308 0 269 4 0 4 4 0 8 0 sockpl 400 188 0 171 3 0 3 3 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 4 0 3 1 0 1 1 0 8 0 mcl4k 4096 13 0 13 2 1 1 1 0 8 1 mcl2k 2048 62974 0 62923 16 1 15 15 0 8 8 mtagpl 80 8 0 2 2 1 1 1 0 8 0 mbufpl 256 100021 0 99917 13 2 11 11 0 8 0 bufpl 280 4178 0 178 286 0 286 286 0 8 0 anonpl 16 42539 0 26807 79 1 78 78 0 107 14 amapchunkpl 152 1092 0 957 8 0 8 8 0 158 2 amappl16 192 1312 0 448 54 3 51 54 0 8 7 amappl15 184 51 0 47 1 0 1 1 0 8 0 amappl14 176 42 0 38 1 0 1 1 0 8 0 amappl12 160 25 0 22 1 0 1 1 0 8 0 amappl11 152 48 0 36 1 0 1 1 0 8 0 amappl10 144 22 0 20 1 0 1 1 0 8 0 amappl9 136 559 0 556 1 0 1 1 0 8 0 amappl8 128 110 0 92 1 0 1 1 0 8 0 amappl7 120 90 0 80 1 0 1 1 0 8 0 amappl6 112 60 0 50 1 0 1 1 0 8 0 amappl5 104 151 0 141 1 0 1 1 0 8 0 amappl4 96 449 0 420 1 0 1 1 0 8 0 amappl3 88 133 0 125 1 0 1 1 0 8 0 amappl2 80 1126 0 1047 3 1 2 3 0 8 0 amappl1 72 14092 0 13661 25 12 13 20 0 8 3 amappl 80 527 0 484 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 239 0 224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 239 0 224 1 0 1 1 0 8 0 vmmpekpl 168 5756 0 5730 2 0 2 2 0 8 0 vmmpepl 168 36766 0 34720 120 5 115 115 0 357 26 vmsppl 272 238 0 224 2 0 2 2 0 8 1 pdppl 4096 484 0 448 6 0 6 6 0 8 1 pvpl 32 136505 0 117718 184 0 184 184 0 265 32 pmappl 200 238 0 224 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 153 0 6 5 0 5 5 0 8 0