panic: receive 3: so 0xfffffd806b6ab640, so_type 3, m 0xfffffd80537cf200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *360982 23646 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b6ab640,0,ffff80001d6e4fd8,0,0,ffff80001d6e4ee4) at soreceive+0x16e7 soo_read(fffffd80639f71e0,ffff80001d6e4fd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e4fd8,0,ffff80001d6e50c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5070,ffff80001d6e50c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5140) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec7c0, 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 0xfffffd806b6ab640, so_type 3, m 0xfffffd80537cf200, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b6ab640,0,ffff80001d6e4fd8,0,0,ffff80001d6e4ee4) at soreceive+0x16e7 soo_read(fffffd80639f71e0,ffff80001d6e4fd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e4fd8,0,ffff80001d6e50c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5070,ffff80001d6e50c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5140) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec7c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4d20 rbx 0xffff80001d6e4dd0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8138bf7f kprintf+0x15f r9 0x1 r10 0x2 r11 0x4c20b7b20c693db9 r12 0x3000000008 r13 0xffff80001d6e4d30 r14 0x100 r15 0x1 rip 0xffffffff813ac878 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4d10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=360982 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9758,0xffff80001d6a9eb8 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09440 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 15627 113775 32382 0 3 0x80 nanosleep syz-executor.1 15627 40724 32382 0 3 0x4000080 poll syz-executor.1 15627 288671 32382 0 3 0x4000080 fsleep syz-executor.1 65089 142422 54300 0 3 0x82 nanosleep syz-executor.0 72591 218142 0 0 3 0x14200 acct acct 60772 411711 0 0 3 0x14200 bored sosplice 32382 151211 54300 0 3 0x82 nanosleep syz-executor.1 54300 58701 64697 0 3 0x82 thrsleep syz-fuzzer 54300 413356 64697 0 3 0x4000082 thrsleep syz-fuzzer 54300 157707 64697 0 3 0x4000082 thrsleep syz-fuzzer 54300 238883 64697 0 3 0x4000082 thrsleep syz-fuzzer 54300 49924 64697 0 3 0x4000082 thrsleep syz-fuzzer 54300 336900 64697 0 3 0x4000082 kqread syz-fuzzer 54300 148909 64697 0 3 0x4000082 thrsleep syz-fuzzer 54300 406629 64697 0 3 0x4000082 thrsleep syz-fuzzer 64697 74577 78233 0 3 0x10008a pause ksh 78233 127339 83000 0 3 0x92 select sshd 49849 271432 1 0 3 0x100083 ttyin getty 83000 501898 1 0 3 0x80 select sshd 13839 491384 11340 73 3 0x100090 kqread syslogd 11340 199993 1 0 3 0x100082 netio syslogd 96806 108012 1 77 3 0x100090 poll dhclient *23646 360982 1 0 7 0 dhclient 73268 388362 0 0 3 0x14200 bored smr 47259 196350 0 0 3 0x14200 pgzero zerothread 3879 142911 0 0 3 0x14200 aiodoned aiodoned 31971 145790 0 0 3 0x14200 syncer update 3674 40228 0 0 3 0x14200 cleaner cleaner 69921 149335 0 0 3 0x14200 reaper reaper 19087 62358 0 0 3 0x14200 pgdaemon pagedaemon 99709 434969 0 0 3 0x14200 bored crynlk 65935 430975 0 0 3 0x14200 bored crypto 25584 153589 0 0 3 0x40014200 acpi0 acpi0 28686 461805 0 0 3 0x14200 bored softnet 3996 130303 0 0 3 0x14200 bored systqmp 17692 425383 0 0 3 0x14200 bored systq 62109 251728 0 0 3 0x40014200 bored softclock 54026 91352 0 0 3 0x40014200 idle0 1 70197 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 9513 6349K 6852K 78643K 11233 0 pcb 13 8K 8K 78643K 83 0 rtable 144 10K 13K 78643K 646 0 ifaddr 86 17K 17K 78643K 224 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 28 0 ioctlops 0 0K 4K 78643K 130 0 iov 0 0K 24K 78643K 278 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1426 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 157 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 613 0 sigio 0 0K 0K 78643K 52 0 proc 50 38K 63K 78643K 450 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 33 0 in_multi 65 3K 3K 78643K 154 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 15 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 232 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 145 72K 88K 78643K 2622 0 UVM aobj 26 4K 5K 78643K 37 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 65 0 NDP 13 0K 0K 78643K 38 0 temp 132 3868K 3932K 78643K 22461 0 kqueue 3 4K 9K 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 12 0 5 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 94 0 45 2 0 2 2 0 8 0 unpcb 120 265 0 257 1 0 1 1 0 8 0 syncache 264 21 0 21 4 3 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 205 0 205 3 2 1 2 0 8 1 tcpcb 544 235 0 230 1 0 1 1 0 8 0 inpcb 296 549 0 536 4 2 2 2 0 8 0 rttmr 72 6 0 6 1 1 0 1 0 8 0 nd6 48 26 0 17 1 0 1 1 0 8 0 ppxss 1136 5 0 5 2 1 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 128 0 116 3 2 1 2 0 8 0 pftag 88 30 0 26 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 2 0 0 1 0 1 1 0 8 0 pfstate 328 1 0 0 1 0 1 1 0 8 0 pfrule 1360 40 0 22 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 337 0 103 16 1 15 15 0 8 0 art_table 32 339 0 103 2 0 2 2 0 8 0 art_node 16 91 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 155 0 145 1 0 1 1 0 8 0 shmpl 112 34 0 11 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2218 0 816 88 0 88 88 0 8 0 ffsino 240 2218 0 816 83 0 83 83 0 8 0 nchpl 144 3276 0 1684 60 0 60 60 0 8 0 uvmvnodes 72 2420 0 0 44 0 44 44 0 8 0 vnodes 208 2420 0 0 128 0 128 128 0 8 0 namei 1024 8631 0 8631 3 2 1 1 0 8 1 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 44 0 36 2 1 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 9754 0 9754 2 1 1 1 0 8 1 plimitpl 152 63 0 56 1 0 1 1 0 8 0 sigapl 424 818 0 788 6 1 5 6 0 8 0 futexpl 56 12970 0 12969 3 2 1 1 0 8 0 knotepl 112 100 0 81 1 0 1 1 0 8 0 kqueuepl 144 399 0 392 1 0 1 1 0 8 0 pipepl 272 581 0 571 5 3 2 2 0 8 1 fdescpl 432 782 0 768 2 0 2 2 0 8 0 filepl 120 5122 0 5026 4 0 4 4 0 8 0 lockfpl 104 412 0 410 1 0 1 1 0 8 0 lockfspl 48 133 0 131 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 32 0 22 1 0 1 1 0 8 0 ucredpl 96 412 0 404 1 0 1 1 0 8 0 zombiepl 144 788 0 787 1 0 1 1 0 8 0 processpl 928 818 0 787 7 2 5 7 0 8 0 procpl 624 1725 0 1685 6 2 4 5 0 8 0 sosppl 128 9 0 9 3 2 1 1 0 8 1 sockpl 400 859 0 838 6 3 3 4 0 8 0 mcl64k 65536 22 0 22 3 2 1 1 0 8 1 mcl16k 16384 3 0 3 3 3 0 1 0 8 0 mcl12k 12288 17 0 17 5 4 1 1 0 8 1 mcl9k 9216 6 0 6 3 2 1 1 0 8 1 mcl8k 8192 22 0 22 4 3 1 1 0 8 1 mcl4k 4096 52 0 52 4 3 1 1 0 8 1 mcl2k2 2112 5 0 5 4 4 0 1 0 8 0 mcl2k 2048 92626 0 92580 33 26 7 31 0 8 0 mtagpl 96 54 0 23 2 1 1 1 0 8 0 mbufpl 256 149877 0 149661 26 11 15 19 0 8 0 bufpl 280 4542 0 125 316 0 316 316 0 8 0 anonpl 16 92361 0 76166 85 6 79 81 0 107 11 amapchunkpl 152 4645 0 4499 34 14 20 20 0 158 14 amappl16 192 3796 0 2867 62 9 53 59 0 8 6 amappl15 184 185 0 184 1 0 1 1 0 8 0 amappl14 176 24 0 19 1 0 1 1 0 8 0 amappl13 168 34 0 31 1 0 1 1 0 8 0 amappl12 160 305 0 299 1 0 1 1 0 8 0 amappl11 152 154 0 143 1 0 1 1 0 8 0 amappl10 144 197 0 193 1 0 1 1 0 8 0 amappl9 136 376 0 374 1 0 1 1 0 8 0 amappl8 128 358 0 312 2 0 2 2 0 8 0 amappl7 120 297 0 285 1 0 1 1 0 8 0 amappl6 112 118 0 114 1 0 1 1 0 8 0 amappl5 104 996 0 982 1 0 1 1 0 8 0 amappl4 96 440 0 413 1 0 1 1 0 8 0 amappl3 88 284 0 279 1 0 1 1 0 8 0 amappl2 80 5382 0 5316 2 0 2 2 0 8 0 amappl1 72 28553 0 28124 25 16 9 17 0 8 0 amappl 80 1949 0 1903 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 36 0 11 1 0 1 1 0 8 0 uaddrrnd 24 788 0 768 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 788 0 768 1 0 1 1 0 8 0 vmmpekpl 168 10762 0 10727 2 0 2 2 0 8 0 vmmpepl 168 104906 0 102845 154 53 101 126 0 357 5 vmsppl 272 787 0 768 3 1 2 2 0 8 0 pdppl 4096 1582 0 1542 7 1 6 6 0 8 0 pvpl 32 265362 0 246153 201 13 188 190 0 265 27 pmappl 200 787 0 768 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 300 0 63 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(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b6ab640,0,ffff80001d6e4fd8,0,0,ffff80001d6e4ee4) at soreceive+0x16e7 soo_read(fffffd80639f71e0,ffff80001d6e4fd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e4fd8,0,ffff80001d6e50c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5070,ffff80001d6e50c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5140) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec7c0, 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(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b6ab640,0,ffff80001d6e4fd8,0,0,ffff80001d6e4ee4) at soreceive+0x16e7 soo_read(fffffd80639f71e0,ffff80001d6e4fd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e4fd8,0,ffff80001d6e50c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5070,ffff80001d6e50c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5140) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec7c0, count: -8