panic: receive 1a: so 0xfffffd806695d000, so_type 3, m 0xfffffd806c14fe00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *237832 46949 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cb784) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806695d000,0,ffff80001d6e4e88,0,0,ffff80001d6e4d94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8066bf7348,ffff80001d6e4e88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4e88,0,ffff80001d6e4f70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e4f20,ffff80001d6e4f70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdad60, 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 0xfffffd806695d000, so_type 3, m 0xfffffd806c14fe00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cb784) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806695d000,0,ffff80001d6e4e88,0,0,ffff80001d6e4d94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8066bf7348,ffff80001d6e4e88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4e88,0,ffff80001d6e4f70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e4f20,ffff80001d6e4f70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdad60, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4bd0 rbx 0xffff80001d6e4c80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81698d9f kprintf+0x15f r9 0x1 r10 0x2 r11 0xd034fa63000f52e0 r12 0x3000000008 r13 0xffff80001d6e4be0 r14 0x100 r15 0x1 rip 0xffffffff817c0b78 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4bc0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=237832 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9c48 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49821 302765 199 0 2 0 syz-executor.0 49821 411686 199 0 3 0x4000080 msgwait syz-executor.0 81359 302775 1 0 3 0x100083 ttyin getty 37213 135313 0 0 3 0x14200 bored sosplice 199 405074 34992 0 3 0x82 nanosleep syz-executor.0 34992 500412 99652 0 3 0x82 thrsleep syz-fuzzer 34992 467900 99652 0 3 0x4000082 thrsleep syz-fuzzer 34992 411259 99652 0 3 0x4000082 thrsleep syz-fuzzer 34992 394714 99652 0 3 0x4000082 thrsleep syz-fuzzer 34992 301841 99652 0 3 0x4000082 thrsleep syz-fuzzer 34992 81954 99652 0 3 0x4000082 kqread syz-fuzzer 34992 182367 99652 0 3 0x4000082 thrsleep syz-fuzzer 99652 292916 41496 0 3 0x10008a pause ksh 41496 306622 59356 0 3 0x92 select sshd 59356 181429 1 0 3 0x80 select sshd 59370 304891 22498 73 3 0x100090 kqread syslogd 22498 144 1 0 3 0x100082 netio syslogd 39458 196900 1 77 2 0x100010 dhclient *46949 237832 1 0 7 0 dhclient 61048 56417 0 0 3 0x14200 bored smr 22869 455110 0 0 2 0x14200 zerothread 55991 355579 0 0 3 0x14200 aiodoned aiodoned 68947 307352 0 0 3 0x14200 syncer update 32947 309353 0 0 3 0x14200 cleaner cleaner 6356 100290 0 0 3 0x14200 reaper reaper 91233 366291 0 0 3 0x14200 pgdaemon pagedaemon 64593 247607 0 0 3 0x14200 bored crynlk 89776 511615 0 0 3 0x14200 bored crypto 32301 41729 0 0 3 0x40014200 acpi0 acpi0 1122 26167 0 0 2 0x14200 softnet 24246 146180 0 0 2 0x14200 systqmp 57429 497949 0 0 3 0x14200 bored systq 2585 206082 0 0 3 0x40014200 bored softclock 25150 184005 0 0 3 0x40014200 idle0 1 24231 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 9472 6332K 6842K 78643K 10989 0 pcb 13 8K 8K 78643K 54 0 rtable 82 3K 6K 78643K 259 0 ifaddr 48 11K 14K 78643K 87 0 counters 20 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 60 0 iov 0 0K 16K 78643K 36 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1357 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 0K 78643K 33 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 265 0 proc 48 38K 54K 78643K 382 0 subproc 23 1K 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 4 0 in_multi 40 2K 3K 78643K 72 0 ether_multi 1 0K 0K 78643K 3 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 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 194 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 127 39K 39K 78643K 1463 0 UVM aobj 7 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 27 0 NDP 7 0K 0K 78643K 13 0 temp 82 3852K 3916K 78643K 9717 0 kqueue 3 4K 9K 78643K 11 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 2 1 0 1 1 0 8 0 rtpcb 80 37 0 35 1 0 1 1 0 8 0 rtentry 112 53 0 23 2 0 2 2 0 8 0 unpcb 120 125 0 117 1 0 1 1 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 tcpqe 32 114 0 114 2 2 0 1 0 8 0 tcpcb 544 113 0 108 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 49 0 49 1 1 0 1 0 8 0 inpcb 296 266 0 258 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 9 0 8 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 18 0 16 1 0 1 1 0 8 0 pftag 88 4 0 4 1 1 0 1 0 8 0 pfrule 1360 8 0 6 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 40 13 0 13 13 0 8 0 art_table 32 213 0 40 2 0 2 2 0 8 0 art_node 16 52 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 10 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 31 0 21 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1735 0 336 88 0 88 88 0 8 0 ffsino 240 1735 0 336 83 0 83 83 0 8 0 nchpl 144 2276 0 674 60 0 60 60 0 8 0 uvmvnodes 72 1878 0 0 35 0 35 35 0 8 0 vnodes 208 1878 0 0 99 0 99 99 0 8 0 namei 1024 5861 0 5861 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 8 0 6 1 0 1 1 0 8 0 scxspl 192 6870 0 6870 1 0 1 1 0 8 1 plimitpl 152 37 0 30 1 0 1 1 0 8 0 sigapl 424 453 0 424 4 0 4 4 0 8 0 futexpl 56 3824 0 3824 1 0 1 1 0 8 1 knotepl 112 75 0 58 1 0 1 1 0 8 0 kqueuepl 144 66 0 64 1 0 1 1 0 8 0 pipepl 272 100 0 91 1 0 1 1 0 8 0 fdescpl 432 438 0 424 2 0 2 2 0 8 0 filepl 120 2335 0 2251 4 0 4 4 0 8 1 lockfpl 104 69 0 68 1 0 1 1 0 8 0 lockfspl 48 19 0 18 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 195 0 188 1 0 1 1 0 8 0 zombiepl 144 425 0 424 1 0 1 1 0 8 0 processpl 928 453 0 424 4 0 4 4 0 8 0 procpl 624 723 0 687 4 0 4 4 0 8 1 sockpl 400 434 0 416 5 1 4 4 0 8 1 mcl64k 65536 25 0 25 1 0 1 1 0 8 1 mcl12k 12288 12 0 12 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 28 0 28 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 77055 0 77009 16 9 7 14 0 8 0 mtagpl 96 17 0 9 2 1 1 1 0 8 0 mbufpl 256 123753 0 123545 20 5 15 19 0 8 0 bufpl 280 3964 0 131 274 0 274 274 0 8 0 anonpl 16 50885 0 34925 70 3 67 67 0 107 2 amapchunkpl 152 1803 0 1660 9 1 8 9 0 158 0 amappl16 192 2033 0 1170 46 1 45 45 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 32 0 27 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 13 0 10 1 0 1 1 0 8 0 amappl11 152 49 0 40 1 0 1 1 0 8 0 amappl10 144 16 0 11 1 0 1 1 0 8 0 amappl9 136 498 0 496 1 0 1 1 0 8 0 amappl8 128 423 0 382 2 0 2 2 0 8 0 amappl7 120 114 0 101 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 321 0 309 1 0 1 1 0 8 0 amappl4 96 433 0 402 1 0 1 1 0 8 0 amappl3 88 117 0 110 1 0 1 1 0 8 0 amappl2 80 2322 0 2257 2 0 2 2 0 8 0 amappl1 72 16723 0 16316 23 14 9 17 0 8 0 amappl 80 961 0 918 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 8 0 2 1 0 1 1 0 8 0 uaddrrnd 24 442 0 426 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 442 0 426 1 0 1 1 0 8 0 vmmpekpl 168 6657 0 6629 2 0 2 2 0 8 0 vmmpepl 168 57058 0 55101 152 21 131 146 0 357 43 vmsppl 272 441 0 426 3 1 2 2 0 8 1 pdppl 4096 890 0 854 6 1 5 6 0 8 0 pvpl 32 168757 0 149818 166 4 162 163 0 265 8 pmappl 200 441 0 426 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 253 0 21 7 0 7 7 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(ffffffff823cb784) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806695d000,0,ffff80001d6e4e88,0,0,ffff80001d6e4d94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8066bf7348,ffff80001d6e4e88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4e88,0,ffff80001d6e4f70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e4f20,ffff80001d6e4f70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdad60, 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(ffffffff823cb784) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806695d000,0,ffff80001d6e4e88,0,0,ffff80001d6e4d94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8066bf7348,ffff80001d6e4e88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e4e88,0,ffff80001d6e4f70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e4f20,ffff80001d6e4f70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdad60, count: -8