login: panic: receive 3: so 0xfffffd805e567000, so_type 3, m 0xfffffd805e34e300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 26477 40638 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b02f6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e567000,0,ffff80001d372a78,0,0,ffff80001d372984) at soreceive+0x16e7 soo_read(fffffd805eb11258,ffff80001d372a78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372a78,0,ffff80001d372b60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372b10,ffff80001d372b60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372be0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd0e0, 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 0xfffffd805e567000, so_type 3, m 0xfffffd805e34e300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b02f6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e567000,0,ffff80001d372a78,0,0,ffff80001d372984) at soreceive+0x16e7 soo_read(fffffd805eb11258,ffff80001d372a78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372a78,0,ffff80001d372b60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372b10,ffff80001d372b60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372be0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd0e0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3727c0 rbx 0xffff80001d372870 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372780 r9 0x1 r10 0 r11 0x495841ac11dcaa28 r12 0x3000000008 r13 0xffff80001d3727d0 r14 0x100 r15 0x1 rip 0xffffffff816969a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3727b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=26477 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d339c48 process=0xffff8000ffffae10 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 69744 52855 41815 0 2 0 syz-executor.1 69744 266307 41815 0 2 0x4000000 syz-executor.1 61324 100720 0 0 3 0x14200 bored sosplice 92427 434879 32479 0 2 0x2 syz-executor.0 41815 122126 32479 0 2 0x482 syz-executor.1 32479 358991 67120 0 3 0x82 thrsleep syz-fuzzer 32479 427073 67120 0 3 0x4000082 nanosleep syz-fuzzer 32479 125021 67120 0 3 0x4000082 thrsleep syz-fuzzer 32479 80402 67120 0 3 0x4000082 thrsleep syz-fuzzer 32479 323377 67120 0 3 0x4000082 kqread syz-fuzzer 32479 138501 67120 0 3 0x4000082 thrsleep syz-fuzzer 32479 151503 67120 0 3 0x4000082 thrsleep syz-fuzzer 67120 218089 93445 0 3 0x10008a pause ksh 93445 61992 21749 0 3 0x92 select sshd 52677 356475 1 0 3 0x100083 ttyin getty 21749 467779 1 0 3 0x80 select sshd 28467 464926 60485 73 3 0x100090 kqread syslogd 60485 117634 1 0 3 0x100082 netio syslogd 8609 464113 1 77 2 0x100010 dhclient *40638 26477 1 0 7 0 dhclient 6446 319381 0 0 2 0x14200 zerothread 8743 4028 0 0 3 0x14200 aiodoned aiodoned 99261 148443 0 0 3 0x14200 syncer update 91717 47057 0 0 3 0x14200 cleaner cleaner 24596 112544 0 0 3 0x14200 reaper reaper 56365 449809 0 0 3 0x14200 pgdaemon pagedaemon 79780 359332 0 0 3 0x14200 bored crynlk 44395 161091 0 0 3 0x14200 bored crypto 71434 241201 0 0 3 0x40014200 acpi0 acpi0 40807 40487 0 0 3 0x14200 bored softnet 45411 383980 0 0 3 0x14200 bored systqmp 37482 46577 0 0 3 0x14200 bored systq 53110 261364 0 0 3 0x40014200 bored softclock 35501 92355 0 0 3 0x40014200 idle0 86177 230544 0 0 3 0x14200 bored smr 1 48932 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 9466 6330K 7360K 78643K 10756 0 pcb 13 8K 8K 78643K 27 0 rtable 105 3K 3K 78643K 209 0 ifaddr 48 11K 11K 78643K 54 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 19 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1231 77K 77K 78643K 1280 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 80 0 proc 47 38K 63K 78643K 368 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 11 0 in_multi 33 2K 2K 78643K 43 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 185 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 91 21K 21K 78643K 1000 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 9 0 NDP 7 0K 0K 78643K 11 0 temp 70 3015K 3079K 78643K 1955 0 kqueue 3 4K 8K 78643K 13 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 7 0 1 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 50 0 6 2 0 2 2 0 8 0 unpcb 120 41 0 33 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 228 0 228 1 0 1 1 0 8 1 tcpcb 544 42 0 38 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 4 0 4 1 0 1 1 0 8 1 inpcb 280 142 0 135 2 0 2 2 0 8 1 nd6 48 6 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 196 0 3 13 0 13 13 0 8 0 art_table 32 197 0 3 2 0 2 2 0 8 0 art_node 16 49 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1500 0 99 46 0 46 46 0 8 0 ffsino 240 1500 0 99 83 0 83 83 0 8 0 nchpl 144 1798 0 199 60 0 60 60 0 8 0 uvmvnodes 72 1584 0 0 29 0 29 29 0 8 0 vnodes 208 1584 0 0 84 0 84 84 0 8 0 namei 1024 4480 0 4479 1 0 1 1 0 8 0 scxspl 192 5056 0 5056 1 0 1 1 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 432 251 0 238 2 0 2 2 0 8 0 futexpl 56 1416 0 1416 1 0 1 1 0 8 1 knotepl 112 69 0 50 1 0 1 1 0 8 0 kqueuepl 144 16 0 14 1 0 1 1 0 8 0 pipelkpl 16 79 0 69 1 0 1 1 0 8 0 pipepl 120 158 0 139 1 0 1 1 0 8 0 fdescpl 432 252 0 238 2 0 2 2 0 8 0 filepl 120 1474 0 1378 4 0 4 4 0 8 1 lockfpl 104 19 0 18 1 0 1 1 0 8 0 lockfspl 48 10 0 9 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 133 0 126 1 0 1 1 0 8 0 zombiepl 144 238 0 238 1 0 1 1 0 8 1 processpl 896 267 0 238 4 0 4 4 0 8 0 procpl 624 332 0 296 4 0 4 4 0 8 1 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 208 0 191 3 0 3 3 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 15 0 15 2 1 1 1 0 8 1 mcl2k 2048 63066 0 63014 18 3 15 15 0 8 8 mtagpl 80 18 0 2 2 1 1 1 0 8 0 mbufpl 256 99909 0 99795 13 3 10 10 0 8 1 bufpl 280 4045 0 161 278 0 278 278 0 8 0 anonpl 16 39113 0 23656 67 2 65 65 0 107 1 amapchunkpl 152 1171 0 1035 8 0 8 8 0 158 1 amappl16 192 1191 0 348 44 0 44 44 0 8 1 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 4 0 3 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 32 0 28 1 0 1 1 0 8 0 amappl11 152 89 0 76 1 0 1 1 0 8 0 amappl10 144 13 0 10 1 0 1 1 0 8 0 amappl9 136 379 0 376 1 0 1 1 0 8 0 amappl8 128 264 0 252 1 0 1 1 0 8 0 amappl7 120 106 0 96 1 0 1 1 0 8 0 amappl6 112 47 0 44 1 0 1 1 0 8 0 amappl5 104 184 0 172 1 0 1 1 0 8 0 amappl4 96 434 0 404 1 0 1 1 0 8 0 amappl3 88 113 0 105 1 0 1 1 0 8 0 amappl2 80 1212 0 1144 3 1 2 3 0 8 0 amappl1 72 14244 0 13841 24 10 14 20 0 8 5 amappl 80 560 0 517 1 0 1 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 252 0 238 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 252 0 238 1 0 1 1 0 8 0 vmmpekpl 168 5844 0 5819 2 0 2 2 0 8 0 vmmpepl 168 37467 0 35589 148 4 144 144 0 357 62 vmsppl 272 251 0 238 2 0 2 2 0 8 1 pdppl 4096 510 0 476 6 0 6 6 0 8 1 pvpl 32 132017 0 113609 158 0 158 158 0 265 8 pmappl 200 251 0 238 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 153 0 9 5 0 5 5 0 8 0