panic: receive 3: so 0xfffffd805e570000, so_type 3, m 0xfffffd806bc22400, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 48728 95218 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821acfbd) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e570000,0,ffff80001d372af8,0,0,ffff80001d372a04) at soreceive+0x16e7 soo_read(fffffd805f9f2618,ffff80001d372af8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372af8,0,ffff80001d372be0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372b90,ffff80001d372be0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372c60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6530, 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 0xfffffd805e570000, so_type 3, m 0xfffffd806bc22400, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821acfbd) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e570000,0,ffff80001d372af8,0,0,ffff80001d372a04) at soreceive+0x16e7 soo_read(fffffd805f9f2618,ffff80001d372af8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372af8,0,ffff80001d372be0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372b90,ffff80001d372be0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372c60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6530, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372840 rbx 0xffff80001d3728f0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372800 r9 0x1 r10 0 r11 0x59ff78eb9df2122a r12 0x3000000008 r13 0xffff80001d372850 r14 0x100 r15 0x1 rip 0xffffffff82195b58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372830 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=48728 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339288 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 954 10462 55206 0 2 0 syz-executor.0 954 297924 55206 0 2 0x4000000 syz-executor.0 66204 308689 94340 0 2 0 syz-executor.1 66204 207259 94340 0 3 0x4000080 fsleep syz-executor.1 17702 307964 0 0 3 0x14200 bored sosplice 55206 427801 78999 0 3 0x82 nanosleep syz-executor.0 94340 373164 78999 0 3 0x82 nanosleep syz-executor.1 78999 95809 63264 0 3 0x82 thrsleep syz-fuzzer 78999 52421 63264 0 3 0x4000082 thrsleep syz-fuzzer 78999 20947 63264 0 3 0x4000082 kqread syz-fuzzer 78999 478925 63264 0 3 0x4000082 thrsleep syz-fuzzer 78999 74777 63264 0 3 0x4000082 thrsleep syz-fuzzer 78999 29625 63264 0 3 0x4000082 thrsleep syz-fuzzer 78999 186218 63264 0 3 0x4000082 thrsleep syz-fuzzer 63264 270659 40942 0 3 0x10008a pause ksh 40942 396529 92890 0 3 0x92 select sshd 78307 50975 1 0 3 0x100083 ttyin getty 92890 424930 1 0 3 0x80 select sshd 42436 473502 54186 73 3 0x100090 kqread syslogd 54186 415962 1 0 3 0x100082 netio syslogd 92054 239744 1 77 2 0x100010 dhclient *95218 48728 1 0 7 0 dhclient 81832 306820 0 0 3 0x14200 bored smr 10135 262188 0 0 2 0x14200 zerothread 99155 416148 0 0 3 0x14200 aiodoned aiodoned 94523 396878 0 0 3 0x14200 syncer update 82028 164712 0 0 3 0x14200 cleaner cleaner 33759 154275 0 0 3 0x14200 reaper reaper 19614 381158 0 0 3 0x14200 pgdaemon pagedaemon 85413 296687 0 0 3 0x14200 bored crynlk 71098 429421 0 0 3 0x14200 bored crypto 20394 3953 0 0 3 0x40014200 acpi0 acpi0 3616 260939 0 0 3 0x14200 bored softnet 26553 262919 0 0 3 0x14200 bored systqmp 455 64473 0 0 3 0x14200 bored systq 7702 376908 0 0 3 0x40014200 bored softclock 58418 254986 0 0 3 0x40014200 idle0 1 198522 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 9488 6464K 6785K 78643K 10808 0 pcb 13 8K 8K 78643K 57 0 rtable 103 4K 4K 78643K 279 0 ifaddr 59 12K 12K 78643K 82 0 counters 22 16K 16K 78643K 25 0 ioctlops 0 0K 2K 78643K 25 0 iov 0 0K 12K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1299 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 11 1K 1K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 166 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 54K 78643K 377 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 23 0 in_multi 43 2K 2K 78643K 71 0 ether_multi 1 0K 0K 78643K 8 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 194 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 54K 54K 78643K 1225 0 UVM aobj 10 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 29 0 NDP 9 0K 0K 78643K 17 0 temp 89 3015K 3084K 78643K 5685 0 kqueue 3 4K 16K 78643K 31 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 58 0 18 2 0 2 2 0 8 0 unpcb 120 109 0 101 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 692 0 692 2 2 0 1 0 8 0 tcpcb 544 66 0 61 1 0 1 1 0 8 0 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 463 0 455 3 0 3 3 0 8 2 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1128 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 215 0 43 13 0 13 13 0 8 0 art_table 32 216 0 43 2 0 2 2 0 8 0 art_node 16 53 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 3 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 10 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1629 0 227 46 0 46 46 0 8 0 ffsino 240 1629 0 227 83 0 83 83 0 8 0 nchpl 144 2062 0 460 60 0 60 60 0 8 0 uvmvnodes 72 1725 0 0 32 0 32 32 0 8 0 vnodes 208 1725 0 0 91 0 91 91 0 8 0 namei 1024 5231 0 5231 1 0 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 0 1 0 1 1 0 8 0 scxspl 192 6217 0 6217 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 424 353 0 323 4 0 4 4 0 8 0 futexpl 56 4218 0 4217 1 0 1 1 0 8 0 knotepl 112 101 0 82 1 0 1 1 0 8 0 kqueuepl 144 64 0 62 1 0 1 1 0 8 0 pipelkpl 16 97 0 87 1 0 1 1 0 8 0 pipepl 120 194 0 175 1 0 1 1 0 8 0 fdescpl 432 338 0 323 2 0 2 2 0 8 0 filepl 120 2228 0 2131 5 0 5 5 0 8 2 lockfpl 104 38 0 36 1 0 1 1 0 8 0 lockfspl 48 14 0 12 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 29 0 19 1 0 1 1 0 8 0 ucredpl 96 167 0 160 1 0 1 1 0 8 0 zombiepl 144 323 0 323 1 0 1 1 0 8 1 processpl 896 353 0 323 4 0 4 4 0 8 0 procpl 624 546 0 508 4 0 4 4 0 8 1 sosppl 128 140 0 140 1 0 1 1 0 8 1 sockpl 400 609 0 591 5 0 5 5 0 8 3 mcl64k 65536 19 0 19 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 6 0 6 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 31 0 31 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 64938 0 64867 26 11 15 20 0 8 5 mtagpl 80 13 0 2 2 1 1 1 0 8 0 mbufpl 256 104632 0 104455 18 2 16 18 0 8 4 bufpl 280 4477 0 163 309 0 309 309 0 8 0 anonpl 16 51079 0 34483 85 2 83 83 0 107 16 amapchunkpl 152 2012 0 1870 20 0 20 20 0 158 14 amappl16 192 1913 0 1001 58 5 53 58 0 8 7 amappl15 184 10 0 7 1 0 1 1 0 8 0 amappl14 176 65 0 62 2 1 1 1 0 8 0 amappl13 168 25 0 23 1 0 1 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 59 0 47 1 0 1 1 0 8 0 amappl10 144 15 0 9 1 0 1 1 0 8 0 amappl9 136 451 0 446 1 0 1 1 0 8 0 amappl8 128 338 0 320 1 0 1 1 0 8 0 amappl7 120 105 0 95 1 0 1 1 0 8 0 amappl6 112 27 0 22 1 0 1 1 0 8 0 amappl5 104 265 0 253 1 0 1 1 0 8 0 amappl4 96 444 0 411 2 1 1 2 0 8 0 amappl3 88 110 0 105 1 0 1 1 0 8 0 amappl2 80 1900 0 1828 3 1 2 3 0 8 0 amappl1 72 15735 0 15315 25 15 10 20 0 8 0 amappl 80 775 0 727 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 11 0 2 1 0 1 1 0 8 0 uaddrrnd 24 341 0 323 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 341 0 323 1 0 1 1 0 8 0 vmmpekpl 168 6298 0 6267 2 0 2 2 0 8 0 vmmpepl 168 47473 0 45403 114 7 107 110 0 357 17 vmsppl 272 340 0 323 2 0 2 2 0 8 0 pdppl 4096 688 0 649 7 1 6 6 0 8 1 pvpl 32 159476 0 139841 195 0 195 195 0 265 36 pmappl 200 340 0 323 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 18 5 0 5 5 0 8 0