panic: receive 3: so 0xfffffd8066b57320, so_type 3, m 0xfffffd805c628c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 70189 50158 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066b57320,0,ffff80001d6e1358,0,0,ffff80001d6e1264) at soreceive+0x16e7 soo_read(fffffd8066bf1690,ffff80001d6e1358,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e1358,0,ffff80001d6e1440) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e13f0,ffff80001d6e1440) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e14c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5af0, 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 0xfffffd8066b57320, so_type 3, m 0xfffffd805c628c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066b57320,0,ffff80001d6e1358,0,0,ffff80001d6e1264) at soreceive+0x16e7 soo_read(fffffd8066bf1690,ffff80001d6e1358,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e1358,0,ffff80001d6e1440) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e13f0,ffff80001d6e1440) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e14c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5af0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e10a0 rbx 0xffff80001d6e1150 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e1060 r9 0xffffffff8122fb1f kprintf+0x15f r10 0x1 r11 0xbfadb53ec4afcb5c r12 0x3000000008 r13 0xffff80001d6e10b0 r14 0x100 r15 0x1 rip 0xffffffff81b1d038 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e1090 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=70189 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8770,0xffff8000ffff9650 process=0xffff80001d6c0770 user=0xffff80001d6dc000, vmspace=0xfffffd806bc09440 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 59244 433133 99426 0 2 0 syz-executor.1 59244 441568 99426 0 2 0x4000000 syz-executor.1 8297 60272 0 0 3 0x14280 nfsidl nfsio 62289 28264 0 0 3 0x14280 nfsidl nfsio 60707 227159 0 0 3 0x14280 nfsidl nfsio 30019 68085 0 0 3 0x14280 nfsidl nfsio 32428 103080 0 0 3 0x14280 nfsidl nfsio 47583 240370 0 0 3 0x14280 nfsidl nfsio 16214 165221 0 0 3 0x14280 nfsidl nfsio 33802 112858 0 0 3 0x14280 nfsidl nfsio 9851 190665 0 0 3 0x14280 nfsidl nfsio 99977 286315 0 0 3 0x14280 nfsidl nfsio 57336 69933 0 0 3 0x14280 nfsidl nfsio 43259 98385 0 0 3 0x14280 nfsidl nfsio 35335 398316 0 0 3 0x14280 nfsidl nfsio 52300 138032 0 0 3 0x14280 nfsidl nfsio 96205 328434 0 0 3 0x14280 nfsidl nfsio 604 28205 0 0 3 0x14280 nfsidl nfsio 51105 39221 0 0 3 0x14280 nfsidl nfsio 83268 203702 0 0 3 0x14280 nfsidl nfsio 72594 270102 0 0 3 0x14280 nfsidl nfsio 56456 297652 0 0 3 0x14280 nfsidl nfsio 34631 352062 56822 0 2 0x2 syz-executor.0 99426 85138 56822 0 3 0x82 nanosleep syz-executor.1 56822 308002 37267 0 3 0x82 thrsleep syz-fuzzer 56822 427946 37267 0 3 0x4000082 nanosleep syz-fuzzer 56822 376916 37267 0 3 0x4000082 thrsleep syz-fuzzer 56822 244226 37267 0 3 0x4000082 thrsleep syz-fuzzer 56822 334539 37267 0 3 0x4000082 thrsleep syz-fuzzer 56822 67972 37267 0 3 0x4000082 kqread syz-fuzzer 56822 319117 37267 0 3 0x4000082 thrsleep syz-fuzzer 37267 115940 71494 0 3 0x10008a pause ksh 71494 254041 97486 0 3 0x92 select sshd 90022 46755 1 0 3 0x100083 ttyin getty 97486 114145 1 0 3 0x80 select sshd 83777 131223 28120 73 3 0x100090 kqread syslogd 28120 317688 1 0 3 0x100082 netio syslogd 39317 465665 1 77 2 0x100010 dhclient *50158 70189 1 0 7 0 dhclient 91863 318156 0 0 3 0x14200 bored smr 26980 319232 0 0 2 0x14200 zerothread 2758 460060 0 0 3 0x14200 aiodoned aiodoned 57503 2564 0 0 3 0x14200 syncer update 4301 128551 0 0 3 0x14200 cleaner cleaner 11242 66373 0 0 3 0x14200 reaper reaper 97447 349383 0 0 3 0x14200 pgdaemon pagedaemon 17979 466809 0 0 3 0x14200 bored crynlk 31562 312237 0 0 3 0x14200 bored crypto 54928 70600 0 0 3 0x40014200 acpi0 acpi0 72768 390285 0 0 3 0x14200 bored softnet 47778 478855 0 0 3 0x14200 bored systqmp 62422 91354 0 0 3 0x14200 bored systq 85266 297522 0 0 3 0x40014200 bored softclock 20660 229201 0 0 3 0x40014200 idle0 1 360501 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 9488 6460K 6593K 78643K 10815 0 pcb 13 8K 8K 78643K 41 0 rtable 96 3K 4K 78643K 341 0 ifaddr 56 11K 12K 78643K 101 0 counters 21 16K 16K 78643K 25 0 ioctlops 0 0K 4K 78643K 41 0 iov 0 0K 12K 78643K 16 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1338 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 54 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 403 0 sigio 0 0K 0K 78643K 4 0 proc 52 38K 63K 78643K 448 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 15 0 in_multi 29 1K 2K 78643K 94 0 ether_multi 1 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 229 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 142 23K 24K 78643K 1766 0 UVM aobj 15 2K 2K 78643K 23 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 9 0K 0K 78643K 26 0 temp 122 3866K 3930K 78643K 10256 0 kqueue 3 4K 8K 78643K 9 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 10 0 4 1 0 1 1 0 8 0 rtpcb 88 33 0 31 1 0 1 1 0 8 0 rtentry 112 82 0 43 2 0 2 2 0 8 0 unpcb 120 625 0 617 1 0 1 1 0 8 0 syncache 272 6 0 6 2 2 0 1 0 8 0 tcpqe 32 236 0 236 2 2 0 1 0 8 0 tcpcb 592 363 0 353 4 0 4 4 0 8 2 inpcb 296 591 0 580 2 0 2 2 0 8 1 nd6 48 20 0 16 1 0 1 1 0 8 0 pfrktable 1344 6 0 6 1 1 0 1 0 8 0 pfrule 1360 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 287 0 115 13 1 12 13 0 8 0 art_table 32 288 0 115 2 0 2 2 0 8 0 art_node 16 81 0 45 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semapl 112 50 0 40 1 0 1 1 0 8 0 shmpl 112 20 0 8 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1822 0 424 88 0 88 88 0 8 0 ffsino 240 1822 0 424 83 0 83 83 0 8 0 nchpl 144 2526 0 950 60 0 60 60 0 8 0 uvmvnodes 72 1954 0 0 36 0 36 36 0 8 0 vnodes 208 1954 0 0 103 0 103 103 0 8 0 namei 1024 6568 0 6568 2 1 1 1 0 8 1 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 scxspl 200 7361 0 7361 1 0 1 1 0 8 1 plimitpl 152 42 0 35 1 0 1 1 0 8 0 sigapl 424 603 0 555 6 0 6 6 0 8 0 futexpl 56 6567 0 6567 1 0 1 1 0 8 1 knotepl 112 92 0 72 1 0 1 1 0 8 0 kqueuepl 152 30 0 28 1 0 1 1 0 8 0 pipepl 272 117 0 106 1 0 1 1 0 8 0 fdescpl 432 569 0 555 2 0 2 2 0 8 0 filepl 120 3278 0 3178 4 0 4 4 0 8 0 lockfpl 104 37 0 36 1 0 1 1 0 8 0 lockfspl 48 14 0 13 1 0 1 1 0 8 0 sessionpl 120 19 0 9 1 0 1 1 0 8 0 pgrppl 48 43 0 33 1 0 1 1 0 8 0 ucredpl 96 240 0 233 1 0 1 1 0 8 0 zombiepl 144 555 0 555 2 1 1 1 0 8 1 processpl 944 603 0 555 7 0 7 7 0 8 1 procpl 632 996 0 941 5 0 5 5 0 8 0 sockpl 400 1251 0 1230 4 0 4 4 0 8 1 mcl64k 65536 6 0 6 1 0 1 1 0 8 1 mcl12k 12288 10 0 10 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 30 0 30 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 1 0 1 1 0 8 1 mcl2k 2048 95511 0 95459 18 10 8 16 0 8 1 mtagpl 96 14 0 4 2 1 1 1 0 8 0 mbufpl 256 150918 0 150726 19 3 16 16 0 8 1 bufpl 280 3867 0 116 268 0 268 268 0 8 0 anonpl 16 67052 0 50097 71 2 69 69 0 107 0 amapchunkpl 152 2390 0 2214 10 2 8 9 0 158 0 amappl16 192 2103 0 1219 45 0 45 45 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 322 0 318 1 0 1 1 0 8 0 amappl13 168 58 0 55 1 0 1 1 0 8 0 amappl12 160 39 0 32 1 0 1 1 0 8 0 amappl11 152 371 0 359 1 0 1 1 0 8 0 amappl10 144 12 0 9 1 0 1 1 0 8 0 amappl9 136 254 0 253 1 0 1 1 0 8 0 amappl8 128 387 0 326 2 0 2 2 0 8 0 amappl7 120 115 0 104 1 0 1 1 0 8 0 amappl6 112 72 0 63 1 0 1 1 0 8 0 amappl5 104 373 0 362 1 0 1 1 0 8 0 amappl4 96 773 0 740 1 0 1 1 0 8 0 amappl3 88 410 0 399 1 0 1 1 0 8 0 amappl2 80 3619 0 3553 2 0 2 2 0 8 0 amappl1 72 22106 0 21690 24 15 9 17 0 8 0 amappl 80 1233 0 1182 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 22 0 8 1 0 1 1 0 8 0 uaddrrnd 24 569 0 555 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 569 0 555 1 0 1 1 0 8 0 vmmpekpl 168 7491 0 7465 2 0 2 2 0 8 0 vmmpepl 168 77325 0 75300 134 16 118 124 0 357 29 vmsppl 272 568 0 555 3 2 1 2 0 8 0 pdppl 4096 1144 0 1110 6 1 5 6 0 8 0 pvpl 32 209170 0 189133 166 0 166 166 0 265 4 pmappl 200 568 0 555 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 251 0 25 7 0 7 7 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(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066b57320,0,ffff80001d6e1358,0,0,ffff80001d6e1264) at soreceive+0x16e7 soo_read(fffffd8066bf1690,ffff80001d6e1358,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e1358,0,ffff80001d6e1440) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e13f0,ffff80001d6e1440) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e14c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5af0, 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(ffffffff823c70a4) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8066b57320,0,ffff80001d6e1358,0,0,ffff80001d6e1264) at soreceive+0x16e7 soo_read(fffffd8066bf1690,ffff80001d6e1358,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e1358,0,ffff80001d6e1440) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e13f0,ffff80001d6e1440) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e14c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5af0, count: -8