panic: receive 3: so 0xfffffd805f64a320, so_type 3, m 0xfffffd805a9f0400, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *153077 14334 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abad6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805f64a320,0,ffff80001d3720c8,0,0,ffff80001d371fd4) at soreceive+0x16e7 soo_read(fffffd805f702618,ffff80001d3720c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d3720c8,0,ffff80001d3721b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372160,ffff80001d3721b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372230) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1d20, 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 0xfffffd805f64a320, so_type 3, m 0xfffffd805a9f0400, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abad6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805f64a320,0,ffff80001d3720c8,0,0,ffff80001d371fd4) at soreceive+0x16e7 soo_read(fffffd805f702618,ffff80001d3720c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d3720c8,0,ffff80001d3721b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372160,ffff80001d3721b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372230) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1d20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371e10 rbx 0xffff80001d371ec0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371dd0 r9 0x1 r10 0 r11 0xd2fd993c1cd853fc r12 0x3000000008 r13 0xffff80001d371e20 r14 0x100 r15 0x1 rip 0xffffffff81d79408 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371e00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=153077 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339288 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc09110 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65971 255998 47890 0 2 0 syz-executor.0 65971 416006 47890 0 2 0x4000000 syz-executor.0 34305 148819 59045 0 2 0 syz-executor.1 34305 125457 59045 0 3 0x4000080 fsleep syz-executor.1 18820 8619 0 0 3 0x14200 bored sosplice 47890 519718 4622 0 3 0x82 nanosleep syz-executor.0 59045 346663 4622 0 3 0x82 nanosleep syz-executor.1 4622 25612 4499 0 3 0x82 thrsleep syz-fuzzer 4622 41245 4499 0 3 0x4000082 thrsleep syz-fuzzer 4622 42198 4499 0 3 0x4000082 kqread syz-fuzzer 4622 381028 4499 0 3 0x4000082 thrsleep syz-fuzzer 4622 357262 4499 0 3 0x4000082 thrsleep syz-fuzzer 4622 510579 4499 0 3 0x4000082 thrsleep syz-fuzzer 4622 79606 4499 0 3 0x4000082 thrsleep syz-fuzzer 4499 373900 18583 0 3 0x10008a pause ksh 18583 310372 31394 0 3 0x92 select sshd 90566 380907 1 0 3 0x100083 ttyin getty 31394 413299 1 0 3 0x80 select sshd 31077 184138 22209 73 3 0x100090 kqread syslogd 22209 52411 1 0 3 0x100082 netio syslogd 31576 20918 1 77 2 0x100010 dhclient *14334 153077 1 0 7 0 dhclient 59299 125556 0 0 2 0x14200 zerothread 79889 17301 0 0 3 0x14200 aiodoned aiodoned 1083 157652 0 0 3 0x14200 syncer update 57168 415480 0 0 3 0x14200 cleaner cleaner 16510 337494 0 0 3 0x14200 reaper reaper 89695 241761 0 0 3 0x14200 pgdaemon pagedaemon 50056 266632 0 0 3 0x14200 bored crynlk 17972 263428 0 0 3 0x14200 bored crypto 20635 142709 0 0 3 0x40014200 acpi0 acpi0 59637 523805 0 0 3 0x14200 bored softnet 9706 278386 0 0 3 0x14200 bored systqmp 54307 511696 0 0 3 0x14200 bored systq 60102 319699 0 0 3 0x40014200 bored softclock 76034 34916 0 0 3 0x40014200 idle0 8383 54282 0 0 3 0x14200 bored smr 1 53218 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 6337K 6589K 78643K 10710 0 pcb 13 8K 8K 78643K 36 0 rtable 112 3K 4K 78643K 217 0 ifaddr 76 16K 16K 78643K 82 0 counters 22 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 19 0 iov 0 0K 12K 78643K 16 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1256 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 10 0K 0K 78643K 24 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 174 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 0 0K 0K 78643K 3 0 in_multi 83 3K 3K 78643K 88 0 ether_multi 1 0K 0K 78643K 3 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 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 189 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 104 21K 23K 78643K 1209 0 UVM aobj 12 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 10 0K 0K 78643K 14 0 temp 86 3009K 3073K 78643K 4089 0 kqueue 3 4K 10K 78643K 7 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 23 0 21 1 0 1 1 0 8 0 rtentry 112 48 0 2 2 0 2 2 0 8 0 unpcb 120 127 0 119 2 1 1 2 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 82 0 82 1 1 0 1 0 8 0 tcpcb 544 50 0 46 2 0 2 2 0 8 1 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 90 0 90 1 0 1 1 0 8 1 inpcb 280 198 0 191 2 0 2 2 0 8 1 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 3 0 3 1 0 1 1 0 8 1 nd6 48 8 0 1 1 0 1 1 0 8 0 ppxss 1128 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 218 0 9 14 0 14 14 0 8 0 art_table 32 220 0 9 2 0 2 2 0 8 0 art_node 16 47 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 22 0 14 1 0 1 1 0 8 0 shmpl 112 18 0 8 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1589 0 188 46 0 46 46 0 8 0 ffsino 240 1589 0 188 83 0 83 83 0 8 0 nchpl 144 1999 0 388 60 0 60 60 0 8 0 uvmvnodes 72 1653 0 0 31 0 31 31 0 8 0 vnodes 208 1653 0 0 87 0 87 87 0 8 0 namei 1024 5089 0 5089 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 1 0 1 1 0 8 0 scxspl 192 5872 0 5872 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 432 345 0 331 2 0 2 2 0 8 0 futexpl 56 2848 0 2847 1 0 1 1 0 8 0 knotepl 112 58 0 39 1 0 1 1 0 8 0 kqueuepl 144 26 0 24 1 0 1 1 0 8 0 pipelkpl 16 87 0 77 1 0 1 1 0 8 0 pipepl 120 174 0 155 1 0 1 1 0 8 0 fdescpl 432 346 0 331 2 0 2 2 0 8 0 filepl 120 1924 0 1828 5 1 4 5 0 8 1 lockfpl 104 17 0 16 1 0 1 1 0 8 0 lockfspl 48 8 0 7 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 152 0 145 1 0 1 1 0 8 0 zombiepl 144 331 0 331 1 0 1 1 0 8 1 processpl 896 361 0 331 4 0 4 4 0 8 0 procpl 624 526 0 488 4 0 4 4 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 351 0 334 7 2 5 7 0 8 3 mcl64k 65536 20 0 20 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 4 0 4 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 18 0 18 2 1 1 1 0 8 1 mcl2k 2048 61269 0 61223 22 12 10 17 0 8 3 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 98403 0 98293 25 3 22 22 0 8 13 bufpl 280 4141 0 160 285 0 285 285 0 8 0 anonpl 16 58022 0 41055 85 2 83 83 0 107 13 amapchunkpl 152 1468 0 1323 8 1 7 8 0 158 1 amappl16 192 2314 0 1368 65 5 60 60 0 8 12 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 69 0 65 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 8 0 6 2 1 1 1 0 8 0 amappl11 152 59 0 47 1 0 1 1 0 8 0 amappl10 144 13 0 9 1 0 1 1 0 8 0 amappl9 136 448 0 441 1 0 1 1 0 8 0 amappl8 128 354 0 332 1 0 1 1 0 8 0 amappl7 120 105 0 95 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 316 0 303 1 0 1 1 0 8 0 amappl4 96 434 0 404 1 0 1 1 0 8 0 amappl3 88 175 0 168 1 0 1 1 0 8 0 amappl2 80 1973 0 1900 3 1 2 3 0 8 0 amappl1 72 15416 0 14994 26 17 9 20 0 8 0 amappl 80 752 0 707 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 19 0 8 1 0 1 1 0 8 0 uaddrrnd 24 350 0 333 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 350 0 333 1 0 1 1 0 8 0 vmmpekpl 168 6195 0 6165 2 0 2 2 0 8 0 vmmpepl 168 48913 0 46776 118 9 109 113 0 357 16 vmsppl 272 349 0 333 2 0 2 2 0 8 0 pdppl 4096 706 0 668 6 0 6 6 0 8 1 pvpl 32 165233 0 145761 199 1 198 199 0 265 39 pmappl 200 349 0 333 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 178 0 20 5 0 5 5 0 8 0