panic: receive 1a: so 0xfffffd805e4fd000, so_type 3, m 0xfffffd80534daf00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *333651 86420 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d8a74) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e4fd000,0,ffff80001d6e1ca8,0,0,ffff80001d6e1bb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805edf25a0,ffff80001d6e1ca8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff84f8,6,ffff80001d6e1ca8,0,ffff80001d6e1d90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff84f8,ffff80001d6e1d40,ffff80001d6e1d90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1e10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7990, 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 0xfffffd805e4fd000, so_type 3, m 0xfffffd80534daf00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d8a74) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e4fd000,0,ffff80001d6e1ca8,0,0,ffff80001d6e1bb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805edf25a0,ffff80001d6e1ca8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff84f8,6,ffff80001d6e1ca8,0,ffff80001d6e1d90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff84f8,ffff80001d6e1d40,ffff80001d6e1d90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1e10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7990, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e19f0 rbx 0xffff80001d6e1aa0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e19b0 r9 0xffffffff815b7cff kprintf+0x15f r10 0x1 r11 0xbfcb661a11a7a482 r12 0x3000000008 r13 0xffff80001d6e1a00 r14 0x100 r15 0x1 rip 0xffffffff82254f08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e19e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=333651 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff93c8,0xffff8000ffff89f8 process=0xffff80001d6c0b20 user=0xffff80001d6dc000, vmspace=0xfffffd806bc0a550 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4124 479153 15600 0 2 0 syz-executor.1 4124 299667 15600 0 2 0x4000000 syz-executor.1 13096 510620 0 0 3 0x14280 nfsidl nfsio 40027 87130 0 0 3 0x14280 nfsidl nfsio 49563 386930 0 0 3 0x14280 nfsidl nfsio 18388 318762 0 0 3 0x14280 nfsidl nfsio 76649 264838 0 0 3 0x14280 nfsidl nfsio 53641 112723 0 0 3 0x14280 nfsidl nfsio 90758 251157 0 0 3 0x14280 nfsidl nfsio 33423 400483 0 0 3 0x14280 nfsidl nfsio 58992 264852 0 0 3 0x14280 nfsidl nfsio 24526 212579 0 0 3 0x14280 nfsidl nfsio 99235 486699 0 0 3 0x14280 nfsidl nfsio 10978 209792 0 0 3 0x14280 nfsidl nfsio 69040 420451 0 0 3 0x14280 nfsidl nfsio 3932 90482 0 0 3 0x14280 nfsidl nfsio 187 91665 0 0 3 0x14280 nfsidl nfsio 94636 53739 0 0 3 0x14280 nfsidl nfsio 48277 438905 0 0 3 0x14280 nfsidl nfsio 68962 488301 0 0 3 0x14280 nfsidl nfsio 9496 145562 0 0 3 0x14280 nfsidl nfsio 90796 493646 0 0 3 0x14280 nfsidl nfsio 91820 334099 0 0 3 0x14200 bored sosplice 45379 220374 0 0 3 0x14200 acct acct 15600 76465 44316 0 2 0x482 syz-executor.1 43521 407896 44316 0 2 0x2 syz-executor.0 44316 409504 8901 0 3 0x82 thrsleep syz-fuzzer 44316 463674 8901 0 2 0x4000482 syz-fuzzer 44316 501545 8901 0 3 0x4000082 thrsleep syz-fuzzer 44316 336664 8901 0 2 0x4000482 syz-fuzzer 44316 114180 8901 0 3 0x4000082 thrsleep syz-fuzzer 44316 163565 8901 0 3 0x4000082 thrsleep syz-fuzzer 8901 496682 19145 0 3 0x10008a pause ksh 19145 330786 85392 0 3 0x92 select sshd 21750 440146 1 0 3 0x100083 ttyin getty 85392 61874 1 0 3 0x80 select sshd 47464 434778 59393 73 3 0x100090 kqread syslogd 59393 88059 1 0 3 0x100082 netio syslogd 10125 3539 1 77 2 0x100010 dhclient *86420 333651 1 0 7 0 dhclient 25712 344284 0 0 3 0x14200 bored smr 40175 84024 0 0 2 0x14200 zerothread 94278 494722 0 0 3 0x14200 aiodoned aiodoned 72385 363988 0 0 3 0x14200 syncer update 30619 211476 0 0 3 0x14200 cleaner cleaner 12498 317404 0 0 3 0x14200 reaper reaper 94390 221635 0 0 3 0x14200 pgdaemon pagedaemon 45912 290775 0 0 3 0x14200 bored crynlk 17456 447109 0 0 3 0x14200 bored crypto 68895 342739 0 0 3 0x40014200 acpi0 acpi0 41469 346501 0 0 3 0x14200 bored softnet 69123 495472 0 0 3 0x14200 bored systqmp 78408 495142 0 0 3 0x14200 bored systq 60989 201314 0 0 3 0x40014200 bored softclock 29021 425555 0 0 3 0x40014200 idle0 1 116129 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 9479 6335K 7231K 78643K 11324 0 pcb 13 8K 8K 78643K 71 0 rtable 125 15K 19K 78643K 440 0 ifaddr 74 16K 16K 78643K 153 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 89 0 iov 0 0K 12K 78643K 33 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1397 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 104 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 470 0 sigio 0 0K 0K 78643K 2 0 proc 51 38K 63K 78643K 391 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 44 0 in_multi 65 3K 3K 78643K 145 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 8 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 219 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 139 55K 56K 78643K 1918 0 UVM aobj 24 2K 2K 78643K 26 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 66 0 NDP 9 0K 0K 78643K 27 0 temp 94 3863K 3927K 78643K 3343 0 kqueue 3 4K 12K 78643K 16 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 7 0 1 1 0 1 1 0 8 0 rtpcb 88 30 0 28 1 0 1 1 0 8 0 rtentry 112 72 0 29 2 0 2 2 0 8 0 unpcb 120 177 0 169 1 0 1 1 0 8 0 syncache 272 9 0 9 4 3 1 1 0 8 1 tcpqe 32 51 0 51 2 2 0 1 0 8 0 tcpcb 592 169 0 157 4 2 2 2 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 90 0 90 1 1 0 1 0 8 0 inpcb 296 437 0 428 4 2 2 2 0 8 1 rttmr 72 4 0 4 1 1 0 1 0 8 0 nd6 48 17 0 12 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfrktable 1344 66 0 58 3 2 1 2 0 8 0 pftag 88 15 0 12 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 6 0 4 2 1 1 1 0 8 0 pfstate 328 3 0 2 2 1 1 1 0 8 0 pfrule 1360 18 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 236 0 59 13 0 13 13 0 8 0 art_table 32 237 0 59 2 0 2 2 0 8 0 art_node 16 71 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 100 0 90 1 0 1 1 0 8 0 shmpl 112 23 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 10 3 0 3 3 0 8 1 dino2pl 256 1985 0 587 88 0 88 88 0 8 0 ffsino 240 1985 0 587 83 0 83 83 0 8 0 nchpl 144 2793 0 1203 60 0 60 60 0 8 0 uvmvnodes 72 2152 0 0 40 0 40 40 0 8 0 vnodes 208 2152 0 0 114 0 114 114 0 8 0 namei 1024 8075 0 8074 3 2 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 9 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 24 0 20 1 0 1 1 0 8 0 scxspl 200 8092 0 8092 1 0 1 1 0 8 1 plimitpl 152 52 0 45 1 0 1 1 0 8 0 sigapl 424 678 0 628 6 0 6 6 0 8 0 futexpl 56 9530 0 9530 3 2 1 1 0 8 1 knotepl 112 80 0 60 1 0 1 1 0 8 0 kqueuepl 152 78 0 76 1 0 1 1 0 8 0 pipepl 272 133 0 122 2 1 1 2 0 8 0 fdescpl 432 642 0 628 2 0 2 2 0 8 0 filepl 120 3937 0 3839 4 0 4 4 0 8 0 lockfpl 104 118 0 117 1 0 1 1 0 8 0 lockfspl 48 38 0 37 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 371 0 364 1 0 1 1 0 8 0 zombiepl 144 628 0 628 1 0 1 1 0 8 1 processpl 944 678 0 628 7 0 7 7 0 8 0 procpl 632 1210 0 1154 8 2 6 6 0 8 1 sosppl 144 2 0 2 1 1 0 1 0 8 0 sockpl 400 646 0 627 5 2 3 4 0 8 0 mcl64k 65536 271 0 271 34 33 1 33 0 8 1 mcl12k 12288 11 0 11 3 2 1 1 0 8 1 mcl9k 9216 3 0 3 3 2 1 1 0 8 1 mcl8k 8192 13 0 13 4 3 1 1 0 8 1 mcl4k 4096 41 0 41 4 3 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 95720 0 95677 14 7 7 12 0 8 0 mtagpl 96 55 0 10 3 1 2 2 0 8 0 mbufpl 256 153388 0 153117 30 12 18 29 0 8 0 bufpl 280 3970 0 121 275 0 275 275 0 8 0 anonpl 16 97677 0 78685 112 17 95 95 0 107 16 amapchunkpl 152 2819 0 2650 14 6 8 11 0 158 0 amappl16 192 4130 0 3082 84 23 61 65 0 8 8 amappl15 184 438 0 434 1 0 1 1 0 8 0 amappl14 176 2 0 0 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 22 0 20 1 0 1 1 0 8 0 amappl11 152 47 0 38 1 0 1 1 0 8 0 amappl10 144 455 0 447 1 0 1 1 0 8 0 amappl9 136 351 0 349 1 0 1 1 0 8 0 amappl8 128 310 0 279 2 0 2 2 0 8 0 amappl7 120 311 0 298 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 590 0 578 1 0 1 1 0 8 0 amappl4 96 428 0 401 1 0 1 1 0 8 0 amappl3 88 137 0 127 1 0 1 1 0 8 0 amappl2 80 4554 0 4485 2 0 2 2 0 8 0 amappl1 72 22798 0 22382 21 12 9 17 0 8 0 amappl 80 1433 0 1378 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 25 0 2 1 0 1 1 0 8 0 uaddrrnd 24 651 0 632 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 651 0 632 1 0 1 1 0 8 0 vmmpekpl 168 7589 0 7560 2 0 2 2 0 8 0 vmmpepl 168 85879 0 83701 146 35 111 116 0 357 15 vmsppl 272 650 0 632 4 2 2 2 0 8 0 pdppl 4096 1308 0 1269 7 1 6 6 0 8 0 pvpl 32 251603 0 230030 235 20 215 215 0 265 37 pmappl 200 650 0 632 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 302 0 71 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(ffffffff823d8a74) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e4fd000,0,ffff80001d6e1ca8,0,0,ffff80001d6e1bb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805edf25a0,ffff80001d6e1ca8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff84f8,6,ffff80001d6e1ca8,0,ffff80001d6e1d90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff84f8,ffff80001d6e1d40,ffff80001d6e1d90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1e10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7990, 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(ffffffff823d8a74) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e4fd000,0,ffff80001d6e1ca8,0,0,ffff80001d6e1bb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805edf25a0,ffff80001d6e1ca8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff84f8,6,ffff80001d6e1ca8,0,ffff80001d6e1d90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff84f8,ffff80001d6e1d40,ffff80001d6e1d90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1e10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7990, count: -8