panic: receive 3: so 0xfffffd805e55e000, so_type 3, m 0xfffffd805a45f600, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *347719 90870 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ac86c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55e000,0,ffff80001d372058,0,0,ffff80001d371f64) at soreceive+0x16e7 soo_read(fffffd805eb100f0,ffff80001d372058,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339ea8,6,ffff80001d372058,0,ffff80001d372140) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339ea8,ffff80001d3720f0,ffff80001d372140) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3721c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffa8a0, 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 0xfffffd805e55e000, so_type 3, m 0xfffffd805a45f600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ac86c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55e000,0,ffff80001d372058,0,0,ffff80001d371f64) at soreceive+0x16e7 soo_read(fffffd805eb100f0,ffff80001d372058,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339ea8,6,ffff80001d372058,0,ffff80001d372140) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339ea8,ffff80001d3720f0,ffff80001d372140) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3721c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffa8a0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371da0 rbx 0xffff80001d371e50 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371d60 r9 0x1 r10 0 r11 0xb18a12981f50aaf8 r12 0x3000000008 r13 0xffff80001d371db0 r14 0x100 r15 0x1 rip 0xffffffff8209c498 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371d90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=347719 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d3399c8,0xffff80001d33a128 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 4987 514265 36855 0 2 0 syz-executor.0 4987 494532 36855 0 2 0x4000000 syz-executor.0 95421 477418 30638 0 3 0x80 nanosleep syz-executor.1 95421 348018 30638 0 3 0x4000080 poll syz-executor.1 95421 235797 30638 0 3 0x4000080 fsleep syz-executor.1 81700 332170 0 0 3 0x14200 bored sosplice 91835 176946 0 0 3 0x14200 acct acct 30638 410731 31755 0 3 0x82 nanosleep syz-executor.1 36855 426190 31755 0 3 0x82 nanosleep syz-executor.0 31755 131666 19002 0 3 0x82 thrsleep syz-fuzzer 31755 63831 19002 0 3 0x4000082 thrsleep syz-fuzzer 31755 407602 19002 0 3 0x4000082 kqread syz-fuzzer 31755 186200 19002 0 3 0x4000082 thrsleep syz-fuzzer 31755 203433 19002 0 3 0x4000082 thrsleep syz-fuzzer 31755 36912 19002 0 3 0x4000082 thrsleep syz-fuzzer 31755 289355 19002 0 3 0x4000082 thrsleep syz-fuzzer 19002 499094 10994 0 3 0x10008a pause ksh 10994 114646 4578 0 3 0x92 select sshd 96134 387741 1 0 3 0x100083 ttyin getty 4578 94558 1 0 3 0x80 select sshd 76838 160668 98368 73 3 0x100090 kqread syslogd 98368 185467 1 0 3 0x100082 netio syslogd 67843 108829 1 77 2 0x100010 dhclient *90870 347719 1 0 7 0 dhclient 61467 450132 0 0 2 0x14200 zerothread 27926 166544 0 0 3 0x14200 aiodoned aiodoned 46064 312802 0 0 3 0x14200 syncer update 1970 490142 0 0 3 0x14200 cleaner cleaner 17853 200709 0 0 3 0x14200 reaper reaper 80303 440637 0 0 3 0x14200 pgdaemon pagedaemon 39492 172502 0 0 3 0x14200 bored crynlk 90802 18384 0 0 3 0x14200 bored crypto 14702 242223 0 0 3 0x40014200 acpi0 acpi0 24286 259318 0 0 2 0x14200 softnet 99689 55829 0 0 3 0x14200 bored systqmp 31744 253322 0 0 3 0x14200 bored systq 54017 203057 0 0 3 0x40014200 bored softclock 61752 269963 0 0 3 0x40014200 idle0 53610 521110 0 0 3 0x14200 bored smr 1 63822 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 9491 6340K 6582K 78643K 10671 0 pcb 13 9K 9K 78643K 67 0 rtable 104 3K 3K 78643K 269 0 ifaddr 67 13K 13K 78643K 98 0 counters 22 16K 16K 78643K 27 0 ioctlops 0 0K 2K 78643K 23 0 iov 0 0K 12K 78643K 136 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1291 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 36 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 221 0 sigio 0 0K 0K 78643K 10 0 proc 49 38K 54K 78643K 368 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 27 0 in_multi 43 2K 2K 78643K 80 0 ether_multi 1 0K 0K 78643K 11 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 196 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 107 37K 42K 78643K 1361 0 UVM aobj 9 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 60 0 NDP 11 0K 0K 78643K 21 0 temp 102 3020K 3084K 78643K 3094 0 kqueue 3 4K 12K 78643K 25 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 34 0 31 1 0 1 1 0 8 0 rtentry 112 54 0 12 2 0 2 2 0 8 0 unpcb 120 289 0 279 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 131 0 131 1 1 0 1 0 8 0 tcpcb 544 112 0 108 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 280 542 0 532 4 1 3 3 0 8 2 rttmr 72 4 0 4 1 0 1 1 0 8 1 nd6 48 8 0 3 1 0 1 1 0 8 0 ppxss 1128 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 228 0 40 13 0 13 13 0 8 0 art_table 32 229 0 40 2 0 2 2 0 8 0 art_node 16 53 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 10 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 34 0 24 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1739 0 337 46 0 46 46 0 8 0 ffsino 240 1739 0 337 83 0 83 83 0 8 0 nchpl 144 2282 0 669 60 0 60 60 0 8 0 uvmvnodes 72 1798 0 0 33 0 33 33 0 8 0 vnodes 208 1798 0 0 95 0 95 95 0 8 0 namei 1024 5833 0 5833 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 6527 0 6527 1 0 1 1 0 8 1 plimitpl 152 28 0 21 1 0 1 1 0 8 0 sigapl 432 392 0 378 2 0 2 2 0 8 0 futexpl 56 5639 0 5638 1 0 1 1 0 8 0 knotepl 112 76 0 57 1 0 1 1 0 8 0 kqueuepl 144 36 0 34 1 0 1 1 0 8 0 pipelkpl 16 127 0 117 1 0 1 1 0 8 0 pipepl 120 254 0 235 1 0 1 1 0 8 0 fdescpl 432 393 0 378 2 0 2 2 0 8 0 filepl 120 2834 0 2732 5 1 4 5 0 8 0 lockfpl 104 69 0 67 1 0 1 1 0 8 0 lockfspl 48 20 0 18 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 48 0 38 1 0 1 1 0 8 0 ucredpl 96 303 0 295 1 0 1 1 0 8 0 zombiepl 144 378 0 378 1 0 1 1 0 8 1 processpl 896 409 0 378 4 0 4 4 0 8 0 procpl 624 654 0 614 4 0 4 4 0 8 0 sockpl 400 885 0 863 7 1 6 7 0 8 3 mcl64k 65536 28 0 28 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 10 0 10 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 1 0 1 1 0 8 1 mcl4k 4096 26 0 26 2 1 1 1 0 8 1 mcl2k2 2112 2 0 1 1 0 1 1 0 8 0 mcl2k 2048 63218 0 63171 16 7 9 14 0 8 2 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 102077 0 101927 18 4 14 16 0 8 4 bufpl 280 5111 0 164 354 0 354 354 0 8 0 anonpl 16 58072 0 41651 82 1 81 81 0 107 15 amapchunkpl 152 1892 0 1755 9 0 9 9 0 158 1 amappl16 192 2178 0 1272 57 4 53 57 0 8 7 amappl15 184 199 0 193 1 0 1 1 0 8 0 amappl14 176 3 0 2 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 150 0 136 1 0 1 1 0 8 0 amappl10 144 18 0 12 1 0 1 1 0 8 0 amappl9 136 384 0 381 1 0 1 1 0 8 0 amappl8 128 273 0 255 1 0 1 1 0 8 0 amappl7 120 108 0 96 1 0 1 1 0 8 0 amappl6 112 111 0 107 1 0 1 1 0 8 0 amappl5 104 238 0 224 1 0 1 1 0 8 0 amappl4 96 530 0 498 1 0 1 1 0 8 0 amappl3 88 119 0 114 1 0 1 1 0 8 0 amappl2 80 2457 0 2382 3 1 2 3 0 8 0 amappl1 72 16632 0 16190 26 17 9 20 0 8 0 amappl 80 900 0 855 2 1 1 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 394 0 378 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 394 0 378 1 0 1 1 0 8 0 vmmpekpl 168 6602 0 6571 2 0 2 2 0 8 0 vmmpepl 168 53829 0 51745 120 9 111 115 0 357 20 vmsppl 272 393 0 378 2 0 2 2 0 8 0 pdppl 4096 794 0 757 6 1 5 6 0 8 0 pvpl 32 172281 0 152818 192 0 192 192 0 265 35 pmappl 200 393 0 378 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 162 0 17 5 0 5 5 0 8 0