panic: receive 1a: so 0xfffffd805e56f640, so_type 3, m 0xfffffd8052642f00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *156224 13254 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821bb78c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56f640,0,ffff80001d3726e8,0,0,ffff80001d3725f4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8064371690,ffff80001d3726e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d3726e8,0,ffff80001d3727d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372780,ffff80001d3727d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372850) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb700, 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 0xfffffd805e56f640, so_type 3, m 0xfffffd8052642f00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821bb78c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56f640,0,ffff80001d3726e8,0,0,ffff80001d3725f4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8064371690,ffff80001d3726e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d3726e8,0,ffff80001d3727d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372780,ffff80001d3727d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372850) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb700, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372430 rbx 0xffff80001d3724e0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3723f0 r9 0x1 r10 0 r11 0x6275cb7c693a3b85 r12 0x3000000008 r13 0xffff80001d372440 r14 0x100 r15 0x1 rip 0xffffffff816969a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372420 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=156224 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d339768 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38098 224013 12877 0 2 0 syz-executor.1 38098 324313 12877 0 2 0x4000000 syz-executor.1 48888 18605 37456 0 3 0x80 nanosleep syz-executor.0 48888 400292 37456 0 3 0x4000080 select syz-executor.0 48888 340423 37456 0 3 0x4000080 fsleep syz-executor.0 37456 390688 51358 0 3 0x82 nanosleep syz-executor.0 30849 180749 1 0 3 0x100083 ttyin getty 75169 70150 0 0 3 0x14200 acct acct 26314 498203 0 0 3 0x14200 bored sosplice 12877 89780 51358 0 2 0x482 syz-executor.1 51358 163143 13108 0 3 0x82 thrsleep syz-fuzzer 51358 135340 13108 0 3 0x4000082 thrsleep syz-fuzzer 51358 280089 13108 0 3 0x4000082 thrsleep syz-fuzzer 51358 505723 13108 0 3 0x4000082 thrsleep syz-fuzzer 51358 125821 13108 0 3 0x4000082 thrsleep syz-fuzzer 51358 11520 13108 0 3 0x4000082 thrsleep syz-fuzzer 51358 70782 13108 0 3 0x4000082 thrsleep syz-fuzzer 51358 430302 13108 0 3 0x4000082 kqread syz-fuzzer 13108 297657 8468 0 3 0x10008a pause ksh 8468 396463 61230 0 3 0x92 select sshd 61230 232994 1 0 3 0x80 select sshd 5804 485880 18966 73 3 0x100090 kqread syslogd 18966 489069 1 0 3 0x100082 netio syslogd 96438 48618 1 77 2 0x100010 dhclient *13254 156224 1 0 7 0 dhclient 35044 40919 0 0 2 0x14200 zerothread 95179 500764 0 0 3 0x14200 aiodoned aiodoned 8386 130799 0 0 3 0x14200 syncer update 94576 67084 0 0 3 0x14200 cleaner cleaner 73560 499325 0 0 3 0x14200 reaper reaper 2427 177840 0 0 3 0x14200 pgdaemon pagedaemon 9902 335610 0 0 3 0x14200 bored crynlk 91390 146140 0 0 3 0x14200 bored crypto 45271 519865 0 0 3 0x40014200 acpi0 acpi0 31209 491273 0 0 3 0x14200 bored softnet 95180 218574 0 0 3 0x14200 bored systqmp 71912 18946 0 0 3 0x14200 bored systq 32712 221913 0 0 2 0x40014200 softclock 69533 128255 0 0 3 0x40014200 idle0 84964 133375 0 0 3 0x14200 bored smr 1 88458 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 9556 6687K 7533K 78643K 12654 0 pcb 13 8K 8K 78643K 196 0 rtable 120 4K 5K 78643K 433 0 ifaddr 105 20K 20K 78643K 225 0 counters 21 16K 16K 78643K 35 0 ioctlops 0 0K 2K 78643K 52 0 iov 0 0K 24K 78643K 400 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1967 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 112 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 668 0 sigio 0 0K 0K 78643K 16 0 proc 49 38K 55K 78643K 478 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 72 0 in_multi 146 6K 6K 78643K 234 0 ether_multi 1 0K 0K 78643K 27 0 mrt 0 0K 0K 78643K 10 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 131 120K 120K 78643K 2478 0 UVM aobj 82 5K 5K 78643K 82 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 183 0 NDP 16 0K 0K 78643K 38 0 temp 147 3031K 3142K 78643K 21290 0 kqueue 3 4K 18K 78643K 99 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 79 0 77 1 0 1 1 0 8 0 rtentry 112 76 0 29 2 0 2 2 0 8 0 unpcb 120 1573 0 1555 4 2 2 2 0 8 1 syncache 264 16 0 16 3 3 0 1 0 8 0 tcpqe 32 33 0 33 3 3 0 1 0 8 0 tcpcb 544 404 0 399 2 1 1 2 0 8 0 ipq 40 11 0 11 1 1 0 1 0 8 0 ipqe 40 411 0 411 1 1 0 1 0 8 0 inpcb 280 1128 0 1120 3 1 2 2 0 8 1 rttmr 72 4 0 4 2 2 0 1 0 8 0 nd6 48 12 0 5 1 0 1 1 0 8 0 pkpcb 40 8 0 8 3 3 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 4 0 4 2 2 0 1 0 8 0 art_heap8 4096 4 0 1 4 1 3 4 0 8 0 art_heap4 256 342 0 137 13 0 13 13 0 8 0 art_table 32 346 0 138 2 0 2 2 0 8 0 art_node 16 75 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 12 1 0 1 1 0 8 0 semapl 112 110 0 100 1 0 1 1 0 8 0 shmpl 112 80 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2413 0 1012 46 0 46 46 0 8 0 ffsino 240 2413 0 1012 83 0 83 83 0 8 0 nchpl 144 3679 0 2090 60 0 60 60 0 8 0 uvmvnodes 72 3061 0 0 56 0 56 56 0 8 0 vnodes 208 3061 0 0 162 0 162 162 0 8 0 namei 1024 10825 0 10825 1 0 1 1 0 8 1 vcpupl 1984 12 0 0 2 0 2 2 0 8 0 vmpool 528 12 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 12484 0 12484 1 0 1 1 0 8 1 plimitpl 152 74 0 67 1 0 1 1 0 8 0 sigapl 432 837 0 823 2 0 2 2 0 8 0 futexpl 56 18862 0 18861 1 0 1 1 0 8 0 knotepl 112 198 0 179 1 0 1 1 0 8 0 kqueuepl 144 224 0 222 1 0 1 1 0 8 0 pipelkpl 16 260 0 250 1 0 1 1 0 8 0 pipepl 120 520 0 501 3 2 1 2 0 8 0 fdescpl 432 838 0 823 2 0 2 2 0 8 0 filepl 120 7754 0 7648 7 2 5 5 0 8 1 lockfpl 104 206 0 205 1 0 1 1 0 8 0 lockfspl 48 83 0 82 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 27 0 17 1 0 1 1 0 8 0 ucredpl 96 747 0 740 1 0 1 1 0 8 0 zombiepl 144 823 0 823 1 0 1 1 0 8 1 processpl 896 854 0 823 4 0 4 4 0 8 0 procpl 624 1640 0 1599 4 0 4 4 0 8 0 sosppl 128 12 0 11 3 2 1 1 0 8 0 sockpl 400 2805 0 2777 12 5 7 7 0 8 4 mcl64k 65536 624 0 624 60 27 33 33 0 8 33 mcl16k 16384 8 0 8 2 2 0 1 0 8 0 mcl12k 12288 29 0 29 1 0 1 1 0 8 1 mcl9k 9216 13 0 13 4 3 1 1 0 8 1 mcl8k 8192 31 0 31 3 2 1 1 0 8 1 mcl4k 4096 103 0 103 2 1 1 1 0 8 1 mcl2k2 2112 5 0 5 2 2 0 1 0 8 0 mcl2k 2048 66307 0 66268 14 8 6 12 0 8 0 mtagpl 80 99 0 41 3 1 2 2 0 8 0 mbufpl 256 113611 0 113375 57 26 31 31 0 8 15 bufpl 280 7295 0 1911 385 0 385 385 0 8 0 anonpl 16 107339 0 90224 91 5 86 86 0 107 15 amapchunkpl 152 3922 0 3762 14 6 8 13 0 158 0 amappl16 192 5185 0 4229 77 17 60 60 0 8 12 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 270 0 268 2 1 1 1 0 8 0 amappl13 168 30 0 29 1 0 1 1 0 8 0 amappl12 160 323 0 319 1 0 1 1 0 8 0 amappl11 152 71 0 58 1 0 1 1 0 8 0 amappl10 144 54 0 47 1 0 1 1 0 8 0 amappl9 136 392 0 389 1 0 1 1 0 8 0 amappl8 128 308 0 284 1 0 1 1 0 8 0 amappl7 120 154 0 140 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 1071 0 1057 1 0 1 1 0 8 0 amappl4 96 460 0 429 1 0 1 1 0 8 0 amappl3 88 442 0 437 1 0 1 1 0 8 0 amappl2 80 5854 0 5775 3 1 2 3 0 8 0 amappl1 72 24069 0 23636 26 17 9 20 0 8 0 amappl 80 1935 0 1884 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 81 0 0 2 0 2 2 0 8 0 uaddrrnd 24 850 0 823 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 850 0 823 1 0 1 1 0 8 0 vmmpekpl 168 9052 0 9023 2 0 2 2 0 8 0 vmmpepl 168 107761 0 105565 162 37 125 147 0 357 29 vmsppl 272 849 0 823 2 0 2 2 0 8 0 pdppl 4096 1706 0 1658 8 1 7 7 0 8 0 pvpl 32 297486 0 278068 198 4 194 195 0 265 32 pmappl 200 849 0 823 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 272 0 76 6 0 6 6 0 8 0