panic: receive 3: so 0xfffffd805e563320, so_type 3, m 0xfffffd805c989200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 21529 87143 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad441) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e563320,0,ffff80001d372898,0,0,ffff80001d3727a4) at soreceive+0x16e7 soo_read(fffffd805eb135a0,ffff80001d372898,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339c38,6,ffff80001d372898,0,ffff80001d372980) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339c38,ffff80001d372930,ffff80001d372980) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd3770, 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 0xfffffd805e563320, so_type 3, m 0xfffffd805c989200, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad441) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e563320,0,ffff80001d372898,0,0,ffff80001d3727a4) at soreceive+0x16e7 soo_read(fffffd805eb135a0,ffff80001d372898,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339c38,6,ffff80001d372898,0,ffff80001d372980) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339c38,ffff80001d372930,ffff80001d372980) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd3770, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3725e0 rbx 0xffff80001d372690 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3725a0 r9 0x1 r10 0 r11 0xeb05fc4da210f996 r12 0x3000000008 r13 0xffff80001d3725f0 r14 0x100 r15 0x1 rip 0xffffffff8144c198 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3725d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=21529 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d3399c8,0xffff80001d33a128 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60443 494482 96030 0 2 0 syz-executor.1 60443 318507 96030 0 2 0x4000000 syz-executor.1 93059 451685 82790 0 2 0 syz-executor.0 93059 237817 82790 0 3 0x4000080 wsevent_read syz-executor.0 93059 195554 82790 0 3 0x4000080 poll syz-executor.0 93059 246512 82790 0 3 0x4000080 fsleep syz-executor.0 82790 28568 71120 0 2 0x482 syz-executor.0 96030 391973 71120 0 2 0x482 syz-executor.1 71120 246733 46125 0 3 0x82 thrsleep syz-fuzzer 71120 427200 46125 0 3 0x4000082 thrsleep syz-fuzzer 71120 248563 46125 0 3 0x4000082 thrsleep syz-fuzzer 71120 303351 46125 0 3 0x4000082 thrsleep syz-fuzzer 71120 182920 46125 0 3 0x4000082 thrsleep syz-fuzzer 71120 339485 46125 0 3 0x4000082 kqread syz-fuzzer 71120 94478 46125 0 3 0x4000082 thrsleep syz-fuzzer 46125 175436 66094 0 3 0x10008a pause ksh 66094 288494 54541 0 3 0x92 select sshd 27613 479967 1 0 3 0x100083 ttyin getty 54541 262388 1 0 3 0x80 select sshd 77419 491561 43931 73 3 0x100090 kqread syslogd 43931 435393 1 0 3 0x100082 netio syslogd 53299 47400 1 77 2 0x100010 dhclient *87143 21529 1 0 7 0 dhclient 65052 397404 0 0 2 0x14200 zerothread 14022 26992 0 0 3 0x14200 aiodoned aiodoned 99765 50734 0 0 3 0x14200 syncer update 70695 274096 0 0 3 0x14200 cleaner cleaner 86035 149574 0 0 3 0x14200 reaper reaper 25073 67055 0 0 3 0x14200 pgdaemon pagedaemon 70166 436470 0 0 3 0x14200 bored crynlk 15397 378785 0 0 3 0x14200 bored crypto 27849 501727 0 0 3 0x40014200 acpi0 acpi0 40001 397498 0 0 3 0x14200 bored softnet 32476 494757 0 0 3 0x14200 bored systqmp 95934 363441 0 0 3 0x14200 bored systq 78774 35124 0 0 3 0x40014200 bored softclock 6176 312518 0 0 3 0x40014200 idle0 44893 99426 0 0 3 0x14200 bored smr 1 513559 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 9460 6335K 6842K 78643K 10675 0 pcb 13 8K 8K 78643K 31 0 rtable 99 2K 3K 78643K 202 0 ifaddr 43 10K 10K 78643K 51 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 17 0 iov 0 0K 12K 78643K 10 0 mount 1 1K 1K 78643K 1 0 vnodes 1228 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 12 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 72 0 sigio 0 0K 0K 78643K 4 0 proc 48 38K 63K 78643K 366 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 26 0 in_multi 29 1K 2K 78643K 42 0 ether_multi 1 0K 0K 78643K 1 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 183 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 95 21K 21K 78643K 971 0 UVM aobj 4 2K 2K 78643K 4 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 6 0K 0K 78643K 11 0 temp 72 3009K 3073K 78643K 1935 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 49 0 8 2 0 2 2 0 8 0 unpcb 120 69 0 61 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 88 0 88 1 0 1 1 0 8 1 tcpcb 544 44 0 40 1 0 1 1 0 8 0 inpcb 280 112 0 104 2 0 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 40 13 0 13 13 0 8 0 art_table 32 213 0 40 2 0 2 2 0 8 0 art_node 16 48 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1476 0 75 46 0 46 46 0 8 0 ffsino 240 1476 0 75 83 0 83 83 0 8 0 nchpl 144 1767 0 155 60 0 60 60 0 8 0 uvmvnodes 72 1550 0 0 29 0 29 29 0 8 0 vnodes 208 1550 0 0 82 0 82 82 0 8 0 namei 1024 4315 0 4315 1 0 1 1 0 8 1 scxspl 192 4960 0 4960 1 0 1 1 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 432 243 0 229 2 0 2 2 0 8 0 futexpl 56 1147 0 1146 1 0 1 1 0 8 0 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 28 0 26 1 0 1 1 0 8 0 pipelkpl 16 69 0 59 1 0 1 1 0 8 0 pipepl 120 138 0 119 1 0 1 1 0 8 0 fdescpl 432 244 0 229 2 0 2 2 0 8 0 filepl 120 1347 0 1248 5 0 5 5 0 8 2 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 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 85 0 78 1 0 1 1 0 8 0 zombiepl 144 229 0 229 1 0 1 1 0 8 1 processpl 896 258 0 229 4 0 4 4 0 8 0 procpl 624 311 0 272 3 0 3 3 0 8 0 sockpl 400 209 0 191 5 0 5 5 0 8 3 mcl64k 65536 10 0 10 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 14 0 14 2 1 1 1 0 8 1 mcl2k 2048 63274 0 63228 16 3 13 13 0 8 6 mtagpl 80 12 0 2 2 1 1 1 0 8 0 mbufpl 256 100576 0 100469 21 2 19 19 0 8 5 bufpl 280 4006 0 161 275 0 275 275 0 8 0 anonpl 16 38138 0 22589 65 2 63 63 0 107 0 amapchunkpl 152 1152 0 1014 8 0 8 8 0 158 1 amappl16 192 1110 0 250 43 0 43 43 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 45 0 41 1 0 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 81 0 67 1 0 1 1 0 8 0 amappl10 144 21 0 17 1 0 1 1 0 8 0 amappl9 136 384 0 381 1 0 1 1 0 8 0 amappl8 128 264 0 247 1 0 1 1 0 8 0 amappl7 120 105 0 95 1 0 1 1 0 8 0 amappl6 112 42 0 37 1 0 1 1 0 8 0 amappl5 104 165 0 154 1 0 1 1 0 8 0 amappl4 96 455 0 424 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 1154 0 1082 3 1 2 3 0 8 0 amappl1 72 13931 0 13501 25 10 15 20 0 8 6 amappl 80 531 0 486 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 244 0 229 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 244 0 229 1 0 1 1 0 8 0 vmmpekpl 168 5748 0 5724 2 0 2 2 0 8 0 vmmpepl 168 36538 0 34517 113 4 109 109 0 357 21 vmsppl 272 243 0 229 2 0 2 2 0 8 1 pdppl 4096 494 0 458 6 0 6 6 0 8 1 pvpl 32 130604 0 112029 150 0 150 150 0 265 0 pmappl 200 243 0 229 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 162 0 8 5 0 5 5 0 8 0