panic: receive 3: so 0xfffffd8069639320, so_type 3, m 0xfffffd805a9d4100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *329883 69914 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c3073) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069639320,0,ffff80001d6e5268,0,0,ffff80001d6e5174) at soreceive+0x16e7 soo_read(fffffd805eab8528,ffff80001d6e5268,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5268,0,ffff80001d6e5350) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5300,ffff80001d6e5350) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e53d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8090, 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 0xfffffd8069639320, so_type 3, m 0xfffffd805a9d4100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c3073) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069639320,0,ffff80001d6e5268,0,0,ffff80001d6e5174) at soreceive+0x16e7 soo_read(fffffd805eab8528,ffff80001d6e5268,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5268,0,ffff80001d6e5350) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5300,ffff80001d6e5350) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e53d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8090, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4fb0 rbx 0xffff80001d6e5060 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81fc279f kprintf+0x15f r9 0x1 r10 0x2 r11 0x9ec185d2264bd456 r12 0x3000000008 r13 0xffff80001d6e4fc0 r14 0x100 r15 0x1 rip 0xffffffff8175b418 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4fa0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=329883 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9018 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, 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 47970 118563 7715 0 2 0 syz-executor.1 47970 172883 7715 0 2 0x4000000 syz-executor.1 7715 348600 82480 0 3 0x82 nanosleep syz-executor.1 7776 451720 82480 0 2 0x2 syz-executor.0 82480 231236 34035 0 3 0x82 thrsleep syz-fuzzer 82480 439506 34035 0 3 0x4000082 thrsleep syz-fuzzer 82480 269318 34035 0 3 0x4000082 thrsleep syz-fuzzer 82480 436051 34035 0 3 0x4000082 thrsleep syz-fuzzer 82480 107468 34035 0 3 0x4000082 thrsleep syz-fuzzer 82480 327355 34035 0 3 0x4000082 kqread syz-fuzzer 82480 216514 34035 0 3 0x4000082 thrsleep syz-fuzzer 34035 242749 33640 0 3 0x10008a pause ksh 33640 16569 50313 0 3 0x92 select sshd 96105 262091 1 0 3 0x100083 ttyin getty 50313 4027 1 0 3 0x80 select sshd 56143 382679 46003 73 3 0x100090 kqread syslogd 46003 448568 1 0 3 0x100082 netio syslogd 30961 222314 1 77 2 0x100010 dhclient *69914 329883 1 0 7 0 dhclient 90668 322425 0 0 3 0x14200 bored smr 2276 233345 0 0 2 0x14200 zerothread 84768 328443 0 0 3 0x14200 aiodoned aiodoned 44457 253465 0 0 3 0x14200 syncer update 77752 298434 0 0 3 0x14200 cleaner cleaner 35380 129224 0 0 3 0x14200 reaper reaper 60272 191117 0 0 3 0x14200 pgdaemon pagedaemon 78869 15249 0 0 3 0x14200 bored crynlk 59156 382659 0 0 3 0x14200 bored crypto 42749 95351 0 0 3 0x40014200 acpi0 acpi0 74740 162908 0 0 3 0x14200 bored softnet 13898 320010 0 0 3 0x14200 bored systqmp 39913 330465 0 0 3 0x14200 bored systq 20090 469164 0 0 3 0x40014200 bored softclock 87819 523465 0 0 3 0x40014200 idle0 1 8947 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 9476 6397K 6584K 78643K 10633 0 pcb 13 8K 8K 78643K 37 0 rtable 106 3K 7K 78643K 257 0 ifaddr 52 11K 11K 78643K 75 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 27 0 iov 0 0K 2K 78643K 11 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1241 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 0K 0K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 100 0 sigio 0 0K 0K 78643K 4 0 proc 48 38K 63K 78643K 359 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 9 0 in_multi 33 2K 2K 78643K 53 0 ether_multi 1 0K 0K 78643K 6 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 189 0 pfkey data 0 0K 1K 78643K 2 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 127 23K 24K 78643K 1075 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 8 0K 0K 78643K 16 0 temp 80 3860K 3924K 78643K 2071 0 kqueue 3 4K 8K 78643K 5 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 48 0 4 2 0 2 2 0 8 0 unpcb 120 51 0 43 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 62 0 62 1 0 1 1 0 8 1 tcpcb 544 36 0 22 1 0 1 1 0 8 0 inpcb 296 221 0 213 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 8 0 2 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 20 0 20 1 0 1 1 0 8 1 pftag 88 4 0 4 1 0 1 1 0 8 1 pfrule 1360 4 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 47 0 7 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 12 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1502 0 103 88 0 88 88 0 8 0 ffsino 240 1502 0 103 83 0 83 83 0 8 0 nchpl 144 1810 0 206 60 0 60 60 0 8 0 uvmvnodes 72 1557 0 0 29 0 29 29 0 8 0 vnodes 208 1557 0 0 82 0 82 82 0 8 0 namei 1024 4463 0 4462 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 6 1 0 1 1 0 8 1 scxspl 192 5197 0 5197 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 286 0 258 4 0 4 4 0 8 0 futexpl 56 1538 0 1538 1 0 1 1 0 8 1 knotepl 112 63 0 44 1 0 1 1 0 8 0 kqueuepl 144 6 0 4 1 0 1 1 0 8 0 pipepl 272 80 0 70 2 0 2 2 0 8 1 fdescpl 432 272 0 258 2 0 2 2 0 8 0 filepl 120 1422 0 1325 4 0 4 4 0 8 1 lockfpl 104 16 0 15 1 0 1 1 0 8 0 lockfspl 48 7 0 6 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 67 0 60 1 0 1 1 0 8 0 zombiepl 144 258 0 258 1 0 1 1 0 8 1 processpl 928 286 0 258 4 0 4 4 0 8 0 procpl 624 374 0 339 4 0 4 4 0 8 1 sockpl 400 295 0 277 4 0 4 4 0 8 2 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 19 0 19 2 1 1 1 0 8 1 mcl2k 2048 95241 0 95199 16 3 13 14 0 8 7 mtagpl 96 2 0 2 1 1 0 1 0 8 0 mbufpl 256 149958 0 149877 10 1 9 9 0 8 1 bufpl 280 3348 0 126 231 0 231 231 0 8 0 anonpl 16 44488 0 27818 74 2 72 72 0 107 4 amapchunkpl 152 1417 0 1274 11 0 11 11 0 158 5 amappl16 192 1280 0 368 46 0 46 46 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 30 0 26 1 0 1 1 0 8 0 amappl13 168 34 0 30 1 0 1 1 0 8 0 amappl12 160 10 0 9 1 0 1 1 0 8 0 amappl11 152 49 0 39 1 0 1 1 0 8 0 amappl10 144 46 0 40 1 0 1 1 0 8 0 amappl9 136 404 0 401 1 0 1 1 0 8 0 amappl8 128 356 0 311 2 0 2 2 0 8 0 amappl7 120 139 0 127 1 0 1 1 0 8 0 amappl6 112 26 0 18 1 0 1 1 0 8 0 amappl5 104 219 0 208 1 0 1 1 0 8 0 amappl4 96 423 0 393 1 0 1 1 0 8 0 amappl3 88 107 0 101 1 0 1 1 0 8 0 amappl2 80 1355 0 1292 2 0 2 2 0 8 0 amappl1 72 14764 0 14346 22 11 11 17 0 8 2 amappl 80 600 0 557 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 272 0 258 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 272 0 258 1 0 1 1 0 8 0 vmmpekpl 168 5949 0 5924 2 0 2 2 0 8 0 vmmpepl 168 40646 0 38627 119 3 116 116 0 357 28 vmsppl 272 271 0 258 2 0 2 2 0 8 1 pdppl 4096 550 0 516 6 0 6 6 0 8 1 pvpl 32 144495 0 124858 173 0 173 173 0 265 13 pmappl 200 271 0 258 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 241 0 7 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(ffffffff823c3073) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069639320,0,ffff80001d6e5268,0,0,ffff80001d6e5174) at soreceive+0x16e7 soo_read(fffffd805eab8528,ffff80001d6e5268,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5268,0,ffff80001d6e5350) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5300,ffff80001d6e5350) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e53d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8090, 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(ffffffff823c3073) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069639320,0,ffff80001d6e5268,0,0,ffff80001d6e5174) at soreceive+0x16e7 soo_read(fffffd805eab8528,ffff80001d6e5268,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5268,0,ffff80001d6e5350) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5300,ffff80001d6e5350) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e53d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8090, count: -8