panic: receive 1a: so 0xfffffd805e5064b0, so_type 3, m 0xfffffd805e0b0400, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *109034 93409 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce4a4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4fa8,0,0,ffff80001d6e4eb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff67f8,ffff80001d6e4fa8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4fa8,0,ffff80001d6e5090) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5040,ffff80001d6e5090) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5110) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, 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 0xfffffd805e5064b0, so_type 3, m 0xfffffd805e0b0400, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce4a4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4fa8,0,0,ffff80001d6e4eb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff67f8,ffff80001d6e4fa8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4fa8,0,ffff80001d6e5090) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5040,ffff80001d6e5090) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5110) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4cf0 rbx 0xffff80001d6e4da0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81b93a3f kprintf+0x15f r9 0x1 r10 0x2 r11 0x444530c8079c1fbd r12 0x3000000008 r13 0xffff80001d6e4d00 r14 0x100 r15 0x1 rip 0xffffffff818463e8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4ce0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=109034 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a9c48 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09330 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 59747 321230 79948 0 2 0 syz-executor.0 59747 506776 79948 0 2 0x4000000 syz-executor.0 46490 141066 0 0 3 0x14200 bored sosplice 66915 68667 0 0 3 0x14280 nfsidl nfsio 40748 113093 0 0 3 0x14280 nfsidl nfsio 67597 258933 0 0 3 0x14280 nfsidl nfsio 66930 13800 0 0 3 0x14280 nfsidl nfsio 7029 519925 0 0 3 0x14280 nfsidl nfsio 68335 479830 0 0 3 0x14280 nfsidl nfsio 85366 6274 0 0 3 0x14280 nfsidl nfsio 17325 298384 0 0 3 0x14280 nfsidl nfsio 39176 74035 0 0 3 0x14280 nfsidl nfsio 24534 307523 0 0 3 0x14280 nfsidl nfsio 70533 14554 0 0 3 0x14280 nfsidl nfsio 54460 225066 0 0 3 0x14280 nfsidl nfsio 55386 497271 0 0 3 0x14280 nfsidl nfsio 60943 163182 0 0 3 0x14280 nfsidl nfsio 77370 13987 0 0 3 0x14280 nfsidl nfsio 94007 328898 0 0 3 0x14280 nfsidl nfsio 25054 119569 0 0 3 0x14280 nfsidl nfsio 4717 428145 0 0 3 0x14280 nfsidl nfsio 47293 4062 0 0 3 0x14280 nfsidl nfsio 88577 163198 0 0 3 0x14280 nfsidl nfsio 21653 67382 5604 0 2 0x482 syz-executor.1 79948 18217 5604 0 2 0x482 syz-executor.0 5604 387365 49260 0 3 0x82 kqread syz-fuzzer 5604 179589 49260 0 2 0x4000482 syz-fuzzer 5604 181203 49260 0 3 0x4000082 thrsleep syz-fuzzer 5604 455107 49260 0 3 0x4000082 thrsleep syz-fuzzer 5604 499899 49260 0 3 0x4000082 thrsleep syz-fuzzer 5604 426376 49260 0 2 0x4000482 syz-fuzzer 5604 278602 49260 0 3 0x4000082 thrsleep syz-fuzzer 49260 203679 11264 0 3 0x10008a pause ksh 11264 206364 17995 0 3 0x92 select sshd 61437 290644 1 0 3 0x100083 ttyin getty 17995 438139 1 0 3 0x80 select sshd 18331 316023 73125 73 3 0x100090 kqread syslogd 73125 458800 1 0 3 0x100082 netio syslogd 31097 203414 1 77 2 0x100010 dhclient *93409 109034 1 0 7 0 dhclient 28659 323513 0 0 3 0x14200 bored smr 56386 343846 0 0 2 0x14200 zerothread 27767 481714 0 0 3 0x14200 aiodoned aiodoned 99955 419681 0 0 3 0x14200 syncer update 19612 240474 0 0 3 0x14200 cleaner cleaner 77673 498620 0 0 3 0x14200 reaper reaper 23519 228306 0 0 3 0x14200 pgdaemon pagedaemon 7976 137742 0 0 3 0x14200 bored crynlk 1567 184081 0 0 3 0x14200 bored crypto 81271 109163 0 0 3 0x40014200 acpi0 acpi0 34522 477512 0 0 3 0x14200 bored softnet 89453 125073 0 0 2 0x14200 systqmp 63707 441707 0 0 3 0x14200 bored systq 20943 186657 0 0 2 0x40014200 softclock 85377 190068 0 0 3 0x40014200 idle0 1 134486 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 9489 6339K 6786K 78643K 10915 0 pcb 13 8K 8K 78643K 51 0 rtable 136 9K 13K 78643K 478 0 ifaddr 78 17K 17K 78643K 171 0 counters 21 16K 17K 78643K 27 0 ioctlops 0 0K 4K 78643K 63 0 iov 0 0K 16K 78643K 28 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1334 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 12 0K 1K 78643K 23 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 243 0 proc 48 38K 63K 78643K 376 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 26 0 in_multi 59 3K 3K 78643K 111 0 ether_multi 1 0K 0K 78643K 12 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 206 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 126 23K 24K 78643K 1442 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 30 0 NDP 10 0K 0K 78643K 24 0 temp 95 3862K 3926K 78643K 3677 0 kqueue 3 4K 8K 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 7 0 0 1 0 1 1 0 8 0 rtpcb 80 41 0 39 1 0 1 1 0 8 0 rtentry 112 58 0 13 2 0 2 2 0 8 0 unpcb 120 139 0 131 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 131 0 131 2 1 1 1 0 8 1 tcpcb 544 304 0 299 1 0 1 1 0 8 0 ipq 40 4 0 4 2 1 1 1 0 8 1 ipqe 40 8 0 8 2 1 1 1 0 8 1 inpcb 296 748 0 739 3 1 2 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 12 0 7 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 98 0 86 2 0 2 2 0 8 1 pftag 88 13 0 12 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 12 0 10 1 0 1 1 0 8 0 pfstate 328 6 0 5 1 0 1 1 0 8 0 pfrule 1360 26 0 12 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 218 0 40 13 0 13 13 0 8 1 art_table 32 220 0 40 2 0 2 2 0 8 0 art_node 16 57 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 17 0 7 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1716 0 318 88 0 88 88 0 8 0 ffsino 240 1716 0 318 83 0 83 83 0 8 0 nchpl 144 2227 0 622 60 0 60 60 0 8 0 uvmvnodes 72 1840 0 0 34 0 34 34 0 8 0 vnodes 208 1840 0 0 97 0 97 97 0 8 0 namei 1024 5701 0 5701 1 0 1 1 0 8 1 pfiaddrpl 120 34 0 26 1 0 1 1 0 8 0 scxspl 192 6526 0 6526 1 0 1 1 0 8 1 plimitpl 152 35 0 28 1 0 1 1 0 8 0 sigapl 424 450 0 401 6 0 6 6 0 8 0 futexpl 56 5307 0 5307 2 1 1 1 0 8 1 knotepl 112 68 0 49 1 0 1 1 0 8 0 kqueuepl 144 20 0 18 1 0 1 1 0 8 0 pipepl 272 82 0 72 1 0 1 1 0 8 0 fdescpl 432 415 0 401 2 0 2 2 0 8 0 filepl 120 2598 0 2501 5 1 4 4 0 8 1 lockfpl 104 42 0 41 1 0 1 1 0 8 0 lockfspl 48 18 0 17 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 149 0 142 1 0 1 1 0 8 0 zombiepl 144 401 0 400 2 1 1 1 0 8 0 processpl 928 450 0 400 8 1 7 7 0 8 0 procpl 624 746 0 689 5 0 5 5 0 8 0 sosppl 128 1 0 1 1 0 1 1 0 8 1 sockpl 400 928 0 910 6 2 4 4 0 8 2 mcl64k 65536 15 0 15 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 5 0 5 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 30 0 30 3 2 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 77337 0 77287 17 10 7 14 0 8 0 mtagpl 96 24 0 2 2 1 1 1 0 8 0 mbufpl 256 124371 0 124133 20 3 17 17 0 8 0 bufpl 280 3720 0 127 257 0 257 257 0 8 0 anonpl 16 51137 0 35036 68 1 67 67 0 107 1 amapchunkpl 152 1944 0 1817 11 2 9 9 0 158 3 amappl16 192 1716 0 830 46 0 46 46 0 8 1 amappl15 184 104 0 101 1 0 1 1 0 8 0 amappl14 176 131 0 127 1 0 1 1 0 8 0 amappl13 168 28 0 24 1 0 1 1 0 8 0 amappl12 160 9 0 5 1 0 1 1 0 8 0 amappl11 152 154 0 144 1 0 1 1 0 8 0 amappl10 144 116 0 110 1 0 1 1 0 8 0 amappl9 136 370 0 369 1 0 1 1 0 8 0 amappl8 128 324 0 285 2 0 2 2 0 8 0 amappl7 120 210 0 195 1 0 1 1 0 8 0 amappl6 112 25 0 19 1 0 1 1 0 8 0 amappl5 104 255 0 244 1 0 1 1 0 8 0 amappl4 96 527 0 500 1 0 1 1 0 8 0 amappl3 88 219 0 212 1 0 1 1 0 8 0 amappl2 80 2469 0 2403 2 0 2 2 0 8 0 amappl1 72 17091 0 16674 23 14 9 17 0 8 0 amappl 80 960 0 921 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 415 0 401 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 415 0 401 1 0 1 1 0 8 0 vmmpekpl 168 6723 0 6692 2 0 2 2 0 8 0 vmmpepl 168 56596 0 54615 128 35 93 111 0 357 5 vmsppl 272 414 0 401 2 1 1 2 0 8 0 pdppl 4096 836 0 802 6 1 5 6 0 8 0 pvpl 32 167584 0 148411 165 1 164 164 0 265 8 pmappl 200 414 0 401 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 259 0 22 8 1 7 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce4a4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4fa8,0,0,ffff80001d6e4eb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff67f8,ffff80001d6e4fa8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4fa8,0,ffff80001d6e5090) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5040,ffff80001d6e5090) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5110) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce4a4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4fa8,0,0,ffff80001d6e4eb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff67f8,ffff80001d6e4fa8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4fa8,0,ffff80001d6e5090) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5040,ffff80001d6e5090) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5110) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, count: -8