panic: receive 3: so 0xfffffd805e569000, so_type 3, m 0xfffffd806a744a00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 91760 29518 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821aaaec) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e569000,0,ffff80001d3727a8,0,0,ffff80001d3726b4) at soreceive+0x16e7 soo_read(fffffd805eb111e0,ffff80001d3727a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3727a8,0,ffff80001d372890) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372840,ffff80001d372890) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372910) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe3080, 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 0xfffffd805e569000, so_type 3, m 0xfffffd806a744a00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821aaaec) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e569000,0,ffff80001d3727a8,0,0,ffff80001d3726b4) at soreceive+0x16e7 soo_read(fffffd805eb111e0,ffff80001d3727a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3727a8,0,ffff80001d372890) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372840,ffff80001d372890) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372910) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe3080, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3724f0 rbx 0xffff80001d3725a0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3724b0 r9 0x1 r10 0 r11 0x56364d31e3de3043 r12 0x3000000008 r13 0xffff80001d372500 r14 0x100 r15 0x1 rip 0xffffffff81129e08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3724e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=91760 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d3399d8 process=0xffff8000ffffb190 user=0xffff80001d36d000, 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 77161 253957 11725 0 2 0 syz-executor.1 77161 444866 11725 0 2 0x4000000 syz-executor.1 11725 458095 17101 0 3 0x82 nanosleep syz-executor.1 12924 367862 17101 0 3 0x82 nanosleep syz-executor.0 61297 250378 0 0 3 0x14200 bored sosplice 64538 290369 0 0 3 0x14200 acct acct 17101 302335 28845 0 3 0x82 thrsleep syz-fuzzer 17101 63355 28845 0 3 0x4000082 thrsleep syz-fuzzer 17101 43058 28845 0 3 0x4000082 thrsleep syz-fuzzer 17101 481485 28845 0 3 0x4000082 thrsleep syz-fuzzer 17101 325066 28845 0 3 0x4000082 thrsleep syz-fuzzer 17101 489736 28845 0 3 0x4000082 thrsleep syz-fuzzer 17101 235830 28845 0 3 0x4000082 thrsleep syz-fuzzer 17101 298879 28845 0 3 0x4000082 kqread syz-fuzzer 28845 506656 52869 0 3 0x10008a pause ksh 52869 332297 55879 0 3 0x92 select sshd 32297 265785 1 0 3 0x100083 ttyin getty 55879 408888 1 0 3 0x80 select sshd 18562 498361 99732 73 3 0x100090 kqread syslogd 99732 307894 1 0 3 0x100082 netio syslogd 83702 115832 1 77 2 0x100010 dhclient *29518 91760 1 0 7 0 dhclient 53547 134613 0 0 3 0x14200 bored smr 14358 234844 0 0 2 0x14200 zerothread 86768 117564 0 0 3 0x14200 aiodoned aiodoned 45584 213198 0 0 3 0x14200 syncer update 64389 48806 0 0 3 0x14200 cleaner cleaner 27070 5047 0 0 3 0x14200 reaper reaper 97269 271941 0 0 3 0x14200 pgdaemon pagedaemon 24601 87976 0 0 3 0x14200 bored crynlk 2267 403490 0 0 3 0x14200 bored crypto 59593 307240 0 0 3 0x40014200 acpi0 acpi0 61011 103210 0 0 3 0x14200 bored softnet 50484 363426 0 0 3 0x14200 bored systqmp 88208 128043 0 0 3 0x14200 bored systq 23807 109878 0 0 3 0x40014200 bored softclock 30082 63219 0 0 3 0x40014200 idle0 1 171616 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 9527 6359K 7099K 78643K 11483 0 pcb 13 8K 8K 78643K 103 0 rtable 101 2K 3K 78643K 654 0 ifaddr 79 14K 14K 78643K 133 0 counters 21 16K 16K 78643K 27 0 ioctlops 0 0K 2K 78643K 39 0 iov 0 0K 16K 78643K 97 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1522 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 24 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 71 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 342 0 sigio 0 0K 0K 78643K 41 0 proc 51 38K 55K 78643K 463 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 67 0 in_multi 43 2K 3K 78643K 115 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 103 466K 466K 78643K 103 0 exec 0 0K 1K 78643K 241 0 pfkey data 0 0K 1K 78643K 2 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 109 22K 26K 78643K 1702 0 UVM aobj 17 2K 2K 78643K 87 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 77 0 NDP 15 0K 0K 78643K 29 0 temp 138 3022K 3097K 78643K 11946 0 kqueue 3 4K 13K 78643K 25 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 16 0 9 1 0 1 1 0 8 0 rtpcb 80 389 0 387 1 0 1 1 0 8 0 rtentry 112 86 0 44 2 0 2 2 0 8 0 unpcb 120 843 0 835 5 2 3 4 0 8 2 syncache 264 7 0 7 3 2 1 1 0 8 1 tcpqe 32 67 0 67 1 1 0 1 0 8 0 tcpcb 544 175 0 171 1 0 1 1 0 8 0 ipq 40 6 0 6 2 1 1 1 0 8 1 ipqe 40 143 0 143 2 1 1 1 0 8 1 inpcb 280 530 0 521 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 13 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 swfcl 56 2 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 336 0 158 14 1 13 13 0 8 0 art_table 32 337 0 158 2 0 2 2 0 8 0 art_node 16 85 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 69 0 59 1 0 1 1 0 8 0 shmpl 112 85 0 70 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1903 0 503 46 0 46 46 0 8 0 ffsino 240 1903 0 503 83 0 83 83 0 8 0 nchpl 144 2560 0 957 60 0 60 60 0 8 0 uvmvnodes 72 2163 0 0 40 0 40 40 0 8 0 vnodes 208 2163 0 0 114 0 114 114 0 8 0 namei 1024 7608 0 7608 1 0 1 1 0 8 1 scxspl 192 8309 0 8309 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 424 524 0 494 4 0 4 4 0 8 0 futexpl 56 10991 0 10991 1 0 1 1 0 8 1 knotepl 112 103 0 84 1 0 1 1 0 8 0 kqueuepl 144 56 0 54 1 0 1 1 0 8 0 pipelkpl 16 174 0 164 2 1 1 1 0 8 0 pipepl 120 348 0 329 3 1 2 2 0 8 1 fdescpl 432 508 0 494 2 0 2 2 0 8 0 filepl 120 4789 0 4693 10 3 7 8 0 8 4 lockfpl 104 81 0 80 1 0 1 1 0 8 0 lockfspl 48 28 0 27 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 655 0 648 1 0 1 1 0 8 0 zombiepl 144 494 0 493 1 0 1 1 0 8 0 processpl 896 524 0 493 4 0 4 4 0 8 0 procpl 624 906 0 867 4 0 4 4 0 8 0 sosppl 128 9 0 9 2 1 1 1 0 8 1 sockpl 400 1778 0 1760 20 8 12 14 0 8 9 mcl64k 65536 291 0 291 29 27 2 29 0 8 2 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 10 0 10 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 1 1 0 1 0 8 0 mcl8k 8192 19 0 19 1 0 1 1 0 8 1 mcl4k 4096 60 0 60 1 0 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 64783 0 64734 16 8 8 14 0 8 1 mtagpl 80 68 0 14 3 1 2 2 0 8 0 mbufpl 256 109610 0 109263 64 10 54 54 0 8 19 bufpl 280 5011 0 165 347 0 347 347 0 8 0 anonpl 16 70243 0 54036 80 5 75 78 0 107 6 amapchunkpl 152 2569 0 2439 12 1 11 11 0 158 5 amappl16 192 2596 0 1675 59 6 53 59 0 8 5 amappl15 184 219 0 216 1 0 1 1 0 8 0 amappl14 176 2 0 1 2 1 1 1 0 8 0 amappl13 168 51 0 49 2 1 1 1 0 8 0 amappl12 160 11 0 11 2 2 0 1 0 8 0 amappl11 152 91 0 79 1 0 1 1 0 8 0 amappl10 144 159 0 152 1 0 1 1 0 8 0 amappl9 136 379 0 374 1 0 1 1 0 8 0 amappl8 128 318 0 294 1 0 1 1 0 8 0 amappl7 120 259 0 245 1 0 1 1 0 8 0 amappl6 112 47 0 44 1 0 1 1 0 8 0 amappl5 104 444 0 432 1 0 1 1 0 8 0 amappl4 96 470 0 441 1 0 1 1 0 8 0 amappl3 88 122 0 115 1 0 1 1 0 8 0 amappl2 80 3244 0 3180 3 1 2 3 0 8 0 amappl1 72 18979 0 18566 27 18 9 20 0 8 0 amappl 80 1181 0 1141 2 1 1 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 86 0 70 1 0 1 1 0 8 0 uaddrrnd 24 508 0 494 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 508 0 494 1 0 1 1 0 8 0 vmmpekpl 168 7569 0 7542 2 0 2 2 0 8 0 vmmpepl 168 68710 0 66730 132 21 111 121 0 357 19 vmsppl 272 507 0 494 3 2 1 2 0 8 0 pdppl 4096 1022 0 988 6 1 5 6 0 8 0 pvpl 32 207919 0 188702 191 5 186 189 0 265 26 pmappl 200 507 0 494 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 251 0 60 6 0 6 6 0 8 0