panic: receive 1: so 0xfffffd805e554190, so_type 3, sb_cc 112 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *145451 1664 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d06ed) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554190,0,ffff80001d772b98,0,0,ffff80001d772aa4) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd8062bf44b0,ffff80001d772b98,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739758,6,ffff80001d772b98,0,ffff80001d772c80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739758,ffff80001d772c30,ffff80001d772c80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d772d00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf5a0, 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 1: so 0xfffffd805e554190, so_type 3, sb_cc 112 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d06ed) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554190,0,ffff80001d772b98,0,0,ffff80001d772aa4) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd8062bf44b0,ffff80001d772b98,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739758,6,ffff80001d772b98,0,ffff80001d772c80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739758,ffff80001d772c30,ffff80001d772c80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d772d00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf5a0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d7728e0 rbx 0xffff80001d772990 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d7728a0 r9 0x1 r10 0 r11 0x8266c6234e7b2991 r12 0x3000000008 r13 0xffff80001d7728f0 r14 0x100 r15 0x1 rip 0xffffffff81fecdd8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d7728d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=145451 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d739ea8,0xffff80001d739c48 process=0xffff8000ffffa010 user=0xffff80001d76d000, vmspace=0xfffffd806bc0a660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 20768 367916 97969 0 2 0 syz-executor.1 20768 507759 97969 0 2 0x4000000 syz-executor.1 97969 520227 82928 0 3 0x82 nanosleep syz-executor.1 67184 452820 82928 0 2 0x2 syz-executor.0 58500 152942 0 0 3 0x14200 bored sosplice 82928 249890 98598 0 3 0x82 thrsleep syz-fuzzer 82928 221695 98598 0 3 0x4000082 nanosleep syz-fuzzer 82928 196937 98598 0 3 0x4000082 thrsleep syz-fuzzer 82928 53118 98598 0 3 0x4000082 thrsleep syz-fuzzer 82928 270362 98598 0 3 0x4000082 thrsleep syz-fuzzer 82928 18506 98598 0 3 0x4000082 kqread syz-fuzzer 82928 517867 98598 0 3 0x4000082 thrsleep syz-fuzzer 82928 389198 98598 0 3 0x4000082 thrsleep syz-fuzzer 98598 283184 86285 0 3 0x10008a pause ksh 86285 122417 92006 0 3 0x92 select sshd 39861 61884 1 0 3 0x100083 ttyin getty 92006 277354 1 0 3 0x80 select sshd 46653 505635 29876 73 3 0x100090 kqread syslogd 29876 407194 1 0 3 0x100082 netio syslogd 85215 150535 1 77 3 0x100090 poll dhclient * 1664 145451 1 0 7 0 dhclient 9674 219115 0 0 3 0x14200 bored smr 96913 472512 0 0 2 0x14200 zerothread 9032 111075 0 0 3 0x14200 aiodoned aiodoned 96150 52184 0 0 3 0x14200 syncer update 52140 518815 0 0 3 0x14200 cleaner cleaner 31291 332929 0 0 3 0x14200 reaper reaper 19800 115027 0 0 3 0x14200 pgdaemon pagedaemon 49346 67439 0 0 3 0x14200 bored crynlk 70566 315155 0 0 3 0x14200 bored crypto 56007 300324 0 0 3 0x40014200 acpi0 acpi0 54246 126670 0 0 3 0x14200 bored softnet 60964 516390 0 0 3 0x14200 bored systqmp 29947 307183 0 0 3 0x14200 bored systq 14360 355299 0 0 3 0x40014200 bored softclock 8282 85508 0 0 3 0x40014200 idle0 1 254214 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 9519 6608K 6799K 78643K 11870 0 pcb 13 8K 8K 78643K 147 0 rtable 83 3K 3K 78643K 1287 0 ifaddr 75 15K 15K 78643K 269 0 counters 21 16K 17K 78643K 35 0 ioctlops 0 0K 2K 78643K 74 0 iov 0 0K 24K 78643K 907 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1622 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 131 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1808 195K 288K 78643K 12860 0 file desc 5 13K 25K 78643K 798 0 sigio 0 0K 0K 78643K 6 0 proc 51 38K 63K 78643K 493 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 49 0 in_multi 78 4K 4K 78643K 605 0 ether_multi 1 0K 0K 78643K 23 0 mrt 0 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 261 0 pfkey data 0 0K 1K 78643K 1 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 137 56K 88K 78643K 2902 0 UVM aobj 13 3K 3K 78643K 17 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 102 0 NDP 12 0K 0K 78643K 142 0 temp 109 3038K 3107K 78643K 13939 0 kqueue 3 4K 8K 78643K 11 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 11 0 5 1 0 1 1 0 8 0 rtpcb 80 191 0 189 1 0 1 1 0 8 0 rtentry 112 513 0 483 2 0 2 2 0 8 0 unpcb 120 319 0 311 1 0 1 1 0 8 0 syncache 264 15 0 15 3 2 1 1 0 8 1 tcpqe 32 75 0 75 1 1 0 1 0 8 0 tcpcb 544 251 0 247 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 280 1171 0 1164 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 122 0 120 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 3 0 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2984 0 2835 13 1 12 12 0 8 1 art_table 32 2985 0 2835 2 0 2 2 0 8 0 art_node 16 512 0 486 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 9 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 127 0 117 1 0 1 1 0 8 0 shmpl 112 15 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2599 0 1197 88 0 88 88 0 8 0 ffsino 240 2599 0 1197 83 0 83 83 0 8 0 nchpl 144 3938 0 2349 60 0 60 60 0 8 0 uvmvnodes 72 2957 0 0 54 0 54 54 0 8 0 vnodes 208 2957 0 0 156 0 156 156 0 8 0 namei 1024 10775 0 10774 2 1 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 9 0 5 1 0 1 1 0 8 0 scxspl 192 10986 0 10986 1 0 1 1 0 8 1 plimitpl 152 38 0 31 1 0 1 1 0 8 0 sigapl 424 979 0 950 4 0 4 4 0 8 0 futexpl 56 15813 0 15813 2 1 1 1 0 8 1 knotepl 112 94 0 75 1 0 1 1 0 8 0 kqueuepl 144 223 0 221 1 0 1 1 0 8 0 pipelkpl 16 168 0 158 1 0 1 1 0 8 0 pipepl 120 336 0 317 1 0 1 1 0 8 0 fdescpl 432 964 0 950 2 0 2 2 0 8 0 filepl 120 6037 0 5941 4 0 4 4 0 8 1 lockfpl 104 670 0 669 1 0 1 1 0 8 0 lockfspl 48 283 0 282 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 29 0 19 1 0 1 1 0 8 0 ucredpl 96 429 0 422 1 0 1 1 0 8 0 zombiepl 144 950 0 950 1 0 1 1 0 8 1 processpl 920 979 0 950 4 0 4 4 0 8 0 procpl 624 1819 0 1782 5 1 4 4 0 8 1 sosppl 128 26 0 26 3 2 1 1 0 8 1 sockpl 400 1692 0 1675 5 2 3 3 0 8 1 mcl64k 65536 18 0 18 4 3 1 1 0 8 1 mcl16k 16384 5 0 5 3 2 1 1 0 8 1 mcl12k 12288 18 0 18 3 2 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 10 0 10 4 3 1 1 0 8 1 mcl4k 4096 66 0 66 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 63502 0 63454 18 11 7 15 0 8 0 mtagpl 80 160 0 65 3 1 2 2 0 8 0 mbufpl 256 108808 0 108139 58 8 50 50 0 8 0 bufpl 280 4919 0 131 342 0 342 342 0 8 0 anonpl 16 102915 0 89692 80 17 63 70 0 107 5 amapchunkpl 152 5945 0 5802 33 14 19 20 0 158 13 amappl16 192 4465 0 3704 60 16 44 51 0 8 5 amappl15 184 276 0 274 1 0 1 1 0 8 0 amappl14 176 26 0 19 1 0 1 1 0 8 0 amappl13 168 35 0 34 1 0 1 1 0 8 0 amappl12 160 296 0 291 2 1 1 1 0 8 0 amappl11 152 151 0 142 1 0 1 1 0 8 0 amappl10 144 132 0 126 1 0 1 1 0 8 0 amappl9 136 371 0 370 1 0 1 1 0 8 0 amappl8 128 399 0 352 2 0 2 2 0 8 0 amappl7 120 248 0 234 1 0 1 1 0 8 0 amappl6 112 124 0 117 1 0 1 1 0 8 0 amappl5 104 895 0 882 1 0 1 1 0 8 0 amappl4 96 465 0 433 1 0 1 1 0 8 0 amappl3 88 130 0 124 1 0 1 1 0 8 0 amappl2 80 7057 0 6993 2 0 2 2 0 8 0 amappl1 72 25889 0 25475 24 15 9 17 0 8 0 amappl 80 2112 0 2067 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 16 0 4 1 0 1 1 0 8 0 uaddrrnd 24 973 0 955 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 973 0 955 1 0 1 1 0 8 0 vmmpekpl 168 9334 0 9303 2 0 2 2 0 8 0 vmmpepl 168 119371 0 117502 143 33 110 111 0 357 24 vmsppl 272 972 0 955 3 1 2 2 0 8 0 pdppl 4096 1952 0 1914 7 1 6 6 0 8 1 pvpl 32 299783 0 283583 183 27 156 165 0 265 18 pmappl 200 972 0 955 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 304 0 39 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(ffffffff821d06ed) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554190,0,ffff80001d772b98,0,0,ffff80001d772aa4) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd8062bf44b0,ffff80001d772b98,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739758,6,ffff80001d772b98,0,ffff80001d772c80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739758,ffff80001d772c30,ffff80001d772c80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d772d00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf5a0, 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(ffffffff821d06ed) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554190,0,ffff80001d772b98,0,0,ffff80001d772aa4) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd8062bf44b0,ffff80001d772b98,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739758,6,ffff80001d772b98,0,ffff80001d772c80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739758,ffff80001d772c30,ffff80001d772c80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d772d00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf5a0, count: -8