panic: receive 3: so 0xfffffd806b63e640, so_type 3, m 0xfffffd805784eb00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *488816 59017 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b63e640,0,ffff80001d6e4ea8,0,0,ffff80001d6e4db4) at soreceive+0x16e7 soo_read(fffffd805eab74b0,ffff80001d6e4ea8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4ea8,0,ffff80001d6e4f90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4f40,ffff80001d6e4f90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5010) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea1c0, 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 0xfffffd806b63e640, so_type 3, m 0xfffffd805784eb00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b63e640,0,ffff80001d6e4ea8,0,0,ffff80001d6e4db4) at soreceive+0x16e7 soo_read(fffffd805eab74b0,ffff80001d6e4ea8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4ea8,0,ffff80001d6e4f90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4f40,ffff80001d6e4f90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5010) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea1c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4bf0 rbx 0xffff80001d6e4ca0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff816eac3f kprintf+0x15f r9 0x1 r10 0x2 r11 0x9216187527493282 r12 0x3000000008 r13 0xffff80001d6e4c00 r14 0x100 r15 0x1 rip 0xffffffff8121b298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4be0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=488816 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9768 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 63064 509822 95702 0 2 0 syz-executor.0 63064 370074 95702 0 2 0x4000000 syz-executor.0 95702 369313 17886 0 3 0x82 nanosleep syz-executor.0 11576 336858 0 0 3 0x14280 nfsidl nfsio 39439 450462 0 0 3 0x14280 nfsidl nfsio 11502 345203 0 0 3 0x14280 nfsidl nfsio 73833 404785 0 0 3 0x14280 nfsidl nfsio 41714 449988 0 0 3 0x14280 nfsidl nfsio 10640 400194 0 0 3 0x14280 nfsidl nfsio 96153 199045 0 0 3 0x14280 nfsidl nfsio 20772 470857 0 0 3 0x14280 nfsidl nfsio 75732 90284 0 0 3 0x14280 nfsidl nfsio 77750 500150 0 0 3 0x14280 nfsidl nfsio 37534 408910 0 0 3 0x14280 nfsidl nfsio 43341 270259 0 0 3 0x14280 nfsidl nfsio 95506 375867 0 0 3 0x14280 nfsidl nfsio 96729 277135 0 0 3 0x14280 nfsidl nfsio 69128 332384 0 0 3 0x14280 nfsidl nfsio 19521 83677 0 0 3 0x14280 nfsidl nfsio 68017 150478 0 0 3 0x14280 nfsidl nfsio 23522 202260 0 0 3 0x14280 nfsidl nfsio 56277 93856 0 0 3 0x14280 nfsidl nfsio 34598 437325 0 0 3 0x14280 nfsidl nfsio 79346 150918 1 0 3 0x100083 ttyin getty 82827 71027 0 0 3 0x14200 bored sosplice 70811 240426 0 0 3 0x14200 acct acct 62765 450354 17886 0 3 0x82 piperd syz-executor.1 17886 294830 39333 0 2 0x2 syz-fuzzer 17886 479662 39333 0 3 0x4000082 nanosleep syz-fuzzer 17886 214554 39333 0 3 0x4000082 thrsleep syz-fuzzer 17886 29815 39333 0 3 0x4000082 thrsleep syz-fuzzer 17886 353605 39333 0 3 0x4000082 thrsleep syz-fuzzer 17886 520489 39333 0 3 0x4000082 thrsleep syz-fuzzer 17886 207388 39333 0 3 0x4000082 thrsleep syz-fuzzer 17886 458953 39333 0 2 0x4000002 syz-fuzzer 39333 57250 67958 0 3 0x10008a pause ksh 67958 507167 18488 0 3 0x92 select sshd 18488 267746 1 0 3 0x80 select sshd 90494 519644 99338 73 3 0x100090 kqread syslogd 99338 217364 1 0 3 0x100082 netio syslogd 70640 269502 1 77 2 0x100010 dhclient *59017 488816 1 0 7 0 dhclient 98267 397215 0 0 3 0x14200 bored smr 81069 47887 0 0 2 0x14200 zerothread 56347 221512 0 0 3 0x14200 aiodoned aiodoned 97604 94131 0 0 3 0x14200 syncer update 95064 315315 0 0 3 0x14200 cleaner cleaner 25314 30814 0 0 3 0x14200 reaper reaper 80452 195192 0 0 3 0x14200 pgdaemon pagedaemon 10594 186352 0 0 3 0x14200 bored crynlk 44087 19487 0 0 3 0x14200 bored crypto 74844 1479 0 0 3 0x40014200 acpi0 acpi0 19341 400060 0 0 3 0x14200 bored softnet 47973 97790 0 0 3 0x14200 bored systqmp 16202 158786 0 0 3 0x14200 bored systq 65742 234222 0 0 3 0x40014200 bored softclock 19636 61527 0 0 3 0x40014200 idle0 1 1015 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 9518 6371K 6740K 78643K 12554 0 pcb 13 8K 8K 78643K 165 0 rtable 100 12K 13K 78643K 634 0 ifaddr 83 16K 16K 78643K 218 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 33 0 ioctlops 0 0K 4K 78643K 485 0 iov 0 0K 16K 78643K 114 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1668 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 210 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 1307 0 sigio 0 0K 0K 78643K 4 0 proc 51 38K 63K 78643K 567 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 106 0 in_multi 57 2K 3K 78643K 236 0 ether_multi 1 0K 0K 78643K 21 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 97 440K 440K 78643K 97 0 exec 0 0K 1K 78643K 288 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 149 105K 109K 78643K 3803 0 UVM aobj 48 4K 4K 78643K 50 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 120 0 NDP 13 0K 0K 78643K 46 0 temp 132 3863K 3927K 78643K 23648 0 kqueue 6 9K 16K 78643K 48 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 4 1 0 1 1 0 8 0 rtpcb 80 61 0 59 1 0 1 1 0 8 0 rtentry 112 112 0 77 2 0 2 2 0 8 0 unpcb 120 515 0 507 1 0 1 1 0 8 0 syncache 264 16 0 16 6 6 0 1 0 8 0 tcpqe 32 814 0 814 2 2 0 1 0 8 0 tcpcb 544 333 0 328 7 5 2 2 0 8 1 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 8 0 8 1 1 0 1 0 8 0 inpcb 296 1463 0 1454 11 10 1 2 0 8 0 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 34 0 30 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 5 0 5 4 4 0 1 0 8 0 pfrktable 1344 69 0 67 2 1 1 1 0 8 0 pftag 88 12 0 12 2 2 0 1 0 8 0 pfrule 1360 12 0 10 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 478 0 283 15 2 13 14 0 8 0 art_table 32 480 0 283 2 0 2 2 0 8 0 art_node 16 109 0 78 1 0 1 1 0 8 0 sysvmsgpl 40 58 0 34 1 0 1 1 0 8 0 semapl 112 204 0 194 1 0 1 1 0 8 0 shmpl 112 47 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2995 0 1600 88 0 88 88 0 8 0 ffsino 240 2995 0 1600 83 0 83 83 0 8 0 nchpl 144 4971 0 3382 60 0 60 60 0 8 0 uvmvnodes 72 3348 0 0 61 0 61 61 0 8 0 vnodes 208 3348 0 0 177 0 177 177 0 8 0 namei 1024 19567 0 19567 12 11 1 1 0 8 1 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 528 18 0 8 1 0 1 1 0 8 0 pfiaddrpl 120 22 0 20 2 1 1 1 0 8 0 scxspl 192 14214 0 14214 8 7 1 1 0 8 1 plimitpl 152 83 0 76 1 0 1 1 0 8 0 sigapl 424 1510 0 1460 6 0 6 6 0 8 0 futexpl 56 27855 0 27855 12 11 1 1 0 8 1 knotepl 112 139 0 120 1 0 1 1 0 8 0 kqueuepl 144 1782 0 1773 1 0 1 1 0 8 0 pipepl 272 266 0 256 1 0 1 1 0 8 0 fdescpl 432 1474 0 1460 2 0 2 2 0 8 0 filepl 120 13442 0 13343 4 0 4 4 0 8 0 lockfpl 104 229 0 228 1 0 1 1 0 8 0 lockfspl 48 81 0 80 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 28 0 18 1 0 1 1 0 8 0 ucredpl 96 5261 0 5254 1 0 1 1 0 8 0 zombiepl 144 1460 0 1460 3 2 1 1 0 8 1 processpl 928 1510 0 1460 7 0 7 7 0 8 0 procpl 624 2952 0 2894 6 1 5 5 0 8 0 sosppl 128 7 0 7 3 2 1 1 0 8 1 sockpl 400 2041 0 2022 16 13 3 4 0 8 1 mcl64k 65536 62 0 62 13 13 0 1 0 8 0 mcl16k 16384 8 0 8 7 7 0 1 0 8 0 mcl12k 12288 30 0 30 13 13 0 1 0 8 0 mcl9k 9216 21 0 21 10 9 1 1 0 8 1 mcl8k 8192 50 0 50 16 15 1 1 0 8 1 mcl4k 4096 85 0 85 16 15 1 1 0 8 1 mcl2k2 2112 6 0 6 4 4 0 1 0 8 0 mcl2k 2048 97513 0 97436 36 25 11 26 0 8 0 mtagpl 96 77 0 56 3 2 1 2 0 8 0 mbufpl 256 160653 0 160467 40 20 20 26 0 8 0 bufpl 280 5302 0 127 370 0 370 370 0 8 0 anonpl 16 170382 0 153008 97 12 85 89 0 107 0 amapchunkpl 152 7253 0 7110 50 43 7 20 0 158 0 amappl16 192 6990 0 5817 98 39 59 71 0 8 0 amappl15 184 11 0 8 1 0 1 1 0 8 0 amappl14 176 511 0 505 1 0 1 1 0 8 0 amappl13 168 344 0 340 1 0 1 1 0 8 0 amappl12 160 311 0 309 2 1 1 1 0 8 0 amappl11 152 49 0 40 1 0 1 1 0 8 0 amappl10 144 14 0 8 1 0 1 1 0 8 0 amappl9 136 844 0 841 1 0 1 1 0 8 0 amappl8 128 841 0 798 2 0 2 2 0 8 0 amappl7 120 119 0 107 1 0 1 1 0 8 0 amappl6 112 27 0 20 1 0 1 1 0 8 0 amappl5 104 1421 0 1408 1 0 1 1 0 8 0 amappl4 96 465 0 437 1 0 1 1 0 8 0 amappl3 88 622 0 615 1 0 1 1 0 8 0 amappl2 80 11149 0 11077 2 0 2 2 0 8 0 amappl1 72 41273 0 40858 23 14 9 17 0 8 0 amappl 80 3218 0 3167 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 49 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1492 0 1468 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1492 0 1468 1 0 1 1 0 8 0 vmmpekpl 168 11209 0 11168 2 0 2 2 0 8 0 vmmpepl 168 184243 0 181940 222 119 103 148 0 357 0 vmsppl 272 1491 0 1468 5 3 2 2 0 8 0 pdppl 4096 2990 0 2946 8 2 6 6 0 8 0 pvpl 32 435090 0 414562 227 31 196 207 0 265 0 pmappl 200 1491 0 1468 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 378 0 135 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(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b63e640,0,ffff80001d6e4ea8,0,0,ffff80001d6e4db4) at soreceive+0x16e7 soo_read(fffffd805eab74b0,ffff80001d6e4ea8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4ea8,0,ffff80001d6e4f90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4f40,ffff80001d6e4f90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5010) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea1c0, 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(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b63e640,0,ffff80001d6e4ea8,0,0,ffff80001d6e4db4) at soreceive+0x16e7 soo_read(fffffd805eab74b0,ffff80001d6e4ea8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4ea8,0,ffff80001d6e4f90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4f40,ffff80001d6e4f90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5010) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea1c0, count: -8