panic(ffffffff821b0928) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e577320,0,ffff80001d372278,0,0,ffff80001d372184) at soreceive+0x16e7 soo_read(fffffd805eb114b0,ffff80001d372278,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372278,0,ffff80001d372360) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372310,ffff80001d372360) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3723e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc72a0, 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 0xfffffd805e577320, so_type 3, m 0xfffffd805c6d1600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b0928) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e577320,0,ffff80001d372278,0,0,ffff80001d372184) at soreceive+0x16e7 soo_read(fffffd805eb114b0,ffff80001d372278,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372278,0,ffff80001d372360) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372310,ffff80001d372360) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3723e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc72a0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371fc0 rbx 0xffff80001d372070 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371f80 r9 0x1 r10 0 r11 0xf86094b0cd3d5976 r12 0x3000000008 r13 0xffff80001d371fd0 r14 0x100 r15 0x1 rip 0xffffffff815717b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371fb0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=395130 stat=onproc flags process=0 proc=0 pri=24, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d3399d8 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc09330 estcpu=4, cpticks=16, pctcpu=0.0 user=0, sys=16, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18602 378945 22759 0 3 0x80 fsleep syz-executor.1 18602 367672 22759 0 2 0x4000000 syz-executor.1 23954 380564 1 0 3 0x100083 ttyin getty 99426 99670 27569 0 2 0x482 syz-executor.0 22759 513456 27569 0 2 0x482 syz-executor.1 33261 496404 0 0 3 0x14200 bored sosplice 27569 204872 62772 0 3 0x82 thrsleep syz-fuzzer 27569 237136 62772 0 2 0x4000482 syz-fuzzer 27569 397997 62772 0 3 0x4000082 kqread syz-fuzzer 27569 162370 62772 0 3 0x4000082 thrsleep syz-fuzzer 27569 391556 62772 0 3 0x4000082 thrsleep syz-fuzzer 27569 30813 62772 0 3 0x4000082 thrsleep syz-fuzzer 27569 302582 62772 0 3 0x4000082 thrsleep syz-fuzzer 27569 72464 62772 0 3 0x4000082 thrsleep syz-fuzzer 27569 117662 62772 0 3 0x4000082 thrsleep syz-fuzzer 62772 365973 74319 0 3 0x10008a pause ksh 74319 410228 71762 0 3 0x92 select sshd 71762 42381 1 0 3 0x80 select sshd 90754 408385 50539 73 3 0x100090 kqread syslogd 50539 213699 1 0 3 0x100082 netio syslogd 29038 15951 1 77 2 0x100010 dhclient *20070 395130 1 0 7 0 dhclient 70694 279670 0 0 2 0x14200 smr 54061 292259 0 0 2 0x14200 zerothread 55670 298182 0 0 3 0x14200 aiodoned aiodoned 53049 412753 0 0 3 0x14200 syncer update 55560 407648 0 0 3 0x14200 cleaner cleaner 27325 201447 0 0 3 0x14200 reaper reaper 43944 519747 0 0 3 0x14200 pgdaemon pagedaemon 92328 214241 0 0 3 0x14200 bored crynlk 72373 448462 0 0 3 0x14200 bored crypto 44312 61876 0 0 3 0x40014200 acpi0 acpi0 82612 441572 0 0 3 0x14200 bored softnet 10660 238111 0 0 2 0x14200 systqmp 97786 91630 0 0 3 0x14200 bored systq 77817 73520 0 0 2 0x40014200 softclock 45623 132489 0 0 3 0x40014200 idle0 1 33951 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 9494 6473K 7104K 78643K 11278 0 pcb 13 8K 8K 78643K 69 0 rtable 66 4K 4K 78643K 394 0 ifaddr 49 10K 13K 78643K 100 0 counters 20 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 28 0 iov 0 0K 12K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 78K 78643K 1566 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 78 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 293 0 proc 49 38K 55K 78643K 518 0 subproc 32 2K 2K 78643K 85 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 35 2K 3K 78643K 119 0 ether_multi 1 0K 0K 78643K 12 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 254 0 pfkey data 0 0K 0K 78643K 2 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 112 38K 38K 78643K 1590 0 UVM aobj 44 4K 4K 78643K 44 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 8 0K 0K 78643K 24 0 temp 86 3010K 3074K 78643K 15235 0 kqueue 3 4K 18K 78643K 29 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 14 0 12 1 0 1 1 0 8 0 rtpcb 80 43 0 41 1 0 1 1 0 8 0 rtentry 112 90 0 67 2 0 2 2 0 8 0 unpcb 120 136 0 128 1 0 1 1 0 8 0 syncache 264 13 0 13 3 2 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 124 0 124 2 2 0 1 0 8 0 tcpcb 544 157 0 152 1 0 1 1 0 8 0 ipq 40 4 0 4 1 1 0 1 0 8 0 ipqe 40 94 0 94 1 1 0 1 0 8 0 inpcb 280 400 0 391 3 1 2 2 0 8 1 nd6 48 16 0 16 1 0 1 1 0 8 1 pkpcb 40 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 365 0 246 14 3 11 14 0 8 2 art_table 32 367 0 246 2 0 2 2 0 8 0 art_node 16 89 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 42 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1751 0 352 46 0 46 46 0 8 0 ffsino 240 1751 0 352 83 0 83 83 0 8 0 nchpl 144 2384 0 795 60 0 60 60 0 8 0 uvmvnodes 72 2088 0 0 38 0 38 38 0 8 0 vnodes 208 2088 0 0 110 0 110 110 0 8 0 namei 1024 6849 0 6849 2 1 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 192 11531 0 11531 1 0 1 1 0 8 1 plimitpl 152 38 0 31 1 0 1 1 0 8 0 sigapl 424 472 0 443 4 0 4 4 0 8 0 futexpl 56 6230 0 6229 3 2 1 1 0 8 0 knotepl 112 131 0 112 1 0 1 1 0 8 0 kqueuepl 144 70 0 68 1 0 1 1 0 8 0 pipelkpl 16 131 0 121 1 0 1 1 0 8 0 pipepl 120 262 0 243 1 0 1 1 0 8 0 fdescpl 432 457 0 443 2 0 2 2 0 8 0 filepl 120 3211 0 3115 6 2 4 5 0 8 0 lockfpl 104 62 0 61 1 0 1 1 0 8 0 lockfspl 48 26 0 25 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 47 0 37 1 0 1 1 0 8 0 ucredpl 96 353 0 346 1 0 1 1 0 8 0 zombiepl 144 443 0 442 2 1 1 1 0 8 0 processpl 896 472 0 442 4 0 4 4 0 8 0 procpl 624 767 0 728 5 1 4 4 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 400 588 0 569 7 3 4 4 0 8 2 mcl64k 65536 24 0 24 4 3 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 7 0 7 2 1 1 1 0 8 1 mcl9k 9216 7 0 7 3 2 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 39 0 39 4 3 1 1 0 8 1 mcl2k2 2112 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 58564 0 58506 20 12 8 17 0 8 0 mtagpl 80 22 0 22 2 1 1 1 0 8 1 mbufpl 256 96128 0 95990 27 16 11 22 0 8 0 bufpl 280 6003 0 619 385 0 385 385 0 8 0 anonpl 16 66299 0 49365 93 10 83 83 0 107 13 amapchunkpl 152 3589 0 3451 21 13 8 20 0 158 2 amappl16 192 2262 0 1322 59 3 56 59 0 8 8 amappl15 184 105 0 101 1 0 1 1 0 8 0 amappl14 176 102 0 100 2 1 1 1 0 8 0 amappl13 168 47 0 46 1 0 1 1 0 8 0 amappl12 160 7 0 5 2 1 1 1 0 8 0 amappl11 152 75 0 62 1 0 1 1 0 8 0 amappl10 144 12 0 8 1 0 1 1 0 8 0 amappl9 136 388 0 385 1 0 1 1 0 8 0 amappl8 128 352 0 326 1 0 1 1 0 8 0 amappl7 120 128 0 115 1 0 1 1 0 8 0 amappl6 112 28 0 22 1 0 1 1 0 8 0 amappl5 104 282 0 269 1 0 1 1 0 8 0 amappl4 96 585 0 554 1 0 1 1 0 8 0 amappl3 88 212 0 206 1 0 1 1 0 8 0 amappl2 80 2738 0 2672 3 1 2 3 0 8 0 amappl1 72 18556 0 18151 25 16 9 20 0 8 0 amappl 80 1039 0 995 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 43 0 0 1 0 1 1 0 8 0 uaddrrnd 24 459 0 443 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 459 0 443 1 0 1 1 0 8 0 vmmpekpl 168 7083 0 7052 2 0 2 2 0 8 0 vmmpepl 168 63714 0 61704 139 39 100 117 0 357 7 vmsppl 272 458 0 443 4 2 2 2 0 8 0 pdppl 4096 924 0 888 6 1 5 6 0 8 0 pvpl 32 235966 0 215963 300 42 258 300 0 265 95 pmappl 200 458 0 443 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 187 0 48 5 0 5 5 0 8 0