panic: receive 1a: so 0xfffffd8066958190, so_type 3, m 0xfffffd805a22fc00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *403096 88139 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cd97f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8066958190,0,ffff80001d6e5468,0,0,ffff80001d6e5374) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8780,ffff80001d6e5468,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5468,0,ffff80001d6e5550) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5500,ffff80001d6e5550) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9480, 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 0xfffffd8066958190, so_type 3, m 0xfffffd805a22fc00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cd97f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8066958190,0,ffff80001d6e5468,0,0,ffff80001d6e5374) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8780,ffff80001d6e5468,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5468,0,ffff80001d6e5550) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5500,ffff80001d6e5550) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9480, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e51b0 rbx 0xffff80001d6e5260 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff815362cf kprintf+0x15f r9 0x1 r10 0x2 r11 0x81a2b5e20c1194ed r12 0x3000000008 r13 0xffff80001d6e51c0 r14 0x100 r15 0x1 rip 0xffffffff81565448 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e51a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=403096 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9ea8,0xffff80001d6a9c48 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a880 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 15071 53027 67342 0 2 0 syz-executor.1 15071 304109 67342 0 2 0x4000000 syz-executor.1 67342 215656 89849 0 2 0x482 syz-executor.1 6550 289217 89849 0 2 0x2 syz-executor.0 29608 443319 0 0 3 0x14200 acct acct 89849 252907 84874 0 3 0x82 thrsleep syz-fuzzer 89849 215682 84874 0 3 0x4000082 nanosleep syz-fuzzer 89849 208211 84874 0 3 0x4000082 thrsleep syz-fuzzer 89849 378943 84874 0 3 0x4000082 thrsleep syz-fuzzer 89849 241201 84874 0 3 0x4000082 thrsleep syz-fuzzer 89849 329542 84874 0 3 0x4000082 thrsleep syz-fuzzer 89849 339524 84874 0 3 0x4000082 thrsleep syz-fuzzer 89849 415604 84874 0 3 0x4000082 kqread syz-fuzzer 84874 375025 24862 0 3 0x10008a pause ksh 24862 176007 874 0 3 0x92 select sshd 95956 13735 1 0 3 0x100083 ttyin getty 874 329579 1 0 3 0x80 select sshd 52713 395022 55846 73 3 0x100090 kqread syslogd 55846 467180 1 0 3 0x100082 netio syslogd 4945 112220 1 77 2 0x100010 dhclient *88139 403096 1 0 7 0 dhclient 26215 32491 0 0 3 0x14200 bored smr 97767 492684 0 0 2 0x14200 zerothread 84643 316096 0 0 3 0x14200 aiodoned aiodoned 53604 125887 0 0 3 0x14200 syncer update 55514 302554 0 0 3 0x14200 cleaner cleaner 57160 394938 0 0 3 0x14200 reaper reaper 86240 35206 0 0 3 0x14200 pgdaemon pagedaemon 94723 368269 0 0 3 0x14200 bored crynlk 66599 283626 0 0 3 0x14200 bored crypto 55501 399355 0 0 3 0x40014200 acpi0 acpi0 80837 38770 0 0 2 0x14200 softnet 63719 48516 0 0 3 0x14200 bored systqmp 87734 83255 0 0 3 0x14200 bored systq 73977 334948 0 0 2 0x40014200 softclock 34023 120673 0 0 3 0x40014200 idle0 1 226699 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 9533 6734K 7237K 78643K 11634 0 pcb 13 8K 8K 78643K 35 0 rtable 119 7K 11K 78643K 461 0 ifaddr 79 15K 15K 78643K 138 0 counters 22 16K 16K 78643K 28 0 ioctlops 0 0K 4K 78643K 61 0 iov 0 0K 12K 78643K 44 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1567 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 38 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 237 0 sigio 0 0K 0K 78643K 6 0 proc 51 38K 55K 78643K 464 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 8 0 in_multi 43 2K 2K 78643K 90 0 ether_multi 1 0K 0K 78643K 4 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 227 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 23K 39K 78643K 1450 0 UVM aobj 13 4K 4K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 13 0K 0K 78643K 30 0 temp 106 3857K 3921K 78643K 12655 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 10 0 4 1 0 1 1 0 8 0 rtpcb 80 30 0 27 1 0 1 1 0 8 0 rtentry 112 75 0 34 2 0 2 2 0 8 0 unpcb 120 130 0 122 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 288 0 288 1 1 0 1 0 8 0 tcpcb 544 68 0 64 1 0 1 1 0 8 0 inpcb 296 179 0 172 2 0 2 2 0 8 1 nd6 48 15 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pfrke_plain 160 11 0 11 1 0 1 1 0 8 1 pfrktable 1344 64 0 56 2 0 2 2 0 8 1 pftag 88 4 0 4 1 1 0 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 24 0 8 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 311 0 140 13 0 13 13 0 8 0 art_table 32 312 0 140 2 0 2 2 0 8 0 art_node 16 74 0 36 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 1 0 1 0 8 0 semapl 112 32 0 22 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 1693 0 294 88 0 88 88 0 8 0 ffsino 240 1693 0 294 83 0 83 83 0 8 0 nchpl 144 2180 0 595 60 0 60 60 0 8 0 uvmvnodes 72 2040 0 0 38 0 38 38 0 8 0 vnodes 208 2040 0 0 108 0 108 108 0 8 0 namei 1024 6135 0 6134 1 0 1 1 0 8 0 vmpool 528 4 0 4 2 1 1 1 0 8 1 pfiaddrpl 120 16 0 10 1 0 1 1 0 8 0 scxspl 192 6383 0 6383 1 0 1 1 0 8 1 plimitpl 152 36 0 29 1 0 1 1 0 8 0 sigapl 424 418 0 389 4 0 4 4 0 8 0 futexpl 56 3998 0 3998 1 0 1 1 0 8 1 knotepl 112 89 0 70 1 0 1 1 0 8 0 kqueuepl 144 20 0 18 1 0 1 1 0 8 0 pipepl 272 94 0 84 1 0 1 1 0 8 0 fdescpl 432 403 0 389 2 0 2 2 0 8 0 filepl 120 2289 0 2191 4 0 4 4 0 8 1 lockfpl 104 68 0 66 1 0 1 1 0 8 0 lockfspl 48 19 0 17 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 205 0 198 1 0 1 1 0 8 0 zombiepl 144 389 0 389 1 0 1 1 0 8 1 processpl 928 418 0 389 4 0 4 4 0 8 0 procpl 624 655 0 618 4 0 4 4 0 8 0 sockpl 400 345 0 327 3 0 3 3 0 8 1 mcl64k 65536 12 0 12 1 0 1 1 0 8 1 mcl12k 12288 7 0 7 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 2 1 1 1 0 8 1 mcl4k 4096 25 0 25 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 78883 0 78835 17 10 7 14 0 8 0 mtagpl 96 23 0 17 2 1 1 1 0 8 0 mbufpl 256 126182 0 126055 14 4 10 10 0 8 0 bufpl 280 3821 0 134 264 0 264 264 0 8 0 anonpl 16 62718 0 47546 75 2 73 73 0 107 7 amapchunkpl 152 2187 0 2053 19 1 18 19 0 158 12 amappl16 192 2192 0 1279 58 4 54 58 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 24 0 18 1 0 1 1 0 8 0 amappl13 168 65 0 60 1 0 1 1 0 8 0 amappl12 160 23 0 19 1 0 1 1 0 8 0 amappl11 152 49 0 40 1 0 1 1 0 8 0 amappl10 144 83 0 79 1 0 1 1 0 8 0 amappl9 136 461 0 457 1 0 1 1 0 8 0 amappl8 128 371 0 321 2 0 2 2 0 8 0 amappl7 120 188 0 176 1 0 1 1 0 8 0 amappl6 112 27 0 21 1 0 1 1 0 8 0 amappl5 104 335 0 321 1 0 1 1 0 8 0 amappl4 96 451 0 425 1 0 1 1 0 8 0 amappl3 88 107 0 102 1 0 1 1 0 8 0 amappl2 80 2264 0 2196 2 0 2 2 0 8 0 amappl1 72 17252 0 16836 22 13 9 17 0 8 0 amappl 80 912 0 870 2 0 2 2 0 84 1 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 407 0 393 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 407 0 393 1 0 1 1 0 8 0 vmmpekpl 168 6673 0 6647 2 0 2 2 0 8 0 vmmpepl 168 57014 0 54988 129 4 125 125 0 357 35 vmsppl 272 406 0 393 2 1 1 2 0 8 0 pdppl 4096 820 0 786 6 1 5 6 0 8 0 pvpl 32 182655 0 164492 176 0 176 176 0 265 19 pmappl 200 406 0 393 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 246 0 20 8 1 7 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(ffffffff823cd97f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8066958190,0,ffff80001d6e5468,0,0,ffff80001d6e5374) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8780,ffff80001d6e5468,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5468,0,ffff80001d6e5550) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5500,ffff80001d6e5550) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9480, 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(ffffffff823cd97f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8066958190,0,ffff80001d6e5468,0,0,ffff80001d6e5374) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8780,ffff80001d6e5468,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5468,0,ffff80001d6e5550) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5500,ffff80001d6e5550) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9480, count: -8