panic: receive 3: so 0xfffffd80615394b0, so_type 3, m 0xfffffd806166d600, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *393474 61498 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cac34) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80615394b0,0,ffff80001d6e5018,0,0,ffff80001d6e4f24) at soreceive+0x16e7 soo_read(fffffd80615f35a0,ffff80001d6e5018,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5018,0,ffff80001d6e5100) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e50b0,ffff80001d6e5100) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5180) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1380, 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 0xfffffd80615394b0, so_type 3, m 0xfffffd806166d600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cac34) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80615394b0,0,ffff80001d6e5018,0,0,ffff80001d6e4f24) at soreceive+0x16e7 soo_read(fffffd80615f35a0,ffff80001d6e5018,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5018,0,ffff80001d6e5100) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e50b0,ffff80001d6e5100) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5180) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1380, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4d60 rbx 0xffff80001d6e4e10 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e4d20 r9 0xffffffff8203e52f kprintf+0x15f r10 0x1 r11 0x1140d839839251b2 r12 0x3000000008 r13 0xffff80001d6e4d70 r14 0x100 r15 0x1 rip 0xffffffff81989c28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4d50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=393474 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9288 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35290 501749 48500 0 2 0 syz-executor.1 35290 362374 48500 0 2 0x4000000 syz-executor.1 98326 213510 64482 0 3 0x82 piperd syz-executor.0 72126 363476 0 0 3 0x14200 acct acct 7437 339065 0 0 3 0x14280 nfsidl nfsio 910 157697 0 0 3 0x14280 nfsidl nfsio 80954 132196 0 0 3 0x14280 nfsidl nfsio 94943 483978 0 0 3 0x14280 nfsidl nfsio 35297 274894 0 0 3 0x14280 nfsidl nfsio 96978 405224 0 0 3 0x14280 nfsidl nfsio 32734 230705 0 0 3 0x14280 nfsidl nfsio 57909 482311 0 0 3 0x14280 nfsidl nfsio 77965 380204 0 0 3 0x14280 nfsidl nfsio 84508 36209 0 0 3 0x14280 nfsidl nfsio 53131 239820 0 0 3 0x14280 nfsidl nfsio 7705 18745 0 0 3 0x14280 nfsidl nfsio 21420 20827 0 0 3 0x14280 nfsidl nfsio 56745 399890 0 0 3 0x14280 nfsidl nfsio 59902 232386 0 0 3 0x14280 nfsidl nfsio 54361 56675 0 0 3 0x14280 nfsidl nfsio 39136 332626 0 0 3 0x14280 nfsidl nfsio 85391 426853 0 0 3 0x14280 nfsidl nfsio 49431 287994 0 0 3 0x14280 nfsidl nfsio 88309 36649 0 0 3 0x14280 nfsidl nfsio 48500 279951 64482 0 3 0x82 nanosleep syz-executor.1 64482 15732 39809 0 3 0x82 thrsleep syz-fuzzer 64482 316557 39809 0 3 0x4000082 nanosleep syz-fuzzer 64482 123935 39809 0 3 0x4000082 thrsleep syz-fuzzer 64482 330777 39809 0 3 0x4000082 thrsleep syz-fuzzer 64482 202528 39809 0 3 0x4000082 thrsleep syz-fuzzer 64482 25969 39809 0 2 0x4000002 syz-fuzzer 39809 315612 82584 0 3 0x10008a pause ksh 82584 475327 78101 0 3 0x92 select sshd 13945 19551 1 0 3 0x100083 ttyin getty 78101 54049 1 0 3 0x80 select sshd 51965 159071 15253 73 3 0x100090 kqread syslogd 15253 338236 1 0 3 0x100082 netio syslogd 89242 422734 1 77 2 0x100010 dhclient *61498 393474 1 0 7 0 dhclient 12874 501471 0 0 3 0x14200 bored smr 55172 454154 0 0 2 0x14200 zerothread 26037 107898 0 0 3 0x14200 aiodoned aiodoned 28193 361249 0 0 3 0x14200 syncer update 6942 173736 0 0 3 0x14200 cleaner cleaner 17023 145939 0 0 3 0x14200 reaper reaper 54910 111270 0 0 3 0x14200 pgdaemon pagedaemon 27447 85629 0 0 3 0x14200 bored crynlk 32184 506719 0 0 3 0x14200 bored crypto 7585 34007 0 0 3 0x40014200 acpi0 acpi0 67714 170227 0 0 3 0x14200 bored softnet 56838 90475 0 0 3 0x14200 bored systqmp 25999 344671 0 0 3 0x14200 bored systq 6631 262134 0 0 3 0x40014200 bored softclock 42663 502965 0 0 3 0x40014200 idle0 1 503167 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 9508 6347K 6657K 78643K 11416 0 pcb 13 8K 8K 78643K 84 0 rtable 127 8K 9K 78643K 548 0 ifaddr 87 17K 17K 78643K 217 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 28 0 ioctlops 0 0K 4K 78643K 113 0 iov 0 0K 16K 78643K 88 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1463 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 86 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 582 0 proc 52 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 32 0 in_multi 69 3K 4K 78643K 158 0 ether_multi 1 0K 0K 78643K 10 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 49 228K 228K 78643K 49 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 136 39K 43K 78643K 2271 0 UVM aobj 26 2K 2K 78643K 40 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 44 0 NDP 13 0K 0K 78643K 38 0 temp 124 3875K 3939K 78643K 4743 0 kqueue 3 4K 14K 78643K 36 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 41 0 39 1 0 1 1 0 8 0 rtentry 112 83 0 40 2 0 2 2 0 8 0 unpcb 120 427 0 419 1 0 1 1 0 8 0 syncache 264 7 0 7 3 3 0 1 0 8 0 tcpqe 32 475 0 475 1 1 0 1 0 8 0 tcpcb 544 139 0 135 2 1 1 2 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 6 0 6 1 1 0 1 0 8 0 inpcb 296 643 0 636 7 5 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 25 0 19 1 0 1 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 93 0 83 2 1 1 1 0 8 0 pftag 88 18 0 16 2 1 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 2 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 31 0 21 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 305 0 86 15 0 15 15 0 8 0 art_table 32 306 0 86 2 0 2 2 0 8 0 art_node 16 82 0 42 1 0 1 1 0 8 0 sysvmsgpl 40 56 0 27 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 80 0 70 1 0 1 1 0 8 0 shmpl 112 37 0 14 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2146 0 751 88 0 88 88 0 8 0 ffsino 240 2146 0 751 83 0 83 83 0 8 0 nchpl 144 3149 0 1570 60 0 60 60 0 8 0 uvmvnodes 72 2348 0 0 43 0 43 43 0 8 0 vnodes 208 2348 0 0 124 0 124 124 0 8 0 namei 1024 8852 0 8852 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 3 2 1 1 1 0 8 0 pfiaddrpl 120 30 0 22 2 1 1 1 0 8 0 scxspl 192 9689 0 9689 1 0 1 1 0 8 1 plimitpl 152 59 0 52 1 0 1 1 0 8 0 sigapl 424 786 0 737 6 0 6 6 0 8 0 futexpl 56 11853 0 11853 1 0 1 1 0 8 1 knotepl 112 118 0 98 1 0 1 1 0 8 0 kqueuepl 144 473 0 464 1 0 1 1 0 8 0 pipepl 272 144 0 133 3 2 1 2 0 8 0 fdescpl 432 751 0 737 2 0 2 2 0 8 0 filepl 120 4940 0 4841 4 0 4 4 0 8 0 lockfpl 104 114 0 113 1 0 1 1 0 8 0 lockfspl 48 42 0 41 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 497 0 490 1 0 1 1 0 8 0 zombiepl 144 737 0 737 1 0 1 1 0 8 1 processpl 928 786 0 737 7 0 7 7 0 8 0 procpl 624 1526 0 1471 5 0 5 5 0 8 0 sockpl 400 1114 0 1097 6 3 3 4 0 8 1 mcl64k 65536 41 0 41 7 6 1 1 0 8 1 mcl16k 16384 2 0 2 2 2 0 1 0 8 0 mcl12k 12288 10 0 10 4 4 0 1 0 8 0 mcl9k 9216 12 0 12 4 4 0 1 0 8 0 mcl8k 8192 23 0 23 5 4 1 1 0 8 1 mcl4k 4096 66 0 66 3 2 1 1 0 8 1 mcl2k 2048 89155 0 89083 23 13 10 18 0 8 0 mtagpl 96 53 0 22 2 1 1 1 0 8 0 mbufpl 256 144606 0 144221 30 5 25 25 0 8 0 bufpl 280 4570 0 118 318 0 318 318 0 8 0 anonpl 16 88321 0 71047 88 17 71 77 0 107 0 amapchunkpl 152 4002 0 3818 31 22 9 22 0 158 0 amappl16 192 3461 0 2533 54 6 48 49 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 158 0 157 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 36 0 31 1 0 1 1 0 8 0 amappl11 152 216 0 205 1 0 1 1 0 8 0 amappl10 144 9 0 7 1 0 1 1 0 8 0 amappl9 136 720 0 717 1 0 1 1 0 8 0 amappl8 128 694 0 661 2 0 2 2 0 8 0 amappl7 120 109 0 98 1 0 1 1 0 8 0 amappl6 112 190 0 185 1 0 1 1 0 8 0 amappl5 104 543 0 530 1 0 1 1 0 8 0 amappl4 96 589 0 561 1 0 1 1 0 8 0 amappl3 88 178 0 169 1 0 1 1 0 8 0 amappl2 80 5135 0 5070 2 0 2 2 0 8 0 amappl1 72 26597 0 26188 24 15 9 17 0 8 0 amappl 80 1766 0 1708 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 39 0 14 1 0 1 1 0 8 0 uaddrrnd 24 756 0 740 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 756 0 740 1 0 1 1 0 8 0 vmmpekpl 168 8940 0 8907 2 0 2 2 0 8 0 vmmpepl 168 98882 0 96854 148 58 90 124 0 357 0 vmsppl 272 755 0 740 4 2 2 2 0 8 1 pdppl 4096 1518 0 1482 6 1 5 6 0 8 0 pvpl 32 263052 0 242678 203 33 170 182 0 265 1 pmappl 200 755 0 740 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 290 0 43 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(ffffffff823cac34) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80615394b0,0,ffff80001d6e5018,0,0,ffff80001d6e4f24) at soreceive+0x16e7 soo_read(fffffd80615f35a0,ffff80001d6e5018,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5018,0,ffff80001d6e5100) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e50b0,ffff80001d6e5100) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5180) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1380, 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(ffffffff823cac34) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80615394b0,0,ffff80001d6e5018,0,0,ffff80001d6e4f24) at soreceive+0x16e7 soo_read(fffffd80615f35a0,ffff80001d6e5018,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5018,0,ffff80001d6e5100) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e50b0,ffff80001d6e5100) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5180) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1380, count: -8