panic: receive 1a: so 0xfffffd806b704000, so_type 3, m 0xfffffd8057fc4800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *225992 59837 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b704000,0,ffff80001d6e4f58,0,0,ffff80001d6e4e64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f8708,ffff80001d6e4f58,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4f58,0,ffff80001d6e5040) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e4ff0,ffff80001d6e5040) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e50c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbd60, 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 0xfffffd806b704000, so_type 3, m 0xfffffd8057fc4800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b704000,0,ffff80001d6e4f58,0,0,ffff80001d6e4e64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f8708,ffff80001d6e4f58,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4f58,0,ffff80001d6e5040) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e4ff0,ffff80001d6e5040) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e50c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbd60, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4ca0 rbx 0xffff80001d6e4d50 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81fc279f kprintf+0x15f r9 0x1 r10 0x2 r11 0x64abffe2f3191d3d r12 0x3000000008 r13 0xffff80001d6e4cb0 r14 0x100 r15 0x1 rip 0xffffffff8175b418 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4c90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=225992 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9c48 process=0xffff80001d6c4e90 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a440 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8731 309127 6961 0 2 0 syz-executor.0 8731 273092 6961 0 2 0x4000000 syz-executor.0 86759 304860 0 0 3 0x14200 bored sosplice 2168 17239 0 0 3 0x14280 nfsidl nfsio 38332 354172 0 0 3 0x14280 nfsidl nfsio 23322 211230 0 0 3 0x14280 nfsidl nfsio 90237 58437 0 0 3 0x14280 nfsidl nfsio 63294 295260 0 0 3 0x14280 nfsidl nfsio 71673 68943 0 0 3 0x14280 nfsidl nfsio 54703 154156 0 0 3 0x14280 nfsidl nfsio 75132 117227 0 0 3 0x14280 nfsidl nfsio 67723 422095 0 0 3 0x14280 nfsidl nfsio 39286 172853 0 0 3 0x14280 nfsidl nfsio 40268 190050 0 0 3 0x14280 nfsidl nfsio 78351 288114 0 0 3 0x14280 nfsidl nfsio 70755 264548 0 0 3 0x14280 nfsidl nfsio 91207 60764 0 0 3 0x14280 nfsidl nfsio 7718 433031 0 0 3 0x14280 nfsidl nfsio 16538 397288 0 0 3 0x14280 nfsidl nfsio 72360 484234 0 0 3 0x14280 nfsidl nfsio 23945 156943 0 0 3 0x14280 nfsidl nfsio 43655 301961 0 0 3 0x14280 nfsidl nfsio 54345 151242 0 0 3 0x14280 nfsidl nfsio 89987 352565 2543 0 3 0x82 piperd syz-executor.1 6961 198247 2543 0 3 0x82 nanosleep syz-executor.0 2543 209343 7277 0 2 0x2 syz-fuzzer 2543 177360 7277 0 3 0x4000082 nanosleep syz-fuzzer 2543 294073 7277 0 3 0x4000082 thrsleep syz-fuzzer 2543 513390 7277 0 3 0x4000082 thrsleep syz-fuzzer 2543 427502 7277 0 3 0x4000082 thrsleep syz-fuzzer 2543 54005 7277 0 2 0x4000002 syz-fuzzer 2543 402726 7277 0 3 0x4000082 thrsleep syz-fuzzer 7277 241689 76075 0 3 0x10008a pause ksh 76075 280237 25035 0 3 0x92 select sshd 29339 41676 1 0 3 0x100083 ttyin getty 25035 225202 1 0 3 0x80 select sshd 10273 250154 3130 73 3 0x100090 kqread syslogd 3130 165262 1 0 3 0x100082 netio syslogd 89159 38995 1 77 2 0x100010 dhclient *59837 225992 1 0 7 0 dhclient 16592 513226 0 0 3 0x14200 bored smr 46406 389607 0 0 2 0x14200 zerothread 61254 152575 0 0 3 0x14200 aiodoned aiodoned 90771 322780 0 0 3 0x14200 syncer update 26748 269677 0 0 3 0x14200 cleaner cleaner 5546 488546 0 0 3 0x14200 reaper reaper 93861 353691 0 0 3 0x14200 pgdaemon pagedaemon 97230 510539 0 0 3 0x14200 bored crynlk 26585 65869 0 0 3 0x14200 bored crypto 98124 88354 0 0 3 0x40014200 acpi0 acpi0 84172 260046 0 0 3 0x14200 bored softnet 20166 91507 0 0 3 0x14200 bored systqmp 88189 74452 0 0 3 0x14200 bored systq 97706 336077 0 0 3 0x40014200 bored softclock 70125 119461 0 0 3 0x40014200 idle0 1 330584 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 9482 6335K 6590K 78643K 10945 0 pcb 13 8K 8K 78643K 49 0 rtable 112 4K 8K 78643K 395 0 ifaddr 69 15K 16K 78643K 157 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 25 0 ioctlops 0 0K 4K 78643K 57 0 iov 0 0K 16K 78643K 24 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1419 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 0K 1K 78643K 66 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 348 0 proc 50 38K 63K 78643K 392 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 22 0 in_multi 71 3K 3K 78643K 142 0 ether_multi 1 0K 0K 78643K 8 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 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 217 0 pfkey data 0 0K 0K 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 127 55K 56K 78643K 1623 0 UVM aobj 10 2K 2K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 314 0 NDP 9 0K 0K 78643K 26 0 temp 96 3852K 3926K 78643K 6597 0 kqueue 3 4K 8K 78643K 21 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 62 0 17 2 0 2 2 0 8 0 unpcb 120 91 0 83 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 193 0 193 1 1 0 1 0 8 0 tcpcb 544 400 0 394 5 4 1 4 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 296 778 0 771 3 1 2 2 0 8 1 nd6 48 19 0 12 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 65 0 64 1 0 1 1 0 8 0 pftag 88 7 0 6 1 0 1 1 0 8 0 pfstkey 112 2 0 2 1 1 0 1 0 8 0 pfstate 328 1 0 1 1 1 0 1 0 8 0 pfrule 1360 14 0 10 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 204 0 15 13 1 12 13 0 8 0 art_table 32 205 0 15 2 0 2 2 0 8 0 art_node 16 61 0 20 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 3 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 58 0 48 1 0 1 1 0 8 0 shmpl 112 13 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1850 0 449 88 0 88 88 0 8 0 ffsino 240 1850 0 449 83 0 83 83 0 8 0 nchpl 144 2553 0 946 60 0 60 60 0 8 0 uvmvnodes 72 2051 0 0 38 0 38 38 0 8 0 vnodes 208 2051 0 0 108 0 108 108 0 8 0 namei 1024 6702 0 6702 3 2 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 18 0 18 2 1 1 1 0 8 1 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 7238 0 7238 1 0 1 1 0 8 1 plimitpl 152 35 0 28 1 0 1 1 0 8 0 sigapl 424 555 0 506 6 0 6 6 0 8 0 futexpl 56 6859 0 6859 2 1 1 1 0 8 1 knotepl 112 79 0 60 1 0 1 1 0 8 0 kqueuepl 144 34 0 32 1 0 1 1 0 8 0 pipepl 272 100 0 90 1 0 1 1 0 8 0 fdescpl 432 520 0 506 2 0 2 2 0 8 0 filepl 120 2991 0 2895 4 0 4 4 0 8 1 lockfpl 104 30 0 29 1 0 1 1 0 8 0 lockfspl 48 12 0 11 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 247 0 240 1 0 1 1 0 8 0 zombiepl 144 506 0 506 2 1 1 1 0 8 1 processpl 928 555 0 506 7 0 7 7 0 8 0 procpl 624 931 0 875 5 0 5 5 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 906 0 889 4 1 3 3 0 8 1 mcl64k 65536 15 0 13 1 0 1 1 0 8 0 mcl12k 12288 11 0 11 3 2 1 1 0 8 1 mcl9k 9216 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 31 0 31 3 2 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 94773 0 94720 17 9 8 13 0 8 0 mtagpl 96 19 0 4 2 1 1 1 0 8 0 mbufpl 256 152120 0 151669 32 1 31 31 0 8 0 bufpl 280 3773 0 120 261 0 261 261 0 8 0 anonpl 16 65507 0 47556 87 11 76 84 0 107 3 amapchunkpl 152 2168 0 2034 13 7 6 11 0 158 0 amappl16 192 2477 0 1489 59 9 50 58 0 8 0 amappl15 184 141 0 139 1 0 1 1 0 8 0 amappl14 176 207 0 196 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 7 0 4 1 0 1 1 0 8 0 amappl11 152 220 0 209 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 372 0 371 1 0 1 1 0 8 0 amappl8 128 332 0 288 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 23 0 18 1 0 1 1 0 8 0 amappl5 104 292 0 282 1 0 1 1 0 8 0 amappl4 96 601 0 567 1 0 1 1 0 8 0 amappl3 88 287 0 279 1 0 1 1 0 8 0 amappl2 80 3462 0 3397 2 0 2 2 0 8 0 amappl1 72 20534 0 20119 23 14 9 17 0 8 0 amappl 80 1139 0 1096 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 15 0 6 1 0 1 1 0 8 0 uaddrrnd 24 528 0 510 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 528 0 510 1 0 1 1 0 8 0 vmmpekpl 168 6863 0 6830 3 1 2 2 0 8 0 vmmpepl 168 69873 0 67769 123 31 92 115 0 357 0 vmsppl 272 527 0 510 3 1 2 2 0 8 0 pdppl 4096 1062 0 1024 7 2 5 6 0 8 0 pvpl 32 195845 0 174818 199 10 189 197 0 265 19 pmappl 200 527 0 510 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 274 0 26 8 0 8 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(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b704000,0,ffff80001d6e4f58,0,0,ffff80001d6e4e64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f8708,ffff80001d6e4f58,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4f58,0,ffff80001d6e5040) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e4ff0,ffff80001d6e5040) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e50c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbd60, 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(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b704000,0,ffff80001d6e4f58,0,0,ffff80001d6e4e64) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f8708,ffff80001d6e4f58,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4f58,0,ffff80001d6e5040) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e4ff0,ffff80001d6e5040) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e50c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbd60, count: -8