panic: receive 1: so 0xfffffd805fbdc000, so_type 3, sb_cc 5262 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *184589 33235 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823b699c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805fbdc000,0,ffff80001d6e2508,0,0,ffff80001d6e2414) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f1f8960,ffff80001d6e2508,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e2508,0,ffff80001d6e25f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e25a0,ffff80001d6e25f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2670) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed530, 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 1: so 0xfffffd805fbdc000, so_type 3, sb_cc 5262 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823b699c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805fbdc000,0,ffff80001d6e2508,0,0,ffff80001d6e2414) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f1f8960,ffff80001d6e2508,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e2508,0,ffff80001d6e25f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e25a0,ffff80001d6e25f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2670) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed530, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e2250 rbx 0xffff80001d6e2300 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8193eacf kprintf+0x15f r9 0x1 r10 0x2 r11 0x1190ce8121c36f41 r12 0x3000000008 r13 0xffff80001d6e2260 r14 0x100 r15 0x1 rip 0xffffffff81a55c98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e2240 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=184589 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a99c8,0xffff80001d6aa128 process=0xffff8000ffffa010 user=0xffff80001d6dd000, vmspace=0xfffffd806bc09990 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 66378 504605 48328 0 2 0 syz-executor.1 66378 209329 48328 0 2 0x4000000 syz-executor.1 76894 383110 0 0 3 0x14200 bored sosplice 85664 474148 49352 0 2 0x2 syz-executor.0 48328 408851 49352 0 2 0x482 syz-executor.1 49352 119536 31358 0 3 0x82 thrsleep syz-fuzzer 49352 435190 31358 0 3 0x4000082 nanosleep syz-fuzzer 49352 124819 31358 0 3 0x4000082 thrsleep syz-fuzzer 49352 442872 31358 0 3 0x4000082 thrsleep syz-fuzzer 49352 8098 31358 0 3 0x4000082 thrsleep syz-fuzzer 49352 2165 31358 0 3 0x4000082 kqread syz-fuzzer 49352 300540 31358 0 3 0x4000082 thrsleep syz-fuzzer 49352 74841 31358 0 3 0x4000082 thrsleep syz-fuzzer 31358 462204 61989 0 3 0x10008a pause ksh 61989 132473 32986 0 3 0x92 select sshd 30727 356532 1 0 3 0x100083 ttyin getty 32986 177313 1 0 3 0x80 select sshd 76183 170853 37042 73 3 0x100090 kqread syslogd 37042 17180 1 0 3 0x100082 netio syslogd 99183 52240 1 77 2 0x100010 dhclient *33235 184589 1 0 7 0 dhclient 11993 308682 0 0 3 0x14200 bored smr 21371 116276 0 0 2 0x14200 zerothread 52922 445320 0 0 3 0x14200 aiodoned aiodoned 62848 312371 0 0 3 0x14200 syncer update 78007 260914 0 0 3 0x14200 cleaner cleaner 46429 362144 0 0 3 0x14200 reaper reaper 22432 318108 0 0 3 0x14200 pgdaemon pagedaemon 25148 398129 0 0 3 0x14200 bored crynlk 1264 292243 0 0 3 0x14200 bored crypto 4191 230704 0 0 3 0x40014200 acpi0 acpi0 25211 485239 0 0 2 0x14200 softnet 90044 476815 0 0 3 0x14200 bored systqmp 93242 69909 0 0 3 0x14200 bored systq 49157 171508 0 0 3 0x40014200 bored softclock 59457 375715 0 0 3 0x40014200 idle0 1 231224 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 9503 6470K 6723K 78643K 10774 0 pcb 13 8K 8K 78643K 26 0 rtable 114 6K 10K 78643K 320 0 ifaddr 69 14K 14K 78643K 123 0 counters 22 16K 17K 78643K 28 0 ioctlops 0 0K 4K 78643K 37 0 iov 0 0K 12K 78643K 21 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1282 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 0K 78643K 24 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 130 0 sigio 0 0K 0K 78643K 2 0 proc 48 38K 54K 78643K 369 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 1 0K 0K 78643K 1 0 in_multi 36 2K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 2 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 193 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 117 22K 38K 78643K 1166 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 5 0 NDP 12 0K 0K 78643K 22 0 temp 90 3843K 3907K 78643K 2108 0 kqueue 3 4K 8K 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 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 50 0 8 2 0 2 2 0 8 0 unpcb 120 105 0 97 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 358 0 358 1 1 0 1 0 8 0 tcpcb 544 29 0 25 1 0 1 1 0 8 0 inpcb 280 93 0 85 1 0 1 1 0 8 0 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 35 0 30 2 0 2 2 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfrule 1360 6 0 4 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 219 0 40 13 0 13 13 0 8 0 art_table 32 221 0 40 2 0 2 2 0 8 0 art_node 16 49 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1600 0 201 88 0 88 88 0 8 0 ffsino 240 1600 0 201 83 0 83 83 0 8 0 nchpl 144 1983 0 379 60 0 60 60 0 8 0 uvmvnodes 72 1681 0 0 31 0 31 31 0 8 0 vnodes 208 1681 0 0 89 0 89 89 0 8 0 namei 1024 5252 0 5252 1 0 1 1 0 8 1 pfiaddrpl 120 12 0 8 1 0 1 1 0 8 0 scxspl 192 5613 0 5613 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 424 317 0 288 4 0 4 4 0 8 0 futexpl 56 2440 0 2440 1 0 1 1 0 8 1 knotepl 112 69 0 50 1 0 1 1 0 8 0 kqueuepl 144 22 0 20 1 0 1 1 0 8 0 pipelkpl 16 85 0 75 1 0 1 1 0 8 0 pipepl 120 170 0 151 1 0 1 1 0 8 0 fdescpl 432 302 0 288 2 0 2 2 0 8 0 filepl 120 1877 0 1780 4 0 4 4 0 8 1 lockfpl 104 52 0 50 1 0 1 1 0 8 0 lockfspl 48 25 0 23 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 290 0 283 1 0 1 1 0 8 0 zombiepl 144 288 0 288 1 0 1 1 0 8 1 processpl 920 317 0 288 4 0 4 4 0 8 0 procpl 624 444 0 407 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 224 0 206 4 1 3 4 0 8 1 mcl64k 65536 18 0 18 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 8 0 8 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 14 0 14 1 0 1 1 0 8 1 mcl4k 4096 15 0 15 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 74228 0 74174 22 14 8 17 0 8 0 mtagpl 80 20 0 3 2 1 1 1 0 8 0 mbufpl 256 118663 0 118463 21 3 18 18 0 8 2 bufpl 280 3448 0 126 238 0 238 238 0 8 0 anonpl 16 41892 0 26880 64 2 62 62 0 107 1 amapchunkpl 152 1652 0 1519 22 2 20 20 0 158 14 amappl16 192 1345 0 532 42 0 42 42 0 8 1 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 26 0 21 1 0 1 1 0 8 0 amappl13 168 78 0 73 1 0 1 1 0 8 0 amappl12 160 8 0 5 1 0 1 1 0 8 0 amappl11 152 51 0 42 1 0 1 1 0 8 0 amappl10 144 24 0 17 1 0 1 1 0 8 0 amappl9 136 416 0 414 1 0 1 1 0 8 0 amappl8 128 362 0 325 2 0 2 2 0 8 0 amappl7 120 105 0 93 1 0 1 1 0 8 0 amappl6 112 22 0 18 1 0 1 1 0 8 0 amappl5 104 252 0 241 1 0 1 1 0 8 0 amappl4 96 476 0 447 1 0 1 1 0 8 0 amappl3 88 110 0 104 1 0 1 1 0 8 0 amappl2 80 1572 0 1508 2 0 2 2 0 8 0 amappl1 72 15041 0 14627 23 14 9 17 0 8 0 amappl 80 667 0 625 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 302 0 288 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 302 0 288 1 0 1 1 0 8 0 vmmpekpl 168 6147 0 6119 2 0 2 2 0 8 0 vmmpepl 168 42690 0 40794 114 18 96 108 0 357 12 vmsppl 272 301 0 288 2 1 1 2 0 8 0 pdppl 4096 610 0 576 6 1 5 6 0 8 0 pvpl 32 143470 0 125481 153 0 153 153 0 265 6 pmappl 200 301 0 288 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 261 0 26 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(ffffffff823b699c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805fbdc000,0,ffff80001d6e2508,0,0,ffff80001d6e2414) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f1f8960,ffff80001d6e2508,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e2508,0,ffff80001d6e25f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e25a0,ffff80001d6e25f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2670) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed530, 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(ffffffff823b699c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805fbdc000,0,ffff80001d6e2508,0,0,ffff80001d6e2414) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f1f8960,ffff80001d6e2508,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e2508,0,ffff80001d6e25f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e25a0,ffff80001d6e25f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2670) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed530, count: -8