panic(ffffffff821b38bf) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e564190,0,ffff80001d3721c8,0,0,ffff80001d3720d4) at soreceive+0x16e7 soo_read(fffffd805eb0d618,ffff80001d3721c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3721c8,0,ffff80001d3722b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372260,ffff80001d3722b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcdb20, 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 3: so 0xfffffd805e564190, so_type 3, m 0xfffffd80589fa700, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b38bf) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e564190,0,ffff80001d3721c8,0,0,ffff80001d3720d4) at soreceive+0x16e7 soo_read(fffffd805eb0d618,ffff80001d3721c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3721c8,0,ffff80001d3722b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372260,ffff80001d3722b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372330) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcdb20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371f10 rbx 0xffff80001d371fc0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371ed0 r9 0x1 r10 0 r11 0x8363798d1e722122 r12 0x3000000008 r13 0xffff80001d371f20 r14 0x100 r15 0x1 rip 0xffffffff81284e38 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371f00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=239707 stat=onproc flags process=0 proc=0 pri=24, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d3399d8 process=0xffff8000ffffae70 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a110 estcpu=2, cpticks=9, pctcpu=0.0 user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4579 498719 96695 0 2 0 syz-executor.1 4579 507359 96695 0 2 0x4000000 syz-executor.1 5095 520962 0 0 3 0x14200 bored sosplice 53349 510898 1 0 3 0x100083 ttyin getty 34027 493329 20407 0 2 0x2 syz-executor.0 96695 33658 20407 0 2 0x482 syz-executor.1 20407 255602 14934 0 3 0x82 thrsleep syz-fuzzer 20407 190221 14934 0 2 0x4000482 syz-fuzzer 20407 15313 14934 0 3 0x4000082 thrsleep syz-fuzzer 20407 276541 14934 0 3 0x4000082 thrsleep syz-fuzzer 20407 495990 14934 0 3 0x4000082 thrsleep syz-fuzzer 20407 450654 14934 0 3 0x4000082 kqread syz-fuzzer 20407 150525 14934 0 3 0x4000082 thrsleep syz-fuzzer 14934 322379 74361 0 3 0x10008a pause ksh 74361 133219 36879 0 3 0x92 select sshd 36879 259950 1 0 3 0x80 select sshd 53258 458039 54978 73 3 0x100090 kqread syslogd 54978 437612 1 0 3 0x100082 netio syslogd 11047 327823 1 77 2 0x100010 dhclient * 2878 239707 1 0 7 0 dhclient 15692 14169 0 0 2 0x14200 smr 16985 400671 0 0 2 0x14200 zerothread 58888 81800 0 0 3 0x14200 aiodoned aiodoned 11125 522197 0 0 3 0x14200 syncer update 41087 287479 0 0 3 0x14200 cleaner cleaner 11107 90674 0 0 3 0x14200 reaper reaper 52848 94359 0 0 3 0x14200 pgdaemon pagedaemon 91666 262395 0 0 3 0x14200 bored crynlk 77674 98579 0 0 3 0x14200 bored crypto 76325 368557 0 0 3 0x40014200 acpi0 acpi0 82020 439898 0 0 3 0x14200 bored softnet 70081 34987 0 0 3 0x14200 bored systqmp 46367 449430 0 0 3 0x14200 bored systq 21081 290073 0 0 3 0x40014200 bored softclock 34520 9276 0 0 3 0x40014200 idle0 1 81167 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 9483 6461K 6461K 78643K 10641 0 pcb 13 8K 8K 78643K 33 0 rtable 105 3K 3K 78643K 203 0 ifaddr 54 12K 12K 78643K 59 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 23 0 iov 0 0K 16K 78643K 26 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1261 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 6 0K 1K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 96 0 sigio 0 0K 0K 78643K 4 0 proc 48 38K 54K 78643K 379 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 40 2K 2K 78643K 47 0 ether_multi 1 0K 0K 78643K 3 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 184 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 90 37K 37K 78643K 1038 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 8 0K 0K 78643K 12 0 temp 75 3028K 3092K 78643K 2292 0 kqueue 3 4K 8K 78643K 5 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 45 0 1 2 0 2 2 0 8 0 unpcb 120 57 0 49 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 244 0 244 2 1 1 1 0 8 1 tcpcb 544 64 0 60 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 280 124 0 117 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 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 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1532 0 131 46 0 46 46 0 8 0 ffsino 240 1532 0 131 83 0 83 83 0 8 0 nchpl 144 1846 0 236 60 0 60 60 0 8 0 uvmvnodes 72 1600 0 0 30 0 30 30 0 8 0 vnodes 208 1600 0 0 85 0 85 85 0 8 0 namei 1024 4515 0 4515 1 0 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 1 0 0 1 0 1 1 0 8 0 scxspl 192 5377 0 5377 1 0 1 1 0 8 1 plimitpl 152 17 0 10 1 0 1 1 0 8 0 sigapl 424 284 0 255 4 0 4 4 0 8 0 futexpl 56 1230 0 1230 1 0 1 1 0 8 1 knotepl 112 57 0 38 1 0 1 1 0 8 0 kqueuepl 144 20 0 18 1 0 1 1 0 8 0 pipelkpl 16 77 0 67 1 0 1 1 0 8 0 pipepl 120 154 0 135 1 0 1 1 0 8 0 fdescpl 432 269 0 255 2 0 2 2 0 8 0 filepl 120 1413 0 1317 4 0 4 4 0 8 0 lockfpl 104 92 0 91 1 0 1 1 0 8 0 lockfspl 48 33 0 32 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 73 0 65 1 0 1 1 0 8 0 zombiepl 144 255 0 255 1 0 1 1 0 8 1 processpl 920 284 0 255 4 0 4 4 0 8 0 procpl 624 370 0 334 4 0 4 4 0 8 1 sockpl 400 206 0 189 3 0 3 3 0 8 1 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 16 0 16 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 60740 0 60688 19 4 15 17 0 8 8 mtagpl 80 6 0 2 2 1 1 1 0 8 0 mbufpl 256 96685 0 96590 18 2 16 16 0 8 6 bufpl 280 4120 0 161 283 0 283 283 0 8 0 anonpl 16 38438 0 25018 59 2 57 57 0 107 1 amapchunkpl 152 1125 0 998 7 0 7 7 0 158 1 amappl16 192 1129 0 400 39 0 39 39 0 8 2 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 4 0 2 2 1 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 36 0 34 2 1 1 1 0 8 0 amappl11 152 68 0 55 1 0 1 1 0 8 0 amappl10 144 43 0 38 1 0 1 1 0 8 0 amappl9 136 361 0 357 1 0 1 1 0 8 0 amappl8 128 257 0 248 1 0 1 1 0 8 0 amappl7 120 137 0 126 1 0 1 1 0 8 0 amappl6 112 22 0 19 1 0 1 1 0 8 0 amappl5 104 273 0 259 1 0 1 1 0 8 0 amappl4 96 440 0 412 1 0 1 1 0 8 0 amappl3 88 105 0 99 1 0 1 1 0 8 0 amappl2 80 1357 0 1290 3 1 2 3 0 8 0 amappl1 72 14595 0 14192 27 13 14 20 0 8 6 amappl 80 592 0 550 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 270 0 255 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 270 0 255 1 0 1 1 0 8 0 vmmpekpl 168 5912 0 5883 2 0 2 2 0 8 0 vmmpepl 168 39152 0 37383 107 7 100 100 0 357 22 vmsppl 272 269 0 255 2 0 2 2 0 8 1 pdppl 4096 546 0 511 6 0 6 6 0 8 1 pvpl 32 135152 0 118778 141 0 141 141 0 265 8 pmappl 200 269 0 255 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 159 0 9 5 0 5 5 0 8 0