panic: receive 1: so 0xfffffd805e56c000, so_type 3, sb_cc 80 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *310920 85785 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c4f61) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c000,0,ffff80001d3725d8,0,0,ffff80001d3724e4) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805eb0c7f8,ffff80001d3725d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d3725d8,0,ffff80001d3726c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372670,ffff80001d3726c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372740) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5610, 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 0xfffffd805e56c000, so_type 3, sb_cc 80 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c4f61) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c000,0,ffff80001d3725d8,0,0,ffff80001d3724e4) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805eb0c7f8,ffff80001d3725d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d3725d8,0,ffff80001d3726c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372670,ffff80001d3726c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372740) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5610, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372320 rbx 0xffff80001d3723d0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3722e0 r9 0x1 r10 0 r11 0xb2452436302d0d6a r12 0x3000000008 r13 0xffff80001d372330 r14 0x100 r15 0x1 rip 0xffffffff82115e08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372310 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=310920 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339c38,0xffff80001d339eb8 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc09000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45921 113934 47154 0 2 0 syz-executor.1 45921 55733 47154 0 2 0x4000000 syz-executor.1 15643 34590 1 0 3 0x100083 ttyin getty 30058 115205 0 0 3 0x14200 bored sosplice 47154 44646 21640 0 2 0x482 syz-executor.1 21640 474855 32145 0 3 0x82 thrsleep syz-fuzzer 21640 499430 32145 0 2 0x4000482 syz-fuzzer 21640 146072 32145 0 2 0x4000002 syz-fuzzer 21640 50664 32145 0 3 0x4000082 thrsleep syz-fuzzer 21640 369673 32145 0 3 0x4000082 thrsleep syz-fuzzer 21640 342515 32145 0 3 0x4000082 thrsleep syz-fuzzer 21640 396948 32145 0 3 0x4000082 thrsleep syz-fuzzer 21640 515876 32145 0 3 0x4000082 thrsleep syz-fuzzer 32145 412134 57749 0 3 0x10008a pause ksh 57749 500058 21047 0 2 0x12 sshd 21047 581 1 0 3 0x80 select sshd 41055 387065 71324 73 3 0x100090 kqread syslogd 71324 242590 1 0 3 0x100082 netio syslogd 172 137972 1 77 3 0x100090 poll dhclient *85785 310920 1 0 7 0 dhclient 37349 393166 0 0 3 0x14200 bored smr 13357 3219 0 0 2 0x14200 zerothread 21413 20993 0 0 3 0x14200 aiodoned aiodoned 82493 209519 0 0 3 0x14200 syncer update 14905 243656 0 0 3 0x14200 cleaner cleaner 90339 138030 0 0 3 0x14200 reaper reaper 31857 399632 0 0 3 0x14200 pgdaemon pagedaemon 14761 323024 0 0 3 0x14200 bored crynlk 88108 277530 0 0 3 0x14200 bored crypto 84472 405144 0 0 3 0x40014200 acpi0 acpi0 92622 231542 0 0 3 0x14200 bored softnet 16902 519069 0 0 3 0x14200 bored systqmp 1062 146593 0 0 3 0x14200 bored systq 31115 105230 0 0 3 0x40014200 bored softclock 72173 51107 0 0 3 0x40014200 idle0 1 434913 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 9511 6355K 6860K 78643K 11385 0 pcb 13 8K 8K 78643K 381 0 rtable 87 11K 12K 78643K 643 0 ifaddr 84 17K 19K 78643K 177 0 counters 20 16K 16K 78643K 33 0 ioctlops 0 0K 2K 78643K 69 0 iov 0 0K 24K 78643K 102 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1533 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 60 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 789 0 sigio 0 0K 0K 78643K 4 0 proc 52 38K 55K 78643K 535 0 subproc 31 1K 3K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 48 0 in_multi 97 4K 5K 78643K 199 0 ether_multi 1 0K 0K 78643K 133 0 mrt 0 0K 0K 78643K 274 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 259 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 121 87K 111K 78643K 2679 0 UVM aobj 14 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 121 0 NDP 12 0K 0K 78643K 34 0 temp 113 3034K 3099K 78643K 13418 0 kqueue 3 4K 16K 78643K 55 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 16 0 10 1 0 1 1 0 8 0 rtpcb 80 47 0 45 1 0 1 1 0 8 0 rtentry 112 130 0 98 2 0 2 2 0 8 0 unpcb 120 477 0 469 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 217 0 217 1 1 0 1 0 8 0 tcpcb 544 202 0 198 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 48 0 48 1 1 0 1 0 8 0 inpcb 280 1989 0 1975 2 0 2 2 0 8 0 rttmr 72 44 0 44 1 0 1 1 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 48 14 0 13 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 359 0 220 17 4 13 14 0 8 3 art_table 32 360 0 220 2 0 2 2 0 8 0 art_node 16 129 0 100 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 13 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 54 0 44 1 0 1 1 0 8 0 shmpl 112 16 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2424 0 1032 46 0 46 46 0 8 0 ffsino 240 2424 0 1032 83 0 83 83 0 8 0 nchpl 144 3632 0 2038 60 0 60 60 0 8 0 uvmvnodes 72 2687 0 0 49 0 49 49 0 8 0 vnodes 208 2687 0 0 142 0 142 142 0 8 0 namei 1024 9640 0 9640 2 1 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 17 0 9 1 0 1 1 0 8 0 scxspl 192 11911 0 11911 2 1 1 1 0 8 1 plimitpl 152 73 0 66 1 0 1 1 0 8 0 sigapl 424 971 0 942 4 0 4 4 0 8 0 futexpl 56 15614 0 15614 2 1 1 1 0 8 1 knotepl 112 148 0 131 1 0 1 1 0 8 0 kqueuepl 144 108 0 105 1 0 1 1 0 8 0 pipelkpl 16 190 0 181 1 0 1 1 0 8 0 pipepl 120 380 0 365 1 0 1 1 0 8 0 fdescpl 432 956 0 942 2 0 2 2 0 8 0 filepl 120 5993 0 5887 5 0 5 5 0 8 1 lockfpl 104 238 0 237 1 0 1 1 0 8 0 lockfspl 48 71 0 70 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 571 0 564 1 0 1 1 0 8 0 zombiepl 144 943 0 942 1 0 1 1 0 8 0 processpl 920 971 0 942 4 0 4 4 0 8 0 procpl 624 1853 0 1816 4 0 4 4 0 8 0 sosppl 128 14 0 14 2 2 0 1 0 8 0 sockpl 400 2541 0 2519 6 2 4 5 0 8 1 mcl64k 65536 87 0 86 3 2 1 2 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 19 0 19 2 1 1 1 0 8 1 mcl9k 9216 8 0 8 4 3 1 1 0 8 1 mcl8k 8192 18 0 18 2 1 1 1 0 8 1 mcl4k 4096 48 0 46 4 3 1 1 0 8 0 mcl2k2 2112 6 0 6 3 2 1 1 0 8 1 mcl2k 2048 63753 0 63697 18 10 8 15 0 8 0 mtagpl 80 44 0 22 2 1 1 1 0 8 0 mbufpl 256 106354 0 106024 33 3 30 30 0 8 1 bufpl 280 6005 0 621 385 0 385 385 0 8 0 anonpl 16 101485 0 87071 87 14 73 73 0 107 11 amapchunkpl 152 5282 0 5122 33 12 21 21 0 158 13 amappl16 192 4634 0 3810 67 14 53 53 0 8 10 amappl15 184 345 0 341 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 228 0 226 1 0 1 1 0 8 0 amappl12 160 3 0 3 1 1 0 1 0 8 0 amappl11 152 201 0 188 1 0 1 1 0 8 0 amappl10 144 82 0 78 1 0 1 1 0 8 0 amappl9 136 383 0 380 1 0 1 1 0 8 0 amappl8 128 335 0 312 1 0 1 1 0 8 0 amappl7 120 177 0 166 1 0 1 1 0 8 0 amappl6 112 158 0 153 1 0 1 1 0 8 0 amappl5 104 748 0 735 1 0 1 1 0 8 0 amappl4 96 796 0 765 1 0 1 1 0 8 0 amappl3 88 135 0 129 1 0 1 1 0 8 0 amappl2 80 7076 0 7005 3 1 2 3 0 8 0 amappl1 72 26829 0 26425 25 16 9 20 0 8 0 amappl 80 2132 0 2078 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 17 0 4 1 0 1 1 0 8 0 uaddrrnd 24 973 0 951 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 973 0 951 1 0 1 1 0 8 0 vmmpekpl 168 9239 0 9208 2 0 2 2 0 8 0 vmmpepl 168 119076 0 117116 171 55 116 124 0 357 26 vmsppl 272 972 0 951 2 0 2 2 0 8 0 pdppl 4096 1952 0 1910 7 1 6 6 0 8 0 pvpl 32 289020 0 272116 196 20 176 176 0 265 33 pmappl 200 972 0 951 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 189 0 30 5 0 5 5 0 8 0