panic: receive 1a: so 0xfffffd805e5707d0, so_type 3, m 0xfffffd8066577300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *509106 18476 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(fffffd805e5707d0,0,ffff80001d372c38,0,0,ffff80001d372b44) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12168,ffff80001d372c38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372c38,0,ffff80001d372d20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372cd0,ffff80001d372d20) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372da0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdcc70, 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 0xfffffd805e5707d0, so_type 3, m 0xfffffd8066577300, 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(fffffd805e5707d0,0,ffff80001d372c38,0,0,ffff80001d372b44) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12168,ffff80001d372c38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372c38,0,ffff80001d372d20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372cd0,ffff80001d372d20) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372da0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdcc70, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372980 rbx 0xffff80001d372a30 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372940 r9 0x1 r10 0 r11 0xd92e14723bbf3a94 r12 0x3000000008 r13 0xffff80001d372990 r14 0x100 r15 0x1 rip 0xffffffff82195b58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372970 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=509106 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d3394f8 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27969 57190 24660 0 2 0 syz-executor.1 27969 234920 24660 0 2 0x4000000 syz-executor.1 24660 321640 73239 0 2 0x482 syz-executor.1 23708 453098 0 0 3 0x14200 bored sosplice 79186 294974 73239 0 2 0x2 syz-executor.0 73239 318249 78786 0 3 0x82 thrsleep syz-fuzzer 73239 450138 78786 0 3 0x4000082 nanosleep syz-fuzzer 73239 459750 78786 0 3 0x4000082 thrsleep syz-fuzzer 73239 187832 78786 0 3 0x4000082 thrsleep syz-fuzzer 73239 201253 78786 0 3 0x4000082 thrsleep syz-fuzzer 73239 218756 78786 0 3 0x4000082 kqread syz-fuzzer 73239 53370 78786 0 3 0x4000082 thrsleep syz-fuzzer 73239 518476 78786 0 3 0x4000082 thrsleep syz-fuzzer 78786 472942 16294 0 3 0x10008a pause ksh 16294 234154 51375 0 3 0x92 select sshd 30651 128472 1 0 3 0x100083 ttyin getty 51375 63538 1 0 3 0x80 select sshd 9140 173876 93450 73 3 0x100090 kqread syslogd 93450 158666 1 0 3 0x100082 netio syslogd 33134 317756 1 77 3 0x100090 poll dhclient *18476 509106 1 0 7 0 dhclient 68816 448791 0 0 3 0x14200 bored smr 82034 309619 0 0 2 0x14200 zerothread 96174 443102 0 0 3 0x14200 aiodoned aiodoned 30110 464027 0 0 3 0x14200 syncer update 66198 224580 0 0 3 0x14200 cleaner cleaner 80371 411152 0 0 3 0x14200 reaper reaper 25279 353350 0 0 3 0x14200 pgdaemon pagedaemon 43370 390829 0 0 3 0x14200 bored crynlk 37886 94555 0 0 3 0x14200 bored crypto 52191 361315 0 0 3 0x40014200 acpi0 acpi0 38502 464076 0 0 3 0x14200 bored softnet 18170 478084 0 0 3 0x14200 bored systqmp 43832 340617 0 0 3 0x14200 bored systq 35538 339333 0 0 2 0x40014200 softclock 72082 162776 0 0 3 0x40014200 idle0 1 117469 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 9520 6603K 7373K 78643K 11671 0 pcb 13 8K 8K 78643K 51 0 rtable 106 3K 4K 78643K 532 0 ifaddr 77 15K 15K 78643K 110 0 counters 22 16K 16K 78643K 25 0 ioctlops 0 0K 2K 78643K 44 0 iov 0 0K 16K 78643K 67 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1540 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 80 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 366 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 63K 78643K 445 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 23 0 in_multi 69 3K 3K 78643K 107 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 240 0 pfkey data 0 0K 0K 78643K 2 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 54K 54K 78643K 1723 0 UVM aobj 54 4K 4K 78643K 56 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 43 0 NDP 12 0K 0K 78643K 22 0 temp 128 3018K 3082K 78643K 10126 0 kqueue 3 4K 12K 78643K 32 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 9 0 2 1 0 1 1 0 8 0 rtpcb 80 353 0 351 1 0 1 1 0 8 0 rtentry 112 63 0 20 2 0 2 2 0 8 0 unpcb 120 435 0 427 1 0 1 1 0 8 0 syncache 264 11 0 11 2 2 0 1 0 8 0 tcpqe 32 232 0 232 1 1 0 1 0 8 0 tcpcb 544 161 0 156 1 0 1 1 0 8 0 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 318 0 318 2 2 0 1 0 8 0 inpcb 280 510 0 500 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 48 11 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 1 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 272 0 84 13 1 12 12 0 8 0 art_table 32 273 0 84 2 0 2 2 0 8 0 art_node 16 62 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 22 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 54 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1912 0 514 46 0 46 46 0 8 0 ffsino 240 1912 0 514 83 0 83 83 0 8 0 nchpl 144 2663 0 1065 60 0 60 60 0 8 0 uvmvnodes 72 2205 0 0 41 0 41 41 0 8 0 vnodes 208 2205 0 0 117 0 117 117 0 8 0 namei 1024 7400 0 7399 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 0 1 0 1 1 0 8 0 scxspl 192 7966 0 7966 1 0 1 1 0 8 1 plimitpl 152 38 0 31 1 0 1 1 0 8 0 sigapl 424 550 0 521 4 0 4 4 0 8 0 futexpl 56 9608 0 9608 1 0 1 1 0 8 1 knotepl 112 112 0 93 1 0 1 1 0 8 0 kqueuepl 144 91 0 89 1 0 1 1 0 8 0 pipelkpl 16 127 0 117 1 0 1 1 0 8 0 pipepl 120 254 0 235 1 0 1 1 0 8 0 fdescpl 432 535 0 521 2 0 2 2 0 8 0 filepl 120 4038 0 3942 5 1 4 5 0 8 1 lockfpl 104 131 0 130 1 0 1 1 0 8 0 lockfspl 48 45 0 44 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 481 0 474 1 0 1 1 0 8 0 zombiepl 144 521 0 521 1 0 1 1 0 8 1 processpl 896 550 0 521 4 0 4 4 0 8 0 procpl 624 994 0 957 4 0 4 4 0 8 0 sosppl 128 11 0 11 2 1 1 1 0 8 1 sockpl 400 1304 0 1286 5 1 4 5 0 8 2 mcl64k 65536 47 0 47 2 1 1 1 0 8 1 mcl16k 16384 10 0 10 1 0 1 1 0 8 1 mcl12k 12288 22 0 22 1 0 1 1 0 8 1 mcl9k 9216 8 0 8 3 2 1 1 0 8 1 mcl8k 8192 30 0 30 1 0 1 1 0 8 1 mcl4k 4096 57 0 57 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 63898 0 63855 14 8 6 13 0 8 0 mtagpl 80 33 0 13 2 1 1 1 0 8 0 mbufpl 256 108236 0 108109 53 29 24 32 0 8 8 bufpl 280 4790 0 169 331 0 331 331 0 8 0 anonpl 16 62322 0 46208 71 3 68 69 0 107 2 amapchunkpl 152 2445 0 2298 12 5 7 11 0 158 0 amappl16 192 2488 0 1599 48 1 47 48 0 8 2 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 1 0 1 1 1 0 1 0 8 0 amappl13 168 30 0 29 1 0 1 1 0 8 0 amappl12 160 156 0 153 1 0 1 1 0 8 0 amappl11 152 240 0 225 1 0 1 1 0 8 0 amappl10 144 14 0 11 1 0 1 1 0 8 0 amappl9 136 378 0 374 1 0 1 1 0 8 0 amappl8 128 292 0 271 1 0 1 1 0 8 0 amappl7 120 111 0 100 1 0 1 1 0 8 0 amappl6 112 193 0 188 1 0 1 1 0 8 0 amappl5 104 449 0 438 1 0 1 1 0 8 0 amappl4 96 626 0 597 1 0 1 1 0 8 0 amappl3 88 139 0 134 1 0 1 1 0 8 0 amappl2 80 3396 0 3328 3 1 2 3 0 8 0 amappl1 72 19466 0 19056 25 16 9 20 0 8 0 amappl 80 1233 0 1187 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 55 0 2 1 0 1 1 0 8 0 uaddrrnd 24 538 0 521 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 538 0 521 1 0 1 1 0 8 0 vmmpekpl 168 7258 0 7229 2 0 2 2 0 8 0 vmmpepl 168 70965 0 69012 125 18 107 118 0 357 20 vmsppl 272 537 0 521 3 1 2 2 0 8 0 pdppl 4096 1082 0 1045 6 1 5 6 0 8 0 pvpl 32 199097 0 180011 169 1 168 169 0 265 13 pmappl 200 537 0 521 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 195 0 45 5 0 5 5 0 8 0