panic: receive 1a: so 0xfffffd805e54a320, so_type 3, m 0xfffffd805e0f5200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *418727 16976 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219f22a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e54a320,0,ffff80001d382338,0,0,ffff80001d382244) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb0b438,ffff80001d382338,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3494e8,6,ffff80001d382338,0,ffff80001d382420) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3494e8,ffff80001d3823d0,ffff80001d382420) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d3824a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc13a0, 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 0xfffffd805e54a320, so_type 3, m 0xfffffd805e0f5200, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219f22a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e54a320,0,ffff80001d382338,0,0,ffff80001d382244) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb0b438,ffff80001d382338,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3494e8,6,ffff80001d382338,0,ffff80001d382420) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3494e8,ffff80001d3823d0,ffff80001d382420) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d3824a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc13a0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d382080 rbx 0xffff80001d382130 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382040 r9 0x1 r10 0 r11 0x153454317af086e1 r12 0x3000000008 r13 0xffff80001d382090 r14 0x100 r15 0x1 rip 0xffffffff8103c4d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382070 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=418727 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a5f8,0xffff80001d349768 process=0xffff8000ffffaa90 user=0xffff80001d37d000, vmspace=0xfffffd806bc09330 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89014 258163 68850 0 2 0 syz-executor.0 89014 452938 68850 0 2 0x4000000 syz-executor.0 35772 501019 8100 0 3 0x82 nanosleep syz-executor.1 68850 97494 8100 0 3 0x82 nanosleep syz-executor.0 8100 110699 31753 0 3 0x82 thrsleep syz-fuzzer 8100 230137 31753 0 3 0x4000082 thrsleep syz-fuzzer 8100 264964 31753 0 3 0x4000082 thrsleep syz-fuzzer 8100 291846 31753 0 3 0x4000082 thrsleep syz-fuzzer 8100 234730 31753 0 3 0x4000082 kqread syz-fuzzer 8100 331279 31753 0 3 0x4000082 thrsleep syz-fuzzer 8100 503674 31753 0 3 0x4000082 thrsleep syz-fuzzer 8100 428226 31753 0 3 0x4000082 thrsleep syz-fuzzer 31753 406620 2258 0 3 0x10008a pause ksh 2258 521211 26755 0 3 0x92 select sshd 20252 326422 1 0 3 0x100083 ttyin getty 26755 166638 1 0 3 0x80 select sshd 24508 315012 67020 73 3 0x100090 kqread syslogd 67020 83945 1 0 3 0x100082 netio syslogd 56641 51554 1 77 2 0x100010 dhclient *16976 418727 1 0 7 0 dhclient 84071 174183 0 0 2 0x14200 zerothread 39725 258476 0 0 3 0x14200 aiodoned aiodoned 16438 80510 0 0 3 0x14200 syncer update 47706 30475 0 0 3 0x14200 cleaner cleaner 76457 384141 0 0 3 0x14200 reaper reaper 10342 152162 0 0 3 0x14200 pgdaemon pagedaemon 17196 108617 0 0 3 0x14200 bored crynlk 12971 461893 0 0 3 0x14200 bored crypto 17149 45266 0 0 3 0x40014200 acpi0 acpi0 63581 34332 0 0 3 0x14200 bored softnet 21032 351229 0 0 3 0x14200 bored systqmp 89944 100677 0 0 3 0x14200 bored systq 58887 411811 0 0 3 0x40014200 bored softclock 48572 163334 0 0 3 0x40014200 idle0 4524 508746 0 0 3 0x14200 bored smr 1 261425 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 9458 6327K 6453K 78643K 10566 0 pcb 13 8K 8K 78643K 17 0 rtable 105 3K 3K 78643K 191 0 ifaddr 44 10K 10K 78643K 48 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 76K 76K 78643K 1229 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 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 44 0 proc 47 38K 54K 78643K 358 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 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 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 102 21K 25K 78643K 944 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 66 3003K 3067K 78643K 1855 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 23 0 15 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 102 0 102 1 0 1 1 0 8 1 tcpcb 544 10 0 6 1 0 1 1 0 8 0 inpcb 280 38 0 31 1 0 1 1 0 8 0 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 semapl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1438 0 37 46 0 46 46 0 8 0 ffsino 240 1438 0 37 83 0 83 83 0 8 0 nchpl 144 1683 0 69 60 0 60 60 0 8 0 uvmvnodes 72 1483 0 0 27 0 27 27 0 8 0 vnodes 208 1483 0 0 79 0 79 79 0 8 0 namei 1024 4119 0 4119 1 0 1 1 0 8 1 scxspl 192 4737 0 4737 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 215 0 202 2 0 2 2 0 8 0 futexpl 56 293 0 293 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 104 4 0 2 1 0 1 1 0 8 0 pipelkpl 16 69 0 59 1 0 1 1 0 8 0 pipepl 120 138 0 119 1 0 1 1 0 8 0 fdescpl 432 216 0 202 2 0 2 2 0 8 0 filepl 120 1145 0 1049 4 0 4 4 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 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 112 0 105 1 0 1 1 0 8 0 zombiepl 144 202 0 201 1 0 1 1 0 8 0 processpl 896 230 0 201 4 0 4 4 0 8 0 procpl 624 263 0 226 4 0 4 4 0 8 0 sockpl 400 80 0 63 2 0 2 2 0 8 0 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 2 1 1 1 0 8 1 mcl2k 2048 64073 0 64031 15 1 14 14 0 8 8 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 101470 0 101352 8 0 8 8 0 8 0 bufpl 280 4039 0 180 276 0 276 276 0 8 0 anonpl 16 36126 0 21011 63 2 61 61 0 107 0 amapchunkpl 152 1103 0 970 7 0 7 7 0 158 1 amappl16 192 913 0 91 42 0 42 42 0 8 0 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 31 0 28 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 5 0 4 1 0 1 1 0 8 0 amappl11 152 51 0 38 1 0 1 1 0 8 0 amappl10 144 9 0 8 1 0 1 1 0 8 0 amappl9 136 457 0 454 1 0 1 1 0 8 0 amappl8 128 111 0 90 1 0 1 1 0 8 0 amappl7 120 91 0 80 1 0 1 1 0 8 0 amappl6 112 62 0 53 1 0 1 1 0 8 0 amappl5 104 342 0 333 1 0 1 1 0 8 0 amappl4 96 421 0 396 1 0 1 1 0 8 0 amappl3 88 120 0 111 1 0 1 1 0 8 0 amappl2 80 945 0 875 3 0 3 3 0 8 1 amappl1 72 13829 0 13407 26 9 17 20 0 8 7 amappl 80 482 0 441 2 0 2 2 0 84 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 216 0 202 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 216 0 202 1 0 1 1 0 8 0 vmmpekpl 168 5669 0 5645 2 0 2 2 0 8 0 vmmpepl 168 34056 0 32145 118 6 112 112 0 357 25 vmsppl 272 215 0 202 2 0 2 2 0 8 1 pdppl 4096 438 0 404 6 0 6 6 0 8 1 pvpl 32 124372 0 106286 152 0 152 152 0 265 5 pmappl 200 215 0 202 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 145 0 4 5 0 5 5 0 8 0