panic: receive 1a: so 0xfffffd805e552190, so_type 3, m 0xfffffd8005d96100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *368705 83651 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219ec4f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e552190,0,ffff80001d3823f8,0,0,ffff80001d382304) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8062dfb618,ffff80001d3823f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349758,6,ffff80001d3823f8,0,ffff80001d3824e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349758,ffff80001d382490,ffff80001d3824e0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382560) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd3910, 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 0xfffffd805e552190, so_type 3, m 0xfffffd8005d96100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219ec4f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e552190,0,ffff80001d3823f8,0,0,ffff80001d382304) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8062dfb618,ffff80001d3823f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349758,6,ffff80001d3823f8,0,ffff80001d3824e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349758,ffff80001d382490,ffff80001d3824e0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382560) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd3910, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d382140 rbx 0xffff80001d3821f0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382100 r9 0x1 r10 0 r11 0x571cd04905c50e0a r12 0x3000000008 r13 0xffff80001d382150 r14 0x100 r15 0x1 rip 0xffffffff818ca838 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382130 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=368705 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a388,0xffff80001d3499d8 process=0xffff8000ffffa390 user=0xffff80001d37d000, vmspace=0xfffffd806bc09440 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16588 180958 99623 0 2 0 syz-executor.0 16588 218734 99623 0 2 0x4000000 syz-executor.0 58434 115543 70679 0 3 0x80 nanosleep syz-executor.1 58434 221682 70679 0 3 0x4000080 ttyin syz-executor.1 58434 337907 70679 0 3 0x4000080 fsleep syz-executor.1 94011 510579 0 0 3 0x14200 acct acct 99623 335639 79205 0 2 0x482 syz-executor.0 972 396846 0 0 3 0x14200 bored sosplice 70679 453116 79205 0 3 0x82 nanosleep syz-executor.1 79205 459754 44938 0 3 0x82 thrsleep syz-fuzzer 79205 152618 44938 0 2 0x4000482 syz-fuzzer 79205 266074 44938 0 3 0x4000082 kqread syz-fuzzer 79205 216546 44938 0 3 0x4000082 thrsleep syz-fuzzer 79205 484801 44938 0 3 0x4000082 thrsleep syz-fuzzer 79205 306891 44938 0 3 0x4000082 thrsleep syz-fuzzer 79205 85503 44938 0 3 0x4000082 thrsleep syz-fuzzer 79205 218240 44938 0 3 0x4000082 thrsleep syz-fuzzer 44938 213670 94723 0 3 0x10008a pause ksh 94723 475331 52470 0 3 0x92 select sshd 67765 20602 1 0 3 0x100083 ttyin getty 52470 489132 1 0 3 0x80 select sshd 61995 12704 7804 73 3 0x100090 kqread syslogd 7804 78732 1 0 3 0x100082 netio syslogd 24862 106667 1 77 2 0x100010 dhclient *83651 368705 1 0 7 0 dhclient 12188 47125 0 0 2 0x14200 zerothread 5487 36797 0 0 3 0x14200 aiodoned aiodoned 35350 21160 0 0 3 0x14200 syncer update 71663 303096 0 0 3 0x14200 cleaner cleaner 95331 224417 0 0 3 0x14200 reaper reaper 76268 227899 0 0 3 0x14200 pgdaemon pagedaemon 55971 38163 0 0 3 0x14200 bored crynlk 24025 106354 0 0 3 0x14200 bored crypto 30753 484834 0 0 3 0x40014200 acpi0 acpi0 26971 67032 0 0 2 0x14200 softnet 30913 46232 0 0 3 0x14200 bored systqmp 17552 447106 0 0 3 0x14200 bored systq 72631 64929 0 0 3 0x40014200 bored softclock 33790 495581 0 0 3 0x40014200 idle0 65836 150686 0 0 3 0x14200 bored smr 1 289053 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 9534 6372K 7969K 78643K 12108 0 pcb 13 8K 8K 78643K 149 0 rtable 102 3K 4K 78643K 426 0 ifaddr 107 21K 21K 78643K 223 0 counters 22 16K 17K 78643K 42 0 ioctlops 0 0K 2K 78643K 54 0 iov 0 0K 32K 78643K 120 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 78K 78643K 1752 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 70 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 575 0 sigio 0 0K 0K 78643K 10 0 proc 49 38K 63K 78643K 456 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 84 0 in_multi 108 4K 5K 78643K 171 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 16 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 261 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 130 87K 96K 78643K 2559 0 UVM aobj 32 7K 7K 78643K 39 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 109 0 NDP 16 0K 0K 78643K 44 0 temp 148 3019K 3605K 78643K 30317 0 kqueue 3 4K 18K 78643K 53 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 9 0 3 1 0 1 1 0 8 0 rtpcb 80 73 0 71 1 0 1 1 0 8 0 rtentry 112 72 0 31 2 0 2 2 0 8 0 unpcb 120 655 0 647 2 1 1 2 0 8 0 syncache 264 10 0 10 4 4 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 26 0 26 3 3 0 1 0 8 0 tcpcb 544 480 0 474 2 1 1 2 0 8 0 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 146 0 146 2 2 0 1 0 8 0 inpcb 280 1053 0 1044 3 1 2 2 0 8 1 rttmr 72 6 0 6 2 2 0 1 0 8 0 nd6 48 9 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 4 0 4 3 3 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 324 0 133 15 0 15 15 0 8 0 art_table 32 326 0 133 2 0 2 2 0 8 0 art_node 16 71 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semapl 112 68 0 58 1 0 1 1 0 8 0 shmpl 112 37 0 7 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2335 0 935 46 0 46 46 0 8 0 ffsino 240 2335 0 935 83 0 83 83 0 8 0 nchpl 144 3321 0 1724 60 0 60 60 0 8 0 uvmvnodes 72 2726 0 0 50 0 50 50 0 8 0 vnodes 208 2726 0 0 144 0 144 144 0 8 0 namei 1024 11361 0 11361 1 0 1 1 0 8 1 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 528 9 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 10822 0 10822 1 0 1 1 0 8 1 plimitpl 152 66 0 59 1 0 1 1 0 8 0 sigapl 432 743 0 729 2 0 2 2 0 8 0 futexpl 56 16701 0 16700 1 0 1 1 0 8 0 knotepl 112 132 0 113 1 0 1 1 0 8 0 kqueuepl 104 274 0 272 1 0 1 1 0 8 0 pipelkpl 16 222 0 212 1 0 1 1 0 8 0 pipepl 120 444 0 425 3 2 1 2 0 8 0 fdescpl 432 744 0 729 2 0 2 2 0 8 0 filepl 120 7355 0 7256 6 2 4 5 0 8 0 lockfpl 104 139 0 138 1 0 1 1 0 8 0 lockfspl 48 46 0 45 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 36 0 26 1 0 1 1 0 8 0 ucredpl 96 2055 0 2048 1 0 1 1 0 8 0 zombiepl 144 730 0 730 1 0 1 1 0 8 1 processpl 896 761 0 730 4 0 4 4 0 8 0 procpl 624 1709 0 1668 4 0 4 4 0 8 0 sosppl 128 11 0 11 4 3 1 1 0 8 1 sockpl 400 1788 0 1769 12 8 4 6 0 8 2 mcl64k 65536 316 0 314 34 28 6 33 0 8 5 mcl16k 16384 9 0 9 2 2 0 1 0 8 0 mcl12k 12288 13 0 13 3 2 1 1 0 8 1 mcl9k 9216 14 0 14 4 3 1 1 0 8 1 mcl8k 8192 32 0 32 4 3 1 1 0 8 1 mcl4k 4096 72 0 72 3 2 1 1 0 8 1 mcl2k2 2112 6 0 6 6 5 1 1 0 8 1 mcl2k 2048 63781 0 63733 18 11 7 15 0 8 0 mtagpl 80 97 0 23 4 2 2 2 0 8 0 mbufpl 256 106632 0 106282 41 16 25 28 0 8 0 bufpl 280 7392 0 1984 387 0 387 387 0 8 0 anonpl 16 95710 0 78420 109 35 74 85 0 107 3 amapchunkpl 152 5064 0 4918 36 16 20 20 0 158 14 amappl16 192 4168 0 3201 72 22 50 60 0 8 1 amappl15 184 305 0 299 1 0 1 1 0 8 0 amappl14 176 30 0 29 1 0 1 1 0 8 0 amappl13 168 146 0 146 1 1 0 1 0 8 0 amappl12 160 6 0 5 1 0 1 1 0 8 0 amappl11 152 51 0 39 1 0 1 1 0 8 0 amappl10 144 12 0 11 1 0 1 1 0 8 0 amappl9 136 569 0 565 1 0 1 1 0 8 0 amappl8 128 126 0 103 1 0 1 1 0 8 0 amappl7 120 105 0 93 1 0 1 1 0 8 0 amappl6 112 73 0 62 1 0 1 1 0 8 0 amappl5 104 159 0 149 1 0 1 1 0 8 0 amappl4 96 959 0 933 1 0 1 1 0 8 0 amappl3 88 138 0 131 1 0 1 1 0 8 0 amappl2 80 5536 0 5455 3 1 2 3 0 8 0 amappl1 72 23568 0 23124 25 15 10 20 0 8 0 amappl 80 1969 0 1918 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 38 0 7 1 0 1 1 0 8 0 uaddrrnd 24 753 0 729 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 753 0 729 1 0 1 1 0 8 0 vmmpekpl 168 9364 0 9335 2 0 2 2 0 8 0 vmmpepl 168 96781 0 94540 167 69 98 149 0 357 0 vmsppl 272 752 0 729 3 1 2 2 0 8 0 pdppl 4096 1512 0 1467 7 1 6 6 0 8 0 pvpl 32 295689 0 275962 280 48 232 271 0 265 72 pmappl 200 752 0 729 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 236 0 75 6 0 6 6 0 8 0