panic: receive 3: so 0xfffffd8064963190, so_type 3, m 0xfffffd805bbc9b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *337136 74724 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(fffffd8064963190,0,ffff80001d6e1318,0,0,ffff80001d6e1224) at soreceive+0x16e7 soo_read(fffffd80649f2618,ffff80001d6e1318,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff89e8,6,ffff80001d6e1318,0,ffff80001d6e1400) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff89e8,ffff80001d6e13b0,ffff80001d6e1400) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1480) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2ab0, 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 0xfffffd8064963190, so_type 3, m 0xfffffd805bbc9b00, 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(fffffd8064963190,0,ffff80001d6e1318,0,0,ffff80001d6e1224) at soreceive+0x16e7 soo_read(fffffd80649f2618,ffff80001d6e1318,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff89e8,6,ffff80001d6e1318,0,ffff80001d6e1400) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff89e8,ffff80001d6e13b0,ffff80001d6e1400) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1480) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2ab0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e1060 rbx 0xffff80001d6e1110 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e1020 r9 0xffffffff81ceca3f kprintf+0x15f r10 0x1 r11 0xb3ee5e1c7d01ca6f r12 0x3000000008 r13 0xffff80001d6e1070 r14 0x100 r15 0x1 rip 0xffffffff82063088 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e1050 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=337136 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8c60,0xffff8000ffff8ee8 process=0xffff80001d6c0b20 user=0xffff80001d6dc000, vmspace=0xfffffd806bc0a330 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67527 462447 46877 0 2 0 syz-executor.0 67527 270562 46877 0 2 0x4000000 syz-executor.0 1920 384227 78966 0 2 0x2 syz-executor.1 46877 213016 78966 0 3 0x82 nanosleep syz-executor.0 78966 332335 54318 0 3 0x82 thrsleep syz-fuzzer 78966 281009 54318 0 3 0x4000082 nanosleep syz-fuzzer 78966 9306 54318 0 3 0x4000082 kqread syz-fuzzer 78966 426725 54318 0 3 0x4000082 thrsleep syz-fuzzer 78966 301310 54318 0 3 0x4000082 thrsleep syz-fuzzer 78966 20032 54318 0 3 0x4000082 thrsleep syz-fuzzer 78966 480799 54318 0 3 0x4000082 thrsleep syz-fuzzer 54318 223934 79474 0 3 0x10008a pause ksh 79474 149336 66688 0 3 0x92 select sshd 9960 383574 1 0 3 0x100083 ttyin getty 66688 372896 1 0 3 0x80 select sshd 42797 172610 29991 73 3 0x100090 kqread syslogd 29991 33219 1 0 3 0x100082 netio syslogd 75692 453343 1 77 2 0x100010 dhclient *74724 337136 1 0 7 0 dhclient 77791 193935 0 0 3 0x14200 bored smr 2732 131320 0 0 2 0x14200 zerothread 31882 306996 0 0 3 0x14200 aiodoned aiodoned 56953 153941 0 0 3 0x14200 syncer update 11008 433616 0 0 3 0x14200 cleaner cleaner 21979 305997 0 0 3 0x14200 reaper reaper 15664 474292 0 0 3 0x14200 pgdaemon pagedaemon 65608 407492 0 0 3 0x14200 bored crynlk 53669 167750 0 0 3 0x14200 bored crypto 82116 234972 0 0 3 0x40014200 acpi0 acpi0 55102 150701 0 0 3 0x14200 bored softnet 28037 506823 0 0 3 0x14200 bored systqmp 72960 203396 0 0 3 0x14200 bored systq 9611 226140 0 0 3 0x40014200 bored softclock 47634 248769 0 0 3 0x40014200 idle0 1 392165 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 9477 6334K 6714K 78643K 10689 0 pcb 13 8K 8K 78643K 31 0 rtable 108 3K 7K 78643K 334 0 ifaddr 56 11K 12K 78643K 86 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 34 0 iov 0 0K 12K 78643K 56 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1285 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 9 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 140 0 proc 48 38K 63K 78643K 407 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 19 0 in_multi 33 2K 2K 78643K 63 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 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 204 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 144 41K 41K 78643K 1206 0 UVM aobj 9 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 9 0K 0K 78643K 16 0 temp 83 3853K 3917K 78643K 6216 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 8 0 2 1 0 1 1 0 8 0 rtpcb 88 61 0 59 1 0 1 1 0 8 0 rtentry 112 59 0 14 2 0 2 2 0 8 0 unpcb 120 53 0 45 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 439 0 439 1 1 0 1 0 8 0 tcpcb 592 38 0 34 2 0 2 2 0 8 1 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 6 0 6 1 0 1 1 0 8 1 inpcb 296 124 0 117 2 0 2 2 0 8 1 nd6 48 12 0 5 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 pfrktable 1344 26 0 26 1 0 1 1 0 8 1 pftag 88 4 0 4 1 0 1 1 0 8 1 pfrule 1360 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 247 0 44 13 0 13 13 0 8 0 art_table 32 248 0 44 2 0 2 2 0 8 0 art_node 16 58 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 9 0 2 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1548 0 152 88 0 88 88 0 8 0 ffsino 240 1548 0 152 83 0 83 83 0 8 0 nchpl 144 1923 0 335 60 0 60 60 0 8 0 uvmvnodes 72 1632 0 0 30 0 30 30 0 8 0 vnodes 208 1632 0 0 86 0 86 86 0 8 0 namei 1024 4966 0 4965 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 8 0 8 1 0 1 1 0 8 1 scxspl 200 5547 0 5547 1 0 1 1 0 8 1 plimitpl 152 19 0 12 1 0 1 1 0 8 0 sigapl 424 323 0 295 4 0 4 4 0 8 0 futexpl 56 1810 0 1810 1 0 1 1 0 8 1 knotepl 112 76 0 56 1 0 1 1 0 8 0 kqueuepl 152 8 0 6 1 0 1 1 0 8 0 pipepl 272 99 0 88 1 0 1 1 0 8 0 fdescpl 432 309 0 295 2 0 2 2 0 8 0 filepl 120 1659 0 1559 4 0 4 4 0 8 0 lockfpl 104 26 0 25 1 0 1 1 0 8 0 lockfspl 48 11 0 10 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 153 0 146 1 0 1 1 0 8 0 zombiepl 144 295 0 295 2 1 1 1 0 8 1 processpl 944 323 0 295 4 0 4 4 0 8 0 procpl 632 441 0 406 4 0 4 4 0 8 0 sockpl 400 242 0 225 3 0 3 3 0 8 1 mcl64k 65536 6 0 6 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 22 0 22 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 96709 0 96650 19 5 14 17 0 8 6 mtagpl 96 8 0 8 2 1 1 1 0 8 1 mbufpl 256 153148 0 153059 13 2 11 11 0 8 2 bufpl 280 3462 0 116 239 0 239 239 0 8 0 anonpl 16 48579 0 31263 72 2 70 70 0 107 0 amapchunkpl 152 1547 0 1360 10 1 9 10 0 158 0 amappl16 192 1463 0 571 45 0 45 45 0 8 0 amappl15 184 10 0 8 1 0 1 1 0 8 0 amappl14 176 4 0 0 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 22 0 16 1 0 1 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 10 0 6 1 0 1 1 0 8 0 amappl9 136 73 0 72 1 0 1 1 0 8 0 amappl8 128 372 0 316 2 0 2 2 0 8 0 amappl7 120 116 0 106 1 0 1 1 0 8 0 amappl6 112 35 0 25 1 0 1 1 0 8 0 amappl5 104 875 0 863 1 0 1 1 0 8 0 amappl4 96 435 0 409 1 0 1 1 0 8 0 amappl3 88 117 0 108 1 0 1 1 0 8 0 amappl2 80 1597 0 1530 2 0 2 2 0 8 0 amappl1 72 15916 0 15490 22 13 9 17 0 8 0 amappl 80 695 0 641 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 311 0 295 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 311 0 295 1 0 1 1 0 8 0 vmmpekpl 168 6276 0 6254 2 0 2 2 0 8 0 vmmpepl 168 46348 0 44312 157 6 151 152 0 357 62 vmsppl 272 310 0 295 2 0 2 2 0 8 1 pdppl 4096 628 0 592 6 1 5 6 0 8 0 pvpl 32 156338 0 136025 170 0 170 170 0 265 5 pmappl 200 310 0 295 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 242 0 12 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(fffffd8064963190,0,ffff80001d6e1318,0,0,ffff80001d6e1224) at soreceive+0x16e7 soo_read(fffffd80649f2618,ffff80001d6e1318,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff89e8,6,ffff80001d6e1318,0,ffff80001d6e1400) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff89e8,ffff80001d6e13b0,ffff80001d6e1400) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1480) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2ab0, 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(fffffd8064963190,0,ffff80001d6e1318,0,0,ffff80001d6e1224) at soreceive+0x16e7 soo_read(fffffd80649f2618,ffff80001d6e1318,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff89e8,6,ffff80001d6e1318,0,ffff80001d6e1400) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff89e8,ffff80001d6e13b0,ffff80001d6e1400) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1480) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2ab0, count: -8