panic: receive 1: so 0xfffffd806b64b320, so_type 3, sb_cc 80 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *469642 50944 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d4c87) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b64b320,0,ffff80001d6e2cf8,0,0,ffff80001d6e2c04) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab75a0,ffff80001d6e2cf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e2cf8,0,ffff80001d6e2de0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e2d90,ffff80001d6e2de0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2e60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce590, 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 0xfffffd806b64b320, so_type 3, sb_cc 80 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d4c87) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b64b320,0,ffff80001d6e2cf8,0,0,ffff80001d6e2c04) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab75a0,ffff80001d6e2cf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e2cf8,0,ffff80001d6e2de0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e2d90,ffff80001d6e2de0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2e60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce590, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e2a40 rbx 0xffff80001d6e2af0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8178433f kprintf+0x15f r9 0x1 r10 0x2 r11 0x77a83301fd45487f r12 0x3000000008 r13 0xffff80001d6e2a50 r14 0x100 r15 0x1 rip 0xffffffff81e316d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e2a30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=469642 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a94f8 process=0xffff8000ffffa010 user=0xffff80001d6dd000, vmspace=0xfffffd806bc0a770 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19581 147783 42221 0 2 0 syz-executor.0 19581 150973 42221 0 2 0x4000000 syz-executor.0 48146 72325 9460 0 2 0x2 syz-executor.1 88261 78288 0 0 3 0x14200 acct acct 88277 262580 0 0 3 0x14200 bored sosplice 42221 251980 9460 0 3 0x82 nanosleep syz-executor.0 9460 107085 34414 0 3 0x82 thrsleep syz-fuzzer 9460 201785 34414 0 2 0x4000482 syz-fuzzer 9460 141520 34414 0 3 0x4000082 kqread syz-fuzzer 9460 385004 34414 0 3 0x4000082 thrsleep syz-fuzzer 9460 293775 34414 0 3 0x4000082 thrsleep syz-fuzzer 9460 453127 34414 0 3 0x4000082 thrsleep syz-fuzzer 9460 135851 34414 0 3 0x4000082 thrsleep syz-fuzzer 9460 188965 34414 0 3 0x4000082 thrsleep syz-fuzzer 34414 284343 83571 0 3 0x10008a pause ksh 83571 82303 17690 0 3 0x92 select sshd 613 342632 1 0 3 0x100083 ttyin getty 17690 83918 1 0 3 0x80 select sshd 48333 4122 46487 73 3 0x100090 kqread syslogd 46487 71981 1 0 3 0x100082 netio syslogd 11032 402094 1 77 3 0x100090 poll dhclient *50944 469642 1 0 7 0 dhclient 86352 262650 0 0 3 0x14200 bored smr 93213 46657 0 0 2 0x14200 zerothread 32605 377866 0 0 3 0x14200 aiodoned aiodoned 60175 377739 0 0 3 0x14200 syncer update 68294 283450 0 0 3 0x14200 cleaner cleaner 61170 66736 0 0 3 0x14200 reaper reaper 84428 206415 0 0 3 0x14200 pgdaemon pagedaemon 9037 17134 0 0 3 0x14200 bored crynlk 2274 355285 0 0 3 0x14200 bored crypto 90455 180475 0 0 3 0x40014200 acpi0 acpi0 37222 208262 0 0 3 0x14200 bored softnet 11636 166218 0 0 3 0x14200 bored systqmp 96770 172 0 0 3 0x14200 bored systq 87618 15820 0 0 3 0x40014200 bored softclock 71368 448864 0 0 3 0x40014200 idle0 1 63998 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 9542 6375K 6881K 78643K 11759 0 pcb 13 8K 8K 78643K 135 0 rtable 138 10K 12K 78643K 938 0 ifaddr 98 18K 18K 78643K 344 0 sysctl 1 1K 1K 78643K 1 0 counters 21 16K 16K 78643K 40 0 ioctlops 0 0K 4K 78643K 138 0 iov 0 0K 16K 78643K 139 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1614 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 148 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 765 0 sigio 0 0K 0K 78643K 6 0 proc 50 38K 63K 78643K 455 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 49 0 in_multi 59 3K 3K 78643K 254 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 26 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 269 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 136 39K 45K 78643K 2646 0 UVM aobj 38 6K 7K 78643K 48 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 101 0 NDP 17 0K 0K 78643K 70 0 temp 130 3861K 3925K 78643K 33739 0 kqueue 3 4K 10K 78643K 236 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 12 0 4 1 0 1 1 0 8 0 rtpcb 80 71 0 69 1 0 1 1 0 8 0 rtentry 112 144 0 101 2 0 2 2 0 8 0 unpcb 120 359 0 351 1 0 1 1 0 8 0 syncache 264 10 0 10 4 3 1 1 0 8 1 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 118 0 118 1 1 0 1 0 8 0 tcpcb 544 222 0 218 1 0 1 1 0 8 0 ipq 40 68 0 68 1 1 0 1 0 8 0 ipqe 40 136 0 136 1 1 0 1 0 8 0 inpcb 296 758 0 750 3 1 2 2 0 8 1 rttmr 72 12 0 12 3 2 1 1 0 8 1 nd6 48 40 0 38 1 0 1 1 0 8 0 pkpcb 40 12 0 12 3 2 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 164 0 151 5 3 2 2 0 8 0 pftag 88 35 0 32 2 1 1 1 0 8 0 pfrule 1360 62 0 36 4 1 3 3 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 586 0 402 16 2 14 14 0 8 0 art_table 32 588 0 402 2 0 2 2 0 8 0 art_node 16 143 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 146 0 136 1 0 1 1 0 8 0 shmpl 112 46 0 10 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2490 0 1093 88 0 88 88 0 8 0 ffsino 240 2490 0 1093 83 0 83 83 0 8 0 nchpl 144 3795 0 2210 60 0 60 60 0 8 0 uvmvnodes 72 2787 0 0 51 0 51 51 0 8 0 vnodes 208 2787 0 0 147 0 147 147 0 8 0 namei 1024 10989 0 10989 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 62 0 50 3 2 1 1 0 8 0 scxspl 192 11317 0 11317 1 0 1 1 0 8 1 plimitpl 152 99 0 92 1 0 1 1 0 8 0 sigapl 424 950 0 920 4 0 4 4 0 8 0 futexpl 56 18120 0 18120 1 0 1 1 0 8 1 knotepl 112 264 0 245 1 0 1 1 0 8 0 kqueuepl 144 913 0 910 1 0 1 1 0 8 0 pipepl 272 196 0 186 3 2 1 2 0 8 0 fdescpl 432 934 0 920 2 0 2 2 0 8 0 filepl 120 6310 0 6213 4 0 4 4 0 8 1 lockfpl 104 203 0 202 1 0 1 1 0 8 0 lockfspl 48 73 0 72 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 725 0 718 1 0 1 1 0 8 0 zombiepl 144 920 0 920 1 0 1 1 0 8 1 processpl 920 950 0 920 4 0 4 4 0 8 0 procpl 624 1836 0 1798 4 0 4 4 0 8 0 sosppl 128 14 0 14 4 3 1 1 0 8 1 sockpl 400 1203 0 1185 3 0 3 3 0 8 1 mcl64k 65536 322 0 322 33 32 1 33 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 20 0 20 2 1 1 1 0 8 1 mcl9k 9216 15 0 15 2 1 1 1 0 8 1 mcl8k 8192 36 0 36 2 1 1 1 0 8 1 mcl4k 4096 92 0 92 3 2 1 1 0 8 1 mcl2k2 2112 8 0 8 3 2 1 1 0 8 1 mcl2k 2048 68622 0 68555 19 8 11 15 0 8 0 mtagpl 96 105 0 27 3 1 2 2 0 8 0 mbufpl 256 125243 0 124831 219 180 39 182 0 8 6 bufpl 280 6367 0 1015 383 0 383 383 0 8 0 anonpl 16 118686 0 101931 92 15 77 89 0 107 3 amapchunkpl 152 4491 0 4341 24 13 11 16 0 158 4 amappl16 192 5313 0 4335 76 22 54 62 0 8 4 amappl15 184 352 0 348 1 0 1 1 0 8 0 amappl14 176 180 0 174 1 0 1 1 0 8 0 amappl13 168 42 0 39 1 0 1 1 0 8 0 amappl12 160 5 0 3 2 1 1 1 0 8 0 amappl11 152 200 0 189 1 0 1 1 0 8 0 amappl10 144 229 0 225 1 0 1 1 0 8 0 amappl9 136 371 0 370 1 0 1 1 0 8 0 amappl8 128 387 0 340 2 0 2 2 0 8 0 amappl7 120 328 0 316 1 0 1 1 0 8 0 amappl6 112 182 0 173 1 0 1 1 0 8 0 amappl5 104 720 0 708 1 0 1 1 0 8 0 amappl4 96 590 0 564 1 0 1 1 0 8 0 amappl3 88 139 0 133 1 0 1 1 0 8 0 amappl2 80 6945 0 6877 2 0 2 2 0 8 0 amappl1 72 25622 0 25211 23 14 9 17 0 8 0 amappl 80 2099 0 2053 3 1 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 47 0 10 1 0 1 1 0 8 0 uaddrrnd 24 942 0 926 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 942 0 926 1 0 1 1 0 8 0 vmmpekpl 168 9470 0 9440 2 0 2 2 0 8 0 vmmpepl 168 119285 0 117210 163 43 120 153 0 357 29 vmsppl 272 941 0 926 3 1 2 2 0 8 1 pdppl 4096 1890 0 1854 8 2 6 6 0 8 1 pvpl 32 349427 0 329627 248 33 215 248 0 265 47 pmappl 200 941 0 926 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 498 0 233 12 1 11 12 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(ffffffff823d4c87) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b64b320,0,ffff80001d6e2cf8,0,0,ffff80001d6e2c04) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab75a0,ffff80001d6e2cf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e2cf8,0,ffff80001d6e2de0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e2d90,ffff80001d6e2de0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2e60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce590, 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(ffffffff823d4c87) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b64b320,0,ffff80001d6e2cf8,0,0,ffff80001d6e2c04) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab75a0,ffff80001d6e2cf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e2cf8,0,ffff80001d6e2de0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e2d90,ffff80001d6e2de0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e2e60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce590, count: -8