panic: receive 1a: so 0xfffffd805e553000, so_type 3, m 0xfffffd80583f0600, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *218094 42133 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a1776) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e553000,0,ffff80001d381f58,0,0,ffff80001d381e64) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80649fb438,ffff80001d381f58,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349758,6,ffff80001d381f58,0,ffff80001d382040) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349758,ffff80001d381ff0,ffff80001d382040) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d3820c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0bc0, 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 0xfffffd805e553000, so_type 3, m 0xfffffd80583f0600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a1776) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e553000,0,ffff80001d381f58,0,0,ffff80001d381e64) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80649fb438,ffff80001d381f58,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349758,6,ffff80001d381f58,0,ffff80001d382040) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349758,ffff80001d381ff0,ffff80001d382040) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d3820c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0bc0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d381ca0 rbx 0xffff80001d381d50 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d381c60 r9 0x1 r10 0 r11 0x1a7072532b8e3044 r12 0x3000000008 r13 0xffff80001d381cb0 r14 0x100 r15 0x1 rip 0xffffffff815ab278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d381c90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=218094 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a5f8,0xffff80001d3499d8 process=0xffff8000ffffa710 user=0xffff80001d37d000, vmspace=0xfffffd806bc09220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73897 331010 35440 0 2 0 syz-executor.0 73897 231891 35440 0 2 0x4000000 syz-executor.0 82105 42127 0 0 3 0x14200 bored sosplice 30764 190132 22135 0 2 0x2 syz-executor.1 35440 329526 22135 0 2 0x482 syz-executor.0 22135 336897 63905 0 3 0x82 thrsleep syz-fuzzer 22135 240057 63905 0 3 0x4000082 nanosleep syz-fuzzer 22135 78196 63905 0 3 0x4000082 thrsleep syz-fuzzer 22135 511142 63905 0 3 0x4000082 thrsleep syz-fuzzer 22135 356861 63905 0 3 0x4000082 thrsleep syz-fuzzer 22135 273145 63905 0 3 0x4000082 kqread syz-fuzzer 22135 475244 63905 0 3 0x4000082 thrsleep syz-fuzzer 22135 23072 63905 0 3 0x4000082 thrsleep syz-fuzzer 63905 277252 30599 0 3 0x10008a pause ksh 30599 393647 9748 0 3 0x92 select sshd 43073 41276 1 0 3 0x100083 ttyin getty 9748 75004 1 0 3 0x80 select sshd 14842 510001 95546 73 3 0x100090 kqread syslogd 95546 446370 1 0 3 0x100082 netio syslogd 33822 140647 1 77 3 0x100090 poll dhclient *42133 218094 1 0 7 0 dhclient 21538 335962 0 0 2 0x14200 zerothread 84467 420964 0 0 3 0x14200 aiodoned aiodoned 12209 218832 0 0 3 0x14200 syncer update 21277 510276 0 0 3 0x14200 cleaner cleaner 87818 248899 0 0 3 0x14200 reaper reaper 3606 98256 0 0 3 0x14200 pgdaemon pagedaemon 65754 467376 0 0 3 0x14200 bored crynlk 57979 148936 0 0 3 0x14200 bored crypto 36384 496096 0 0 3 0x40014200 acpi0 acpi0 51970 293430 0 0 3 0x14200 bored softnet 49518 305983 0 0 3 0x14200 bored systqmp 34836 29784 0 0 3 0x14200 bored systq 45801 223654 0 0 3 0x40014200 bored softclock 62730 265521 0 0 3 0x40014200 idle0 5633 442805 0 0 3 0x14200 bored smr 1 175444 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 6343K 6974K 78643K 11011 0 pcb 13 8K 9K 78643K 247 0 rtable 101 2K 3K 78643K 241 0 ifaddr 63 13K 13K 78643K 76 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 19 0 iov 0 0K 12K 78643K 288 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1352 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 12 0K 1K 78643K 22 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 199 0 sigio 0 0K 0K 78643K 3 0 proc 49 38K 63K 78643K 379 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 29 0 in_multi 55 2K 2K 78643K 80 0 ether_multi 1 0K 0K 78643K 7 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 110 21K 23K 78643K 1350 0 UVM aobj 19 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 3K 78643K 249 0 NDP 9 0K 0K 78643K 15 0 temp 94 3008K 3079K 78643K 3873 0 kqueue 3 4K 12K 78643K 26 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 49 0 47 1 0 1 1 0 8 0 rtentry 112 49 0 7 2 0 2 2 0 8 0 unpcb 120 131 0 123 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 126 0 126 1 1 0 1 0 8 0 tcpcb 544 72 0 68 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 422 0 415 3 1 2 3 0 8 1 nd6 48 5 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 236 0 39 14 0 14 14 0 8 0 art_table 32 237 0 39 2 0 2 2 0 8 0 art_node 16 48 0 9 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 6 1 1 0 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1678 0 279 46 0 46 46 0 8 0 ffsino 240 1678 0 279 83 0 83 83 0 8 0 nchpl 144 2171 0 560 60 0 60 60 0 8 0 uvmvnodes 72 1819 0 0 34 0 34 34 0 8 0 vnodes 208 1819 0 0 96 0 96 96 0 8 0 namei 1024 5751 0 5750 1 0 1 1 0 8 0 vmpool 528 2 0 2 1 0 1 1 0 8 1 scxspl 192 6911 0 6911 1 0 1 1 0 8 1 plimitpl 152 40 0 33 1 0 1 1 0 8 0 sigapl 432 370 0 357 2 0 2 2 0 8 0 futexpl 56 4828 0 4828 1 0 1 1 0 8 1 knotepl 112 95 0 76 1 0 1 1 0 8 0 kqueuepl 104 44 0 42 1 0 1 1 0 8 0 pipelkpl 16 109 0 99 1 0 1 1 0 8 0 pipepl 120 218 0 199 1 0 1 1 0 8 0 fdescpl 432 371 0 357 2 0 2 2 0 8 0 filepl 120 2608 0 2512 5 1 4 5 0 8 1 lockfpl 104 49 0 48 1 0 1 1 0 8 0 lockfspl 48 19 0 18 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 292 0 285 1 0 1 1 0 8 0 zombiepl 144 357 0 357 1 0 1 1 0 8 1 processpl 896 386 0 357 4 0 4 4 0 8 0 procpl 624 627 0 590 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 604 0 587 6 1 5 6 0 8 3 mcl64k 65536 11 0 11 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 6 0 6 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 24 0 24 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 65241 0 65199 17 11 6 14 0 8 0 mtagpl 80 24 0 4 2 1 1 1 0 8 0 mbufpl 256 105204 0 105058 41 17 24 38 0 8 9 bufpl 280 4999 0 187 344 0 344 344 0 8 0 anonpl 16 53378 0 36972 84 2 82 83 0 107 15 amapchunkpl 152 1970 0 1831 14 3 11 13 0 158 5 amappl16 192 1905 0 1010 53 1 52 53 0 8 7 amappl15 184 51 0 46 1 0 1 1 0 8 0 amappl14 176 25 0 23 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 94 0 91 2 1 1 1 0 8 0 amappl11 152 48 0 37 1 0 1 1 0 8 0 amappl10 144 97 0 93 1 0 1 1 0 8 0 amappl9 136 563 0 560 1 0 1 1 0 8 0 amappl8 128 116 0 92 1 0 1 1 0 8 0 amappl7 120 171 0 160 1 0 1 1 0 8 0 amappl6 112 53 0 48 1 0 1 1 0 8 0 amappl5 104 216 0 204 1 0 1 1 0 8 0 amappl4 96 504 0 478 1 0 1 1 0 8 0 amappl3 88 208 0 200 1 0 1 1 0 8 0 amappl2 80 2194 0 2125 3 1 2 3 0 8 0 amappl1 72 16527 0 16102 25 15 10 20 0 8 0 amappl 80 869 0 825 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 18 0 0 1 0 1 1 0 8 0 uaddrrnd 24 373 0 359 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 373 0 359 1 0 1 1 0 8 0 vmmpekpl 168 6549 0 6525 2 0 2 2 0 8 0 vmmpepl 168 52206 0 50210 115 14 101 112 0 357 13 vmsppl 272 372 0 359 3 1 2 2 0 8 1 pdppl 4096 752 0 718 6 1 5 6 0 8 0 pvpl 32 168099 0 148701 193 1 192 193 0 265 33 pmappl 200 372 0 359 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 188 0 36 5 0 5 5 0 8 0