panic: receive 1a: so 0xfffffd8060cf5640, so_type 3, m 0xfffffd805aafa800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *203849 33244 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8533) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8060cf5640,0,ffff80001d372898,0,0,ffff80001d3727a4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb123c0,ffff80001d372898,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372898,0,ffff80001d372980) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372930,ffff80001d372980) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca7d0, 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 0xfffffd8060cf5640, so_type 3, m 0xfffffd805aafa800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8533) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8060cf5640,0,ffff80001d372898,0,0,ffff80001d3727a4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb123c0,ffff80001d372898,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372898,0,ffff80001d372980) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372930,ffff80001d372980) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca7d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3725e0 rbx 0xffff80001d372690 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3725a0 r9 0x1 r10 0 r11 0x810acf46fd9e6faf r12 0x3000000008 r13 0xffff80001d3725f0 r14 0x100 r15 0x1 rip 0xffffffff82195b58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3725d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=203849 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d3399d8 process=0xffff8000ffffb190 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 64527 353353 91783 0 2 0 syz-executor.1 64527 98049 91783 0 2 0x4000000 syz-executor.1 90650 515914 56805 0 2 0x482 syz-executor.0 91783 224527 56805 0 2 0x482 syz-executor.1 56805 175202 62494 0 3 0x82 thrsleep syz-fuzzer 56805 463791 62494 0 3 0x4000082 thrsleep syz-fuzzer 56805 360647 62494 0 3 0x4000082 thrsleep syz-fuzzer 56805 29105 62494 0 3 0x4000082 thrsleep syz-fuzzer 56805 205627 62494 0 3 0x4000082 kqread syz-fuzzer 56805 336671 62494 0 3 0x4000082 thrsleep syz-fuzzer 56805 324153 62494 0 3 0x4000082 thrsleep syz-fuzzer 62494 202668 35724 0 3 0x10008a pause ksh 35724 69123 67282 0 3 0x92 select sshd 60307 246754 1 0 3 0x100083 ttyin getty 67282 155034 1 0 3 0x80 select sshd 1140 77767 62288 73 3 0x100090 kqread syslogd 62288 44510 1 0 3 0x100082 netio syslogd 61599 230079 1 77 2 0x100010 dhclient *33244 203849 1 0 7 0 dhclient 88083 404704 0 0 3 0x14200 bored smr 86245 138585 0 0 2 0x14200 zerothread 17107 93598 0 0 3 0x14200 aiodoned aiodoned 37282 325588 0 0 3 0x14200 syncer update 71994 481313 0 0 3 0x14200 cleaner cleaner 42008 170260 0 0 3 0x14200 reaper reaper 48019 375955 0 0 3 0x14200 pgdaemon pagedaemon 65723 88559 0 0 3 0x14200 bored crynlk 64415 349887 0 0 3 0x14200 bored crypto 80653 343886 0 0 3 0x40014200 acpi0 acpi0 13593 381078 0 0 3 0x14200 bored softnet 66839 234333 0 0 3 0x14200 bored systqmp 70772 25182 0 0 3 0x14200 bored systq 28938 352129 0 0 2 0x40014200 softclock 72360 5726 0 0 3 0x40014200 idle0 1 156560 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 9474 6340K 6775K 78643K 10797 0 pcb 13 8K 8K 78643K 33 0 rtable 107 3K 3K 78643K 220 0 ifaddr 54 12K 12K 78643K 63 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 23 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1289 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 26 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 118 0 proc 49 38K 54K 78643K 383 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 18 0 in_multi 40 2K 2K 78643K 43 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 1 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 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 104 21K 22K 78643K 1115 0 UVM aobj 13 2K 2K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 6 0 NDP 8 0K 0K 78643K 13 0 temp 112 3017K 3081K 78643K 25660 0 kqueue 3 4K 10K 78643K 8 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 1 2 0 2 2 0 8 0 unpcb 120 96 0 88 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpqe 32 37 0 37 1 0 1 1 0 8 1 tcpcb 544 110 0 103 1 0 1 1 0 8 0 inpcb 280 257 0 248 3 0 3 3 0 8 2 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 195 0 0 13 0 13 13 0 8 0 art_table 32 197 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 31 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 13 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1552 0 154 46 0 46 46 0 8 0 ffsino 240 1552 0 154 83 0 83 83 0 8 0 nchpl 144 1916 0 304 60 0 60 60 0 8 0 uvmvnodes 72 1647 0 0 30 0 30 30 0 8 0 vnodes 208 1647 0 0 87 0 87 87 0 8 0 namei 1024 4888 0 4888 1 0 1 1 0 8 1 scxspl 192 5772 0 5772 1 0 1 1 0 8 1 plimitpl 152 30 0 23 1 0 1 1 0 8 0 sigapl 424 304 0 276 4 0 4 4 0 8 0 futexpl 56 2843 0 2843 1 0 1 1 0 8 1 knotepl 112 58 0 39 1 0 1 1 0 8 0 kqueuepl 144 28 0 26 1 0 1 1 0 8 0 pipelkpl 16 89 0 79 1 0 1 1 0 8 0 pipepl 120 178 0 159 1 0 1 1 0 8 0 fdescpl 432 290 0 276 2 0 2 2 0 8 0 filepl 120 1847 0 1749 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 17 0 7 1 0 1 1 0 8 0 ucredpl 96 161 0 154 1 0 1 1 0 8 0 zombiepl 144 276 0 275 1 0 1 1 0 8 0 processpl 896 304 0 275 4 0 4 4 0 8 0 procpl 624 427 0 391 4 0 4 4 0 8 1 sockpl 400 403 0 384 5 0 5 5 0 8 2 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 26 0 26 2 1 1 1 0 8 1 mcl2k 2048 64286 0 64249 14 2 12 13 0 8 6 mtagpl 80 14 0 2 2 1 1 1 0 8 0 mbufpl 256 102435 0 102331 9 1 8 9 0 8 1 bufpl 280 4337 0 160 299 0 299 299 0 8 0 anonpl 16 42039 0 26103 67 1 66 66 0 107 0 amapchunkpl 152 1289 0 1145 8 1 7 8 0 158 0 amappl16 192 1355 0 477 45 0 45 45 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 3 0 1 2 1 1 1 0 8 0 amappl13 168 67 0 64 1 0 1 1 0 8 0 amappl12 160 6 0 6 1 1 0 1 0 8 0 amappl11 152 59 0 47 1 0 1 1 0 8 0 amappl10 144 58 0 50 1 0 1 1 0 8 0 amappl9 136 382 0 378 1 0 1 1 0 8 0 amappl8 128 269 0 249 1 0 1 1 0 8 0 amappl7 120 147 0 135 1 0 1 1 0 8 0 amappl6 112 20 0 19 1 0 1 1 0 8 0 amappl5 104 173 0 163 1 0 1 1 0 8 0 amappl4 96 476 0 446 1 0 1 1 0 8 0 amappl3 88 155 0 148 1 0 1 1 0 8 0 amappl2 80 1523 0 1459 3 1 2 3 0 8 0 amappl1 72 14828 0 14413 26 15 11 20 0 8 1 amappl 80 661 0 617 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 14 0 2 1 0 1 1 0 8 0 uaddrrnd 24 290 0 276 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 290 0 276 1 0 1 1 0 8 0 vmmpekpl 168 6011 0 5989 2 0 2 2 0 8 0 vmmpepl 168 41858 0 39924 115 6 109 110 0 357 20 vmsppl 272 289 0 276 2 1 1 2 0 8 0 pdppl 4096 586 0 552 6 1 5 6 0 8 0 pvpl 32 143180 0 124284 159 0 159 159 0 265 5 pmappl 200 289 0 276 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 150 0 8 5 0 5 5 0 8 0