panic: receive 1a: so 0xfffffd806434b190, so_type 3, m 0xfffffd805e4c4500, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *299964 22094 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d4498) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806434b190,0,ffff80001d6e1058,0,0,ffff80001d6e0f64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80643f17f8,ffff80001d6e1058,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8ed8,6,ffff80001d6e1058,0,ffff80001d6e1140) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8ed8,ffff80001d6e10f0,ffff80001d6e1140) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e11c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ad0, 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 0xfffffd806434b190, so_type 3, m 0xfffffd805e4c4500, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d4498) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806434b190,0,ffff80001d6e1058,0,0,ffff80001d6e0f64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80643f17f8,ffff80001d6e1058,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8ed8,6,ffff80001d6e1058,0,ffff80001d6e1140) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8ed8,ffff80001d6e10f0,ffff80001d6e1140) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e11c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ad0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e0da0 rbx 0xffff80001d6e0e50 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e0d60 r9 0xffffffff8122fb1f kprintf+0x15f r10 0x1 r11 0x7684b9169cf38e94 r12 0x3000000008 r13 0xffff80001d6e0db0 r14 0x100 r15 0x1 rip 0xffffffff81b1d038 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e0d90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=299964 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8280,0xffff8000ffff93d8 process=0xffff80001d6c0010 user=0xffff80001d6dc000, vmspace=0xfffffd806bc09110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14390 91689 87691 0 2 0 syz-executor.0 14390 277132 87691 0 2 0x4000000 syz-executor.0 90888 366576 0 0 3 0x14200 bored sosplice 87691 10230 76585 0 2 0x482 syz-executor.0 13642 516031 76585 0 2 0x2 syz-executor.1 76585 463728 25119 0 3 0x82 kqread syz-fuzzer 76585 236255 25119 0 2 0x4000482 syz-fuzzer 76585 502847 25119 0 3 0x4000082 thrsleep syz-fuzzer 76585 304856 25119 0 3 0x4000082 thrsleep syz-fuzzer 76585 224013 25119 0 3 0x4000082 thrsleep syz-fuzzer 76585 452113 25119 0 3 0x4000082 thrsleep syz-fuzzer 76585 53834 25119 0 3 0x4000082 thrsleep syz-fuzzer 25119 381811 64618 0 3 0x10008a pause ksh 64618 3367 14471 0 3 0x92 select sshd 9963 112438 1 0 3 0x100083 ttyin getty 14471 164489 1 0 3 0x80 select sshd 27721 179725 692 73 3 0x100090 kqread syslogd 692 231546 1 0 3 0x100082 netio syslogd 59894 515366 1 77 2 0x100010 dhclient *22094 299964 1 0 7 0 dhclient 90190 337039 0 0 3 0x14200 bored smr 61615 342757 0 0 2 0x14200 zerothread 42184 351808 0 0 3 0x14200 aiodoned aiodoned 33931 82115 0 0 3 0x14200 syncer update 65729 38426 0 0 3 0x14200 cleaner cleaner 13788 309757 0 0 3 0x14200 reaper reaper 85115 86717 0 0 3 0x14200 pgdaemon pagedaemon 8683 28443 0 0 3 0x14200 bored crynlk 78032 269209 0 0 3 0x14200 bored crypto 48879 510207 0 0 3 0x40014200 acpi0 acpi0 47558 486001 0 0 3 0x14200 bored softnet 60982 59887 0 0 3 0x14200 bored systqmp 46227 296405 0 0 3 0x14200 bored systq 23787 9257 0 0 3 0x40014200 bored softclock 51549 175338 0 0 3 0x40014200 idle0 1 40143 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 9460 6391K 6581K 78643K 10626 0 pcb 13 8K 8K 78643K 27 0 rtable 112 11K 11K 78643K 226 0 ifaddr 49 11K 11K 78643K 56 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 65 0 iov 0 0K 12K 78643K 54 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1247 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 12 0K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 114 0 proc 49 38K 63K 78643K 367 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 4 0 in_multi 44 2K 2K 78643K 59 0 ether_multi 1 0K 0K 78643K 2 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 191 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 122 38K 38K 78643K 1115 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 7 0K 0K 78643K 14 0 temp 66 3851K 3915K 78643K 8492 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 88 54 0 52 1 0 1 1 0 8 0 rtentry 112 51 0 5 2 0 2 2 0 8 0 unpcb 120 61 0 53 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 76 0 76 1 0 1 1 0 8 1 tcpcb 592 43 0 35 2 0 2 2 0 8 1 inpcb 296 98 0 91 2 0 2 2 0 8 1 nd6 48 10 0 3 1 0 1 1 0 8 0 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfstkey 112 2 0 2 1 0 1 1 0 8 1 pfstate 328 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 50 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1536 0 138 88 0 88 88 0 8 0 ffsino 240 1536 0 138 83 0 83 83 0 8 0 nchpl 144 1886 0 283 60 0 60 60 0 8 0 uvmvnodes 72 1598 0 0 30 0 30 30 0 8 0 vnodes 208 1598 0 0 85 0 85 85 0 8 0 namei 1024 4859 0 4859 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 scxspl 200 5523 0 5523 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 424 301 0 272 4 0 4 4 0 8 0 futexpl 56 1790 0 1790 1 0 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 152 14 0 12 1 0 1 1 0 8 0 pipepl 272 83 0 72 1 0 1 1 0 8 0 fdescpl 432 286 0 272 2 0 2 2 0 8 0 filepl 120 1618 0 1519 4 0 4 4 0 8 0 lockfpl 104 83 0 82 1 0 1 1 0 8 0 lockfspl 48 31 0 30 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 127 0 120 1 0 1 1 0 8 0 zombiepl 144 272 0 272 1 0 1 1 0 8 1 processpl 944 301 0 272 4 0 4 4 0 8 0 procpl 632 404 0 368 4 0 4 4 0 8 0 sockpl 400 213 0 196 3 0 3 3 0 8 1 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 15 0 15 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 92523 0 92483 15 2 13 14 0 8 7 mtagpl 96 6 0 3 2 1 1 1 0 8 0 mbufpl 256 146389 0 146209 14 1 13 13 0 8 0 bufpl 280 3478 0 120 240 0 240 240 0 8 0 anonpl 16 46251 0 27368 80 2 78 78 0 107 0 amapchunkpl 152 1312 0 1126 9 0 9 9 0 158 0 amappl16 192 1468 0 461 51 0 51 51 0 8 0 amappl15 184 41 0 39 1 0 1 1 0 8 0 amappl14 176 1 0 0 1 0 1 1 0 8 0 amappl13 168 69 0 63 1 0 1 1 0 8 0 amappl12 160 64 0 59 1 0 1 1 0 8 0 amappl11 152 46 0 36 1 0 1 1 0 8 0 amappl10 144 12 0 10 1 0 1 1 0 8 0 amappl9 136 166 0 165 1 0 1 1 0 8 0 amappl8 128 284 0 261 1 0 1 1 0 8 0 amappl7 120 103 0 92 1 0 1 1 0 8 0 amappl6 112 25 0 21 1 0 1 1 0 8 0 amappl5 104 555 0 545 1 0 1 1 0 8 0 amappl4 96 472 0 442 1 0 1 1 0 8 0 amappl3 88 161 0 151 1 0 1 1 0 8 0 amappl2 80 1505 0 1441 2 0 2 2 0 8 0 amappl1 72 15568 0 15161 24 9 15 17 0 8 6 amappl 80 642 0 586 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 288 0 272 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 288 0 272 1 0 1 1 0 8 0 vmmpekpl 168 6006 0 5983 2 0 2 2 0 8 0 vmmpepl 168 43042 0 40959 116 7 109 109 0 357 18 vmsppl 272 287 0 272 2 0 2 2 0 8 0 pdppl 4096 582 0 546 6 0 6 6 0 8 1 pvpl 32 150476 0 128625 185 0 185 185 0 265 5 pmappl 200 287 0 272 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 237 0 7 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(ffffffff823d4498) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806434b190,0,ffff80001d6e1058,0,0,ffff80001d6e0f64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80643f17f8,ffff80001d6e1058,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8ed8,6,ffff80001d6e1058,0,ffff80001d6e1140) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8ed8,ffff80001d6e10f0,ffff80001d6e1140) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e11c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ad0, 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(ffffffff823d4498) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806434b190,0,ffff80001d6e1058,0,0,ffff80001d6e0f64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80643f17f8,ffff80001d6e1058,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8ed8,6,ffff80001d6e1058,0,ffff80001d6e1140) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8ed8,ffff80001d6e10f0,ffff80001d6e1140) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e11c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ad0, count: -8