panic: receive 1a: so 0xfffffd8060d35640, so_type 3, m 0xfffffd805c3fea00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *339607 68570 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d7009) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8060d35640,0,ffff80001d6e5a68,0,0,ffff80001d6e5974) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8060df25a0,ffff80001d6e5a68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5a68,0,ffff80001d6e5b50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5b00,ffff80001d6e5b50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9490, 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 0xfffffd8060d35640, so_type 3, m 0xfffffd805c3fea00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d7009) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8060d35640,0,ffff80001d6e5a68,0,0,ffff80001d6e5974) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8060df25a0,ffff80001d6e5a68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5a68,0,ffff80001d6e5b50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5b00,ffff80001d6e5b50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9490, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e57b0 rbx 0xffff80001d6e5860 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8109377f kprintf+0x15f r9 0x1 r10 0x2 r11 0xd8b494013b5f8de6 r12 0x3000000008 r13 0xffff80001d6e57c0 r14 0x100 r15 0x1 rip 0xffffffff82107068 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e57a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=339607 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9c48 process=0xffff80001d6c4e90 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47529 473908 15889 0 2 0 syz-executor.1 47529 407712 15889 0 2 0x4000000 syz-executor.1 52034 351892 0 0 3 0x14200 bored sosplice 15889 5585 16842 0 3 0x82 nanosleep syz-executor.1 98612 222352 16842 0 2 0x2 syz-executor.0 16842 253853 44522 0 3 0x82 thrsleep syz-fuzzer 16842 423589 44522 0 3 0x4000082 nanosleep syz-fuzzer 16842 291048 44522 0 3 0x4000082 thrsleep syz-fuzzer 16842 185281 44522 0 3 0x4000082 thrsleep syz-fuzzer 16842 235379 44522 0 3 0x4000082 thrsleep syz-fuzzer 16842 205898 44522 0 3 0x4000082 thrsleep syz-fuzzer 16842 397681 44522 0 3 0x4000082 kqread syz-fuzzer 44522 260559 42142 0 3 0x10008a pause ksh 42142 343652 98857 0 3 0x92 select sshd 6354 442427 1 0 3 0x100083 ttyin getty 98857 386809 1 0 3 0x80 select sshd 47579 307371 6660 73 3 0x100090 kqread syslogd 6660 381772 1 0 3 0x100082 netio syslogd 35957 469850 1 77 3 0x100090 poll dhclient *68570 339607 1 0 7 0 dhclient 60630 24235 0 0 3 0x14200 bored smr 19800 181036 0 0 2 0x14200 zerothread 76839 54259 0 0 3 0x14200 aiodoned aiodoned 12735 166458 0 0 3 0x14200 syncer update 32557 76179 0 0 3 0x14200 cleaner cleaner 80891 450238 0 0 3 0x14200 reaper reaper 96112 482981 0 0 3 0x14200 pgdaemon pagedaemon 34587 438973 0 0 3 0x14200 bored crynlk 27460 469599 0 0 3 0x14200 bored crypto 931 509575 0 0 3 0x40014200 acpi0 acpi0 51249 16490 0 0 3 0x14200 bored softnet 27684 302856 0 0 3 0x14200 bored systqmp 38468 91577 0 0 3 0x14200 bored systq 14084 119365 0 0 3 0x40014200 bored softclock 53046 462077 0 0 3 0x40014200 idle0 1 296519 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 9468 6455K 6906K 78643K 10941 0 pcb 13 8K 8K 78643K 37 0 rtable 116 5K 9K 78643K 286 0 ifaddr 50 12K 12K 78643K 79 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 51 0 iov 0 0K 4K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1318 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 35 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 155 0 proc 48 38K 54K 78643K 369 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 4 0 in_multi 40 2K 2K 78643K 58 0 ether_multi 1 0K 0K 78643K 3 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 193 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 88K 104K 78643K 1244 0 UVM aobj 13 2K 2K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 6 0K 0K 78643K 11 0 temp 71 3850K 3914K 78643K 2208 0 kqueue 3 4K 8K 78643K 9 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 27 0 25 1 0 1 1 0 8 0 rtentry 112 50 0 6 2 0 2 2 0 8 0 unpcb 120 99 0 91 1 0 1 1 0 8 0 syncache 264 7 0 7 2 2 0 1 0 8 0 tcpqe 32 1222 0 1222 2 2 0 1 0 8 0 tcpcb 544 121 0 99 4 2 2 3 0 8 0 inpcb 296 208 0 198 3 1 2 2 0 8 1 nd6 48 10 0 4 1 0 1 1 0 8 0 pfrktable 1344 41 0 36 1 0 1 1 0 8 0 pftag 88 12 0 10 1 0 1 1 0 8 0 pfrule 1360 10 0 6 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 23 14 0 14 14 0 8 2 art_table 32 213 0 23 2 0 2 2 0 8 0 art_node 16 49 0 9 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 4 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 33 0 23 1 0 1 1 0 8 0 shmpl 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 1569 0 173 88 0 88 88 0 8 0 ffsino 240 1569 0 173 83 0 83 83 0 8 0 nchpl 144 1966 0 365 60 0 60 60 0 8 0 uvmvnodes 72 1701 0 0 31 0 31 31 0 8 0 vnodes 208 1701 0 0 90 0 90 90 0 8 0 namei 1024 5166 0 5165 2 1 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 14 0 10 1 0 1 1 0 8 0 scxspl 192 5665 0 5665 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 424 342 0 313 4 0 4 4 0 8 0 futexpl 56 2827 0 2827 2 1 1 1 0 8 1 knotepl 112 66 0 46 1 0 1 1 0 8 0 kqueuepl 144 85 0 82 1 0 1 1 0 8 0 pipepl 272 85 0 74 1 0 1 1 0 8 0 fdescpl 432 327 0 313 2 0 2 2 0 8 0 filepl 120 1920 0 1821 4 0 4 4 0 8 1 lockfpl 104 68 0 67 1 0 1 1 0 8 0 lockfspl 48 30 0 29 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 207 0 200 1 0 1 1 0 8 0 zombiepl 144 313 0 313 1 0 1 1 0 8 1 processpl 928 342 0 313 4 0 4 4 0 8 0 procpl 624 496 0 460 4 1 3 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 334 0 314 5 2 3 4 0 8 0 mcl64k 65536 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 2 0 2 1 1 0 1 0 8 0 mcl4k 4096 23 0 23 2 2 0 1 0 8 0 mcl2k 2048 91850 0 91792 22 14 8 19 0 8 0 mtagpl 96 6 0 2 2 1 1 1 0 8 0 mbufpl 256 146299 0 146098 23 8 15 18 0 8 0 bufpl 280 3422 0 116 237 0 237 237 0 8 0 anonpl 16 46682 0 29511 71 1 70 70 0 107 1 amapchunkpl 152 1989 0 1793 23 7 16 22 0 158 7 amappl16 192 1486 0 599 45 0 45 45 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 60 0 56 1 0 1 1 0 8 0 amappl13 168 95 0 90 1 0 1 1 0 8 0 amappl12 160 23 0 20 1 0 1 1 0 8 0 amappl11 152 102 0 91 1 0 1 1 0 8 0 amappl10 144 21 0 17 1 0 1 1 0 8 0 amappl9 136 353 0 352 1 0 1 1 0 8 0 amappl8 128 297 0 270 2 0 2 2 0 8 0 amappl7 120 105 0 91 1 0 1 1 0 8 0 amappl6 112 26 0 22 1 0 1 1 0 8 0 amappl5 104 206 0 196 1 0 1 1 0 8 0 amappl4 96 543 0 516 1 0 1 1 0 8 0 amappl3 88 178 0 164 1 0 1 1 0 8 0 amappl2 80 1799 0 1733 2 0 2 2 0 8 0 amappl1 72 16130 0 15717 24 15 9 17 0 8 0 amappl 80 778 0 717 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 14 0 2 1 0 1 1 0 8 0 uaddrrnd 24 335 0 313 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 335 0 313 1 0 1 1 0 8 0 vmmpekpl 168 6183 0 6157 2 0 2 2 0 8 0 vmmpepl 168 47047 0 45057 156 21 135 151 0 357 47 vmsppl 272 334 0 313 3 1 2 2 0 8 0 pdppl 4096 676 0 634 7 1 6 6 0 8 0 pvpl 32 153805 0 133642 168 1 167 168 0 265 4 pmappl 200 334 0 313 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 267 0 36 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(ffffffff823d7009) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8060d35640,0,ffff80001d6e5a68,0,0,ffff80001d6e5974) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8060df25a0,ffff80001d6e5a68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5a68,0,ffff80001d6e5b50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5b00,ffff80001d6e5b50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9490, 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(ffffffff823d7009) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8060d35640,0,ffff80001d6e5a68,0,0,ffff80001d6e5974) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8060df25a0,ffff80001d6e5a68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5a68,0,ffff80001d6e5b50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5b00,ffff80001d6e5b50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9490, count: -8