panic: receive 3: so 0xfffffd8069551000, so_type 3, m 0xfffffd805e414a00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *297906 38841 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069551000,0,ffff80001d6e14c8,0,0,ffff80001d6e13d4) at soreceive+0x16e7 soo_read(fffffd80697f27f8,ffff80001d6e14c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff93c8,6,ffff80001d6e14c8,0,ffff80001d6e15b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff93c8,ffff80001d6e1560,ffff80001d6e15b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1630) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe51a0, 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 0xfffffd8069551000, so_type 3, m 0xfffffd805e414a00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069551000,0,ffff80001d6e14c8,0,0,ffff80001d6e13d4) at soreceive+0x16e7 soo_read(fffffd80697f27f8,ffff80001d6e14c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff93c8,6,ffff80001d6e14c8,0,ffff80001d6e15b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff93c8,ffff80001d6e1560,ffff80001d6e15b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1630) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe51a0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e1210 rbx 0xffff80001d6e12c0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e11d0 r9 0xffffffff81ceca3f kprintf+0x15f r10 0x1 r11 0xef66e7026caec7d9 r12 0x3000000008 r13 0xffff80001d6e1220 r14 0x100 r15 0x1 rip 0xffffffff82063088 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e1200 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=297906 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8770,0xffff8000ffff9650 process=0xffff80001d6c0010 user=0xffff80001d6dc000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18492 217573 10195 0 2 0 syz-executor.1 18492 21806 10195 0 2 0x4000000 syz-executor.1 10195 134045 33639 0 3 0x82 nanosleep syz-executor.1 28260 314233 0 0 3 0x14200 bored sosplice 21697 42172 33639 0 3 0x82 piperd syz-executor.0 33639 515355 25445 0 3 0x82 thrsleep syz-fuzzer 33639 364746 25445 0 3 0x4000082 nanosleep syz-fuzzer 33639 189606 25445 0 3 0x4000082 thrsleep syz-fuzzer 33639 483682 25445 0 3 0x4000082 thrsleep syz-fuzzer 33639 122819 25445 0 3 0x4000082 thrsleep syz-fuzzer 33639 103456 25445 0 2 0x4000002 syz-fuzzer 33639 114884 25445 0 3 0x4000082 thrsleep syz-fuzzer 25445 518528 36290 0 3 0x10008a pause ksh 36290 363009 34706 0 3 0x92 select sshd 9873 384125 1 0 3 0x100083 ttyin getty 34706 522932 1 0 3 0x80 select sshd 82239 361809 63549 73 3 0x100090 kqread syslogd 63549 448042 1 0 3 0x100082 netio syslogd 22191 502639 1 77 2 0x100010 dhclient *38841 297906 1 0 7 0 dhclient 17781 414222 0 0 3 0x14200 bored smr 49181 160761 0 0 2 0x14200 zerothread 3187 419198 0 0 3 0x14200 aiodoned aiodoned 70912 510807 0 0 3 0x14200 syncer update 26152 68102 0 0 3 0x14200 cleaner cleaner 27332 97967 0 0 3 0x14200 reaper reaper 99712 349426 0 0 3 0x14200 pgdaemon pagedaemon 76940 60969 0 0 3 0x14200 bored crynlk 70470 106646 0 0 3 0x14200 bored crypto 37499 496752 0 0 3 0x40014200 acpi0 acpi0 25046 86409 0 0 3 0x14200 bored softnet 56014 456284 0 0 3 0x14200 bored systqmp 42197 382798 0 0 3 0x14200 bored systq 7941 327838 0 0 3 0x40014200 bored softclock 93857 312728 0 0 3 0x40014200 idle0 1 173686 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 9496 6357K 6602K 78643K 11083 0 pcb 13 8K 8K 78643K 103 0 rtable 118 6K 10K 78643K 565 0 ifaddr 69 14K 15K 78643K 187 0 sysctl 1 1K 1K 78643K 1 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 110 0 iov 0 0K 16K 78643K 50 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1424 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 11 1K 1K 78643K 15 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 512 0 sigio 0 0K 0K 78643K 8 0 proc 50 38K 55K 78643K 463 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 30 0 in_multi 33 2K 2K 78643K 123 0 ether_multi 1 0K 0K 78643K 10 0 mrt 1 0K 0K 78643K 10 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 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 148 72K 82K 78643K 2036 0 UVM aobj 16 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 56 0 NDP 11 0K 0K 78643K 34 0 temp 114 3865K 3928K 78643K 7171 0 kqueue 3 4K 24K 78643K 525 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 88 29 0 27 1 0 1 1 0 8 0 rtentry 112 100 0 56 2 0 2 2 0 8 0 unpcb 120 429 0 421 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 20 0 20 1 1 0 1 0 8 0 tcpcb 592 126 0 122 1 0 1 1 0 8 0 inpcb 296 454 0 447 8 6 2 2 0 8 1 rttmr 72 6 0 5 2 1 1 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 pfrktable 1344 101 0 96 3 2 1 2 0 8 0 pftag 88 20 0 20 5 5 0 1 0 8 0 pfrule 1360 30 0 18 3 2 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 267 0 95 15 3 12 13 0 8 0 art_table 32 268 0 95 2 0 2 2 0 8 0 art_node 16 99 0 59 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 15 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2062 0 667 88 0 88 88 0 8 0 ffsino 240 2062 0 667 83 0 83 83 0 8 0 nchpl 144 3096 0 1508 60 0 60 60 0 8 0 uvmvnodes 72 2250 0 0 41 0 41 41 0 8 0 vnodes 208 2250 0 0 119 0 119 119 0 8 0 namei 1024 8698 0 8698 4 3 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 13 0 8 1 0 1 1 0 8 0 pfiaddrpl 120 32 0 28 2 1 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 8931 0 8931 6 5 1 1 0 8 1 plimitpl 152 49 0 42 1 0 1 1 0 8 0 sigapl 424 696 0 667 4 0 4 4 0 8 0 futexpl 56 10332 0 10332 3 2 1 1 0 8 1 knotepl 112 617 0 597 1 0 1 1 0 8 0 kqueuepl 152 755 0 751 1 0 1 1 0 8 0 pipepl 272 175 0 164 7 6 1 2 0 8 0 fdescpl 432 681 0 667 2 0 2 2 0 8 0 filepl 120 5023 0 4925 6 2 4 5 0 8 1 lockfpl 104 133 0 132 1 0 1 1 0 8 0 lockfspl 48 49 0 48 1 0 1 1 0 8 0 sessionpl 120 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 379 0 372 1 0 1 1 0 8 0 zombiepl 144 667 0 667 3 2 1 1 0 8 1 processpl 944 696 0 667 4 0 4 4 0 8 0 procpl 632 1261 0 1225 5 1 4 4 0 8 1 sosppl 144 6 0 6 3 3 0 1 0 8 0 sockpl 400 915 0 898 7 4 3 4 0 8 1 mcl64k 65536 11 0 11 5 5 0 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 12 0 12 6 5 1 1 0 8 1 mcl9k 9216 6 0 6 4 4 0 1 0 8 0 mcl8k 8192 16 0 16 9 9 0 1 0 8 0 mcl4k 4096 41 0 41 9 8 1 1 0 8 1 mcl2k2 2112 5 0 5 5 5 0 1 0 8 0 mcl2k 2048 96113 0 96078 15 9 6 9 0 8 1 mtagpl 96 40 0 36 3 2 1 1 0 8 0 mbufpl 256 151724 0 151560 24 11 13 18 0 8 1 bufpl 280 4221 0 118 294 0 294 294 0 8 0 anonpl 16 88344 0 70599 91 18 73 87 0 107 0 amapchunkpl 152 3271 0 3094 26 19 7 15 0 158 0 amappl16 192 3809 0 2836 62 12 50 59 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 8 0 7 1 0 1 1 0 8 0 amappl13 168 33 0 30 2 1 1 1 0 8 0 amappl12 160 29 0 24 1 0 1 1 0 8 0 amappl11 152 82 0 71 1 0 1 1 0 8 0 amappl10 144 14 0 10 1 0 1 1 0 8 0 amappl9 136 488 0 485 1 0 1 1 0 8 0 amappl8 128 530 0 489 2 0 2 2 0 8 0 amappl7 120 109 0 96 1 0 1 1 0 8 0 amappl6 112 59 0 54 1 0 1 1 0 8 0 amappl5 104 1208 0 1197 1 0 1 1 0 8 0 amappl4 96 438 0 411 1 0 1 1 0 8 0 amappl3 88 137 0 128 1 0 1 1 0 8 0 amappl2 80 4562 0 4497 3 1 2 2 0 8 0 amappl1 72 24838 0 24424 24 15 9 17 0 8 0 amappl 80 1515 0 1462 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 17 0 2 1 0 1 1 0 8 0 uaddrrnd 24 694 0 675 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 694 0 675 1 0 1 1 0 8 0 vmmpekpl 168 8013 0 7991 2 0 2 2 0 8 0 vmmpepl 168 91064 0 88983 174 82 92 129 0 357 0 vmsppl 272 693 0 675 3 1 2 2 0 8 0 pdppl 4096 1394 0 1355 9 4 5 6 0 8 0 pvpl 32 249583 0 228834 219 47 172 203 0 265 2 pmappl 200 693 0 675 4 3 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 289 0 69 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(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069551000,0,ffff80001d6e14c8,0,0,ffff80001d6e13d4) at soreceive+0x16e7 soo_read(fffffd80697f27f8,ffff80001d6e14c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff93c8,6,ffff80001d6e14c8,0,ffff80001d6e15b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff93c8,ffff80001d6e1560,ffff80001d6e15b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1630) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe51a0, 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(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8069551000,0,ffff80001d6e14c8,0,0,ffff80001d6e13d4) at soreceive+0x16e7 soo_read(fffffd80697f27f8,ffff80001d6e14c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff93c8,6,ffff80001d6e14c8,0,ffff80001d6e15b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff93c8,ffff80001d6e1560,ffff80001d6e15b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1630) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe51a0, count: -8