panic: receive 1a: so 0xfffffd8065d6f000, so_type 3, m 0xfffffd8061da7c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 2387 29468 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065d6f000,0,ffff80001d6e5538,0,0,ffff80001d6e5444) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab7708,ffff80001d6e5538,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5538,0,ffff80001d6e5620) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e55d0,ffff80001d6e5620) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e56a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc53f0, 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 0xfffffd8065d6f000, so_type 3, m 0xfffffd8061da7c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065d6f000,0,ffff80001d6e5538,0,0,ffff80001d6e5444) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab7708,ffff80001d6e5538,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5538,0,ffff80001d6e5620) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e55d0,ffff80001d6e5620) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e56a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc53f0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5280 rbx 0xffff80001d6e5330 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81bba10f kprintf+0x15f r9 0x1 r10 0x2 r11 0xf1c6f94f92e3b684 r12 0x3000000008 r13 0xffff80001d6e5290 r14 0x100 r15 0x1 rip 0xffffffff816f9b08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5270 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=2387 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9c38,0xffff80001d6a9eb8 process=0xffff80001d6c4010 user=0xffff80001d6e0000, 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 93995 129622 33791 0 2 0 syz-executor.1 93995 429637 33791 0 2 0x4000000 syz-executor.1 87826 266753 79949 0 2 0x2 syz-executor.0 33791 338136 79949 0 3 0x82 nanosleep syz-executor.1 79949 333456 52374 0 3 0x82 thrsleep syz-fuzzer 79949 440810 52374 0 3 0x4000082 nanosleep syz-fuzzer 79949 241364 52374 0 3 0x4000082 kqread syz-fuzzer 79949 150562 52374 0 3 0x4000082 thrsleep syz-fuzzer 79949 93025 52374 0 3 0x4000082 thrsleep syz-fuzzer 79949 459944 52374 0 3 0x4000082 thrsleep syz-fuzzer 79949 288367 52374 0 3 0x4000082 thrsleep syz-fuzzer 52374 521327 30119 0 3 0x10008a pause ksh 30119 252568 33319 0 3 0x92 select sshd 71569 394929 1 0 3 0x100083 ttyin getty 33319 483831 1 0 3 0x80 select sshd 72315 115489 77467 73 3 0x100090 kqread syslogd 77467 462295 1 0 3 0x100082 netio syslogd 30666 342208 1 77 2 0x100010 dhclient *29468 2387 1 0 7 0 dhclient 44167 186241 0 0 2 0x14200 smr 15063 180695 0 0 2 0x14200 zerothread 98756 163044 0 0 3 0x14200 aiodoned aiodoned 20291 172263 0 0 3 0x14200 syncer update 2912 177511 0 0 3 0x14200 cleaner cleaner 31914 159956 0 0 3 0x14200 reaper reaper 27557 91965 0 0 3 0x14200 pgdaemon pagedaemon 21119 74666 0 0 3 0x14200 bored crynlk 45337 293420 0 0 3 0x14200 bored crypto 11626 309715 0 0 3 0x40014200 acpi0 acpi0 54410 141955 0 0 3 0x14200 bored softnet 22680 313544 0 0 3 0x14200 bored systqmp 52197 409129 0 0 3 0x14200 bored systq 5525 7526 0 0 3 0x40014200 bored softclock 21335 207192 0 0 3 0x40014200 idle0 1 269351 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 9502 6657K 6980K 78643K 11203 0 pcb 13 8K 8K 78643K 55 0 rtable 87 3K 6K 78643K 270 0 ifaddr 53 11K 11K 78643K 69 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 41 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1404 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 11 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 222 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 63K 78643K 377 0 subproc 32 2K 2K 78643K 36 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 23 0 in_multi 36 2K 2K 78643K 66 0 ether_multi 1 0K 0K 78643K 7 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 201 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 124 23K 32K 78643K 1391 0 UVM aobj 15 4K 4K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 38 0 NDP 8 0K 0K 78643K 13 0 temp 93 3856K 3920K 78643K 4235 0 kqueue 3 4K 8K 78643K 5 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 0 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 52 0 19 2 0 2 2 0 8 0 unpcb 120 127 0 119 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 77 0 77 1 1 0 1 0 8 0 tcpcb 544 56 0 52 1 0 1 1 0 8 0 inpcb 296 208 0 197 3 1 2 2 0 8 1 nd6 48 8 0 3 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 18 0 18 2 1 1 1 0 8 1 pftag 88 7 0 6 2 1 1 1 0 8 0 pfrule 1360 6 0 4 2 1 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 274 0 80 13 0 13 13 0 8 0 art_table 32 275 0 80 2 0 2 2 0 8 0 art_node 16 51 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 10 0 1 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1674 0 277 88 0 88 88 0 8 0 ffsino 240 1674 0 277 83 0 83 83 0 8 0 nchpl 144 2256 0 652 60 0 60 60 0 8 0 uvmvnodes 72 1871 0 0 35 0 35 35 0 8 0 vnodes 208 1871 0 0 99 0 99 99 0 8 0 namei 1024 5740 0 5740 1 0 1 1 0 8 1 pfiaddrpl 120 4 0 4 1 1 0 1 0 8 0 scxspl 192 6632 0 6632 1 0 1 1 0 8 1 plimitpl 152 28 0 21 1 0 1 1 0 8 0 sigapl 424 408 0 380 4 0 4 4 0 8 0 futexpl 56 3861 0 3861 1 0 1 1 0 8 1 knotepl 112 65 0 46 1 0 1 1 0 8 0 kqueuepl 144 12 0 10 1 0 1 1 0 8 0 pipepl 272 96 0 86 1 0 1 1 0 8 0 fdescpl 432 394 0 380 2 0 2 2 0 8 0 filepl 120 2186 0 2087 4 0 4 4 0 8 1 lockfpl 104 53 0 52 1 0 1 1 0 8 0 lockfspl 48 21 0 20 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 163 0 155 1 0 1 1 0 8 0 zombiepl 144 380 0 380 1 0 1 1 0 8 1 processpl 928 408 0 380 4 0 4 4 0 8 0 procpl 624 637 0 602 4 1 3 4 0 8 0 sockpl 400 364 0 345 5 2 3 4 0 8 1 mcl64k 65536 12 0 12 1 1 0 1 0 8 0 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 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 5 0 5 2 1 1 1 0 8 1 mcl4k 4096 24 0 23 3 2 1 1 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 92240 0 92191 15 8 7 13 0 8 0 mtagpl 96 81 0 2 3 1 2 2 0 8 0 mbufpl 256 146702 0 146436 21 2 19 19 0 8 0 bufpl 280 3816 0 131 264 0 264 264 0 8 0 anonpl 16 62403 0 45674 80 1 79 79 0 107 8 amapchunkpl 152 2213 0 2080 14 3 11 13 0 158 5 amappl16 192 2062 0 1094 61 4 57 61 0 8 8 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 212 0 204 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 16 0 13 1 0 1 1 0 8 0 amappl11 152 234 0 222 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 369 0 368 1 0 1 1 0 8 0 amappl8 128 341 0 297 2 0 2 2 0 8 0 amappl7 120 108 0 95 1 0 1 1 0 8 0 amappl6 112 124 0 116 1 0 1 1 0 8 0 amappl5 104 153 0 143 1 0 1 1 0 8 0 amappl4 96 613 0 580 1 0 1 1 0 8 0 amappl3 88 203 0 194 1 0 1 1 0 8 0 amappl2 80 2327 0 2261 2 0 2 2 0 8 0 amappl1 72 17593 0 17176 23 14 9 17 0 8 0 amappl 80 912 0 871 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 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 394 0 380 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 394 0 380 1 0 1 1 0 8 0 vmmpekpl 168 6557 0 6530 2 0 2 2 0 8 0 vmmpepl 168 55742 0 53657 156 15 141 151 0 357 48 vmsppl 272 393 0 380 2 1 1 2 0 8 0 pdppl 4096 794 0 760 6 1 5 6 0 8 0 pvpl 32 182610 0 162913 187 0 187 187 0 265 18 pmappl 200 393 0 380 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 255 0 22 8 1 7 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065d6f000,0,ffff80001d6e5538,0,0,ffff80001d6e5444) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab7708,ffff80001d6e5538,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5538,0,ffff80001d6e5620) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e55d0,ffff80001d6e5620) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e56a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc53f0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065d6f000,0,ffff80001d6e5538,0,0,ffff80001d6e5444) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab7708,ffff80001d6e5538,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5538,0,ffff80001d6e5620) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e55d0,ffff80001d6e5620) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e56a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc53f0, count: -8