panic: receive 1a: so 0xfffffd805e565640, so_type 3, m 0xfffffd805716f500, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 98280 2686 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b9389) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e565640,0,ffff80001d372608,0,0,ffff80001d372514) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8061df18e8,ffff80001d372608,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372608,0,ffff80001d3726f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d3726a0,ffff80001d3726f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372770) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb100, 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 1a: so 0xfffffd805e565640, so_type 3, m 0xfffffd805716f500, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b9389) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e565640,0,ffff80001d372608,0,0,ffff80001d372514) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8061df18e8,ffff80001d372608,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372608,0,ffff80001d3726f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d3726a0,ffff80001d3726f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372770) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb100, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372350 rbx 0xffff80001d372400 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372310 r9 0x1 r10 0 r11 0x11e38eebaa787775 r12 0x3000000008 r13 0xffff80001d372360 r14 0x100 r15 0x1 rip 0xffffffff81fe99a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372340 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=98280 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a868,0xffff80001d3394f8 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc09880 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 10083 462948 48422 0 2 0 syz-executor.0 10083 512231 48422 0 2 0x4000000 syz-executor.0 38317 383767 53146 0 3 0x80 nanosleep syz-executor.1 38317 268673 53146 0 3 0x4000080 poll syz-executor.1 38317 305137 53146 0 3 0x4000080 fsleep syz-executor.1 38317 74980 53146 0 3 0x4000080 fsleep syz-executor.1 53146 42150 86491 0 3 0x82 nanosleep syz-executor.1 48422 285814 86491 0 3 0x82 nanosleep syz-executor.0 86491 444577 40257 0 3 0x82 thrsleep syz-fuzzer 86491 19833 40257 0 3 0x4000082 nanosleep syz-fuzzer 86491 447018 40257 0 3 0x4000082 kqread syz-fuzzer 86491 190232 40257 0 3 0x4000082 thrsleep syz-fuzzer 86491 299037 40257 0 3 0x4000082 thrsleep syz-fuzzer 86491 68962 40257 0 3 0x4000082 thrsleep syz-fuzzer 86491 268685 40257 0 3 0x4000082 thrsleep syz-fuzzer 86491 110714 40257 0 3 0x4000082 thrsleep syz-fuzzer 40257 173056 360 0 3 0x10008a pause ksh 360 513298 83902 0 3 0x92 select sshd 12401 128096 1 0 3 0x100083 ttyin getty 83902 407310 1 0 3 0x80 select sshd 74004 414351 61245 73 3 0x100090 kqread syslogd 61245 116815 1 0 3 0x100082 netio syslogd 17128 234954 1 77 2 0x100010 dhclient * 2686 98280 1 0 7 0 dhclient 75723 336133 0 0 2 0x14200 zerothread 22646 191149 0 0 3 0x14200 aiodoned aiodoned 25164 521133 0 0 3 0x14200 syncer update 31939 390626 0 0 3 0x14200 cleaner cleaner 25565 193068 0 0 3 0x14200 reaper reaper 49711 378326 0 0 3 0x14200 pgdaemon pagedaemon 69598 501769 0 0 3 0x14200 bored crynlk 57565 26934 0 0 3 0x14200 bored crypto 19766 283236 0 0 3 0x40014200 acpi0 acpi0 5306 123853 0 0 3 0x14200 bored softnet 45698 273177 0 0 3 0x14200 bored systqmp 47732 59564 0 0 3 0x14200 bored systq 19434 91998 0 0 3 0x40014200 bored softclock 72528 421945 0 0 3 0x40014200 idle0 42436 118732 0 0 3 0x14200 bored smr 1 297020 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 9504 6352K 6991K 78643K 11090 0 pcb 13 8K 8K 78643K 97 0 rtable 101 2K 4K 78643K 297 0 ifaddr 75 15K 15K 78643K 116 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 32 0 iov 0 0K 12K 78643K 51 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1393 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 36 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 252 0 sigio 0 0K 0K 78643K 5 0 proc 49 38K 54K 78643K 430 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 33 0 in_multi 54 2K 3K 78643K 109 0 ether_multi 1 0K 0K 78643K 14 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 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 231 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 114 54K 54K 78643K 1729 0 UVM aobj 15 2K 2K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 70 0 NDP 12 0K 0K 78643K 24 0 temp 107 3012K 3076K 78643K 16297 0 kqueue 3 4K 14K 78643K 16 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 43 0 41 1 0 1 1 0 8 0 rtentry 112 62 0 20 2 0 2 2 0 8 0 unpcb 120 171 0 161 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 302 0 302 1 1 0 1 0 8 0 tcpcb 544 132 0 128 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 53 0 53 1 1 0 1 0 8 0 inpcb 280 372 0 363 3 2 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 265 0 84 13 0 13 13 0 8 0 art_table 32 267 0 84 2 0 2 2 0 8 0 art_node 16 61 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 30 0 20 1 0 1 1 0 8 0 shmpl 112 13 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1746 0 351 46 0 46 46 0 8 0 ffsino 240 1746 0 351 83 0 83 83 0 8 0 nchpl 144 2268 0 681 60 0 60 60 0 8 0 uvmvnodes 72 1909 0 0 35 0 35 35 0 8 0 vnodes 208 1909 0 0 101 0 101 101 0 8 0 namei 1024 6059 0 6059 2 1 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 2 1 0 1 1 0 8 0 scxspl 192 6824 0 6824 1 0 1 1 0 8 1 plimitpl 152 27 0 20 1 0 1 1 0 8 0 sigapl 424 435 0 406 4 0 4 4 0 8 0 futexpl 56 5354 0 5352 1 0 1 1 0 8 0 knotepl 112 86 0 67 1 0 1 1 0 8 0 kqueuepl 144 65 0 63 1 0 1 1 0 8 0 pipelkpl 16 442 0 430 1 0 1 1 0 8 0 pipepl 120 884 0 862 2 0 2 2 0 8 1 fdescpl 432 421 0 406 2 0 2 2 0 8 0 filepl 120 3197 0 3093 6 2 4 5 0 8 0 lockfpl 104 51 0 49 1 0 1 1 0 8 0 lockfspl 48 21 0 19 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 265 0 258 1 0 1 1 0 8 0 zombiepl 144 406 0 406 2 1 1 1 0 8 1 processpl 896 435 0 406 4 0 4 4 0 8 0 procpl 624 995 0 955 4 0 4 4 0 8 0 sockpl 400 588 0 567 5 2 3 4 0 8 0 mcl64k 65536 805 0 805 65 56 9 65 0 8 9 mcl16k 16384 5 0 5 4 3 1 1 0 8 1 mcl12k 12288 6 0 6 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 3 3 0 1 0 8 0 mcl8k 8192 10 0 10 3 2 1 1 0 8 1 mcl4k 4096 36 0 36 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 64527 0 64470 17 9 8 16 0 8 0 mtagpl 80 30 0 22 2 1 1 1 0 8 0 mbufpl 256 104860 0 104757 60 47 13 39 0 8 2 bufpl 280 4535 0 163 313 0 313 313 0 8 0 anonpl 16 64854 0 48502 87 21 66 79 0 107 0 amapchunkpl 152 2449 0 2306 8 1 7 7 0 158 1 amappl16 192 2470 0 1560 68 22 46 57 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 101 0 98 2 1 1 1 0 8 0 amappl13 168 81 0 78 2 1 1 1 0 8 0 amappl12 160 7 0 5 1 0 1 1 0 8 0 amappl11 152 116 0 104 1 0 1 1 0 8 0 amappl10 144 18 0 14 1 0 1 1 0 8 0 amappl9 136 359 0 355 1 0 1 1 0 8 0 amappl8 128 295 0 274 1 0 1 1 0 8 0 amappl7 120 112 0 101 1 0 1 1 0 8 0 amappl6 112 77 0 72 2 1 1 1 0 8 0 amappl5 104 293 0 282 1 0 1 1 0 8 0 amappl4 96 563 0 531 1 0 1 1 0 8 0 amappl3 88 165 0 158 1 0 1 1 0 8 0 amappl2 80 2512 0 2440 4 2 2 3 0 8 0 amappl1 72 17965 0 17535 27 18 9 20 0 8 0 amappl 80 1244 0 1196 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 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 426 0 408 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 426 0 408 1 0 1 1 0 8 0 vmmpekpl 168 9111 0 9084 2 0 2 2 0 8 0 vmmpepl 168 59176 0 57090 147 44 103 118 0 357 11 vmsppl 272 425 0 408 3 1 2 2 0 8 0 pdppl 4096 858 0 819 7 2 5 6 0 8 0 pvpl 32 189542 0 169798 191 31 160 189 0 265 0 pmappl 200 425 0 408 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 276 0 126 7 0 7 7 0 8 0