panic: receive 1: so 0xfffffd8W0AR6NfI6N8aG:4 b0SP,L sNoO_Tt yLOpWeE R3E,D sObN_ cScY S2C5A6L L S3t o4 pEpXeIdT a0t 9 db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 465706 85598 74 0x100012 0 1 pflogd * 90532 44735 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f5932) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a4b0,0,ffff800020e1d0d8,0,0,ffff800020e1cfe4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8079df6390,ffff800020e1d0d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1d0d8,0,ffff800020e1d1c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1d170,ffff800020e1d1c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d240) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d240) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7f30, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic receive 1: so 0xfffffd806f68a4b0, so_type 3, sb_cc 256 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f5932) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a4b0,0,ffff800020e1d0d8,0,0,ffff800020e1cfe4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8079df6390,ffff800020e1d0d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1d0d8,0,ffff800020e1d1c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1d170,ffff800020e1d1c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d240) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d240) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7f30, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e1ce20 rbx 0xffff800020e1ced0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81d7bbff kprintf+0x16f r9 0x1 r10 0x2 r11 0x842f32c146aabdaf r12 0x3000000008 r13 0xffff800020e1ce30 r14 0x100 r15 0x1 rip 0xffffffff81e2db58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e1ce10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhclient) pid=90532 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc758,0xffff800020ddceb8 process=0xffff800020df0010 user=0xffff800020e18000, vmspace=0xfffffd807efff170 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 40115 230016 42571 0 2 0 syz-executor.0 40115 87484 42571 0 3 0x4000080 piperd syz-executor.0 42571 484244 85574 0 3 0x82 nanosleep syz-executor.0 38082 27782 0 0 3 0x14200 bored sosplice 44296 400115 85574 0 3 0x82 nanosleep syz-executor.1 85574 77634 82762 0 3 0x82 thrsleep syz-fuzzer 85574 425736 82762 0 3 0x4000082 nanosleep syz-fuzzer 85574 266634 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 64455 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 252058 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 430556 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 95711 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 90340 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 476328 82762 0 3 0x4000082 thrsleep syz-fuzzer 85574 115437 82762 0 3 0x4000082 kqread syz-fuzzer 82762 265683 97934 0 3 0x10008a pause ksh 97934 138131 54425 0 3 0x92 select sshd 72614 100690 1 0 3 0x100083 ttyin getty 54425 246650 1 0 3 0x80 select sshd 85598 465706 29749 74 7 0x100012 pflogd 29749 159150 1 0 3 0x80 netio pflogd 44163 484657 38185 73 3 0x100090 kqread syslogd 38185 206195 1 0 3 0x100082 netio syslogd 24834 142341 1 77 3 0x100090 poll dhclient *44735 90532 1 0 7 0 dhclient 13831 404586 0 0 3 0x14200 bored smr 97619 189721 0 0 3 0x14200 pgzero zerothread 11231 264155 0 0 3 0x14200 aiodoned aiodoned 68845 390617 0 0 3 0x14200 syncer update 75072 505655 0 0 3 0x14200 cleaner cleaner 45012 292529 0 0 3 0x14200 reaper reaper 27144 204791 0 0 3 0x14200 pgdaemon pagedaemon 75647 250747 0 0 3 0x14200 bored crynlk 35276 314990 0 0 3 0x14200 bored crypto 72828 154963 0 0 3 0x40014200 acpi0 acpi0 74065 326823 0 0 3 0x40014200 idle1 46835 347564 0 0 3 0x14200 bored softnet 94110 408785 0 0 3 0x14200 bored systqmp 63865 121636 0 0 3 0x14200 bored systq 54232 491911 0 0 3 0x40014200 bored softclock 98764 458353 0 0 3 0x40014200 idle0 1 471335 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 44735 (dhclient) thread 0xffff800020ddcc38 (90532) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8292aa38) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 solock+0x66 sys/kern/uipc_socket2.c:292 #2 soreceive+0x114 sys/kern/uipc_socket.c:737 #3 soo_read+0x53 sys/kern/sys_socket.c:70 #4 dofilereadv+0x1a1 sys/kern/sys_generic.c:237 #5 sys_read+0x83 sys/kern/sys_generic.c:157 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9532 6492K 7248K 78643K 12432 0 pcb 13 8K 8K 78643K 69 0 rtable 82 3K 4K 78643K 431 0 ifaddr 79 15K 15K 78643K 173 0 counters 45 34K 34K 78643K 61 0 ioctlops 0 0K 4K 78643K 1519 0 iov 0 0K 16K 78643K 65 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1725 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 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 110 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 447 0 sigio 0 0K 0K 78643K 19 0 proc 61 63K 95K 78643K 548 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 34 0 in_multi 58 3K 3K 78643K 211 0 ether_multi 1 0K 0K 78643K 12 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 235 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 123 55K 57K 78643K 2438 0 UVM aobj 20 6K 6K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 14 0K 0K 78643K 49 0 temp 114 3863K 3927K 78643K 9067 0 kqueue 3 4K 10K 78643K 25 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 43 0 41 1 0 1 1 0 8 0 rtentry 112 108 0 78 2 0 2 2 0 8 0 unpcb 120 258 0 248 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 122 0 122 2 2 0 1 0 8 0 tcpcb 544 143 0 137 1 0 1 1 0 8 0 inpcb 296 780 0 769 2 0 2 2 0 8 0 nd6 48 34 0 32 1 0 1 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 1 1 0 1 1 0 8 0 pfosfp 40 847 0 423 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 8 0 6 1 0 1 1 0 8 0 pftag 88 2 0 1 1 0 1 1 0 8 0 pfqueue 264 2 0 0 1 0 1 1 0 8 0 pfstitem 24 32 0 9 1 0 1 1 0 8 0 pfstkey 112 32 0 9 1 0 1 1 0 8 0 pfstate 328 32 0 9 3 0 3 3 0 8 0 pfrule 1360 28 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 478 0 334 16 3 13 13 0 8 2 art_table 32 479 0 334 2 0 2 2 0 8 0 art_node 16 107 0 79 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 5 1 0 1 1 0 8 0 semapl 112 108 0 98 1 0 1 1 0 8 0 shmpl 112 18 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2011 0 605 89 0 89 89 0 8 0 ffsino 272 2011 0 605 94 0 94 94 0 8 0 nchpl 144 2797 0 1198 60 0 60 60 0 8 0 uvmvnodes 72 2488 0 0 46 0 46 46 0 8 0 vnodes 208 2488 0 0 131 0 131 131 0 8 0 namei 1024 8186 0 8186 1 0 1 1 0 8 1 percpumem 16 41 0 8 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 9015 0 9015 10 7 3 7 0 8 3 plimitpl 152 36 0 28 1 0 1 1 0 8 0 sigapl 424 660 0 627 4 0 4 4 0 8 0 futexpl 56 7150 0 7150 1 0 1 1 0 8 1 knotepl 112 98 0 79 1 0 1 1 0 8 0 kqueuepl 144 54 0 52 1 0 1 1 0 8 0 pipepl 304 140 0 129 2 0 2 2 0 8 1 fdescpl 496 644 0 627 3 0 3 3 0 8 0 filepl 152 4019 0 3912 5 0 5 5 0 8 0 lockfpl 104 120 0 119 1 0 1 1 0 8 0 lockfspl 48 42 0 41 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 296 0 286 1 0 1 1 0 8 0 zombiepl 144 628 0 627 1 0 1 1 0 8 0 processpl 984 660 0 627 5 0 5 5 0 8 0 procpl 624 1610 0 1567 4 0 4 4 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 400 1085 0 1062 4 0 4 4 0 8 1 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 163 0 0 20 0 20 20 0 8 0 mtagpl 96 36 0 0 1 0 1 1 0 8 0 mbufpl 256 312 0 0 18 0 18 18 0 8 0 bufpl 280 4762 0 135 331 0 331 331 0 8 0 anonpl 16 73279 0 56634 70 2 68 68 0 124 1 amapchunkpl 152 4092 0 3919 16 2 14 14 0 158 6 amappl16 192 2783 0 1893 47 1 46 46 0 8 1 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 26 0 21 1 0 1 1 0 8 0 amappl13 168 35 0 32 1 0 1 1 0 8 0 amappl12 160 26 0 24 1 0 1 1 0 8 0 amappl11 152 252 0 235 1 0 1 1 0 8 0 amappl10 144 17 0 14 1 0 1 1 0 8 0 amappl9 136 594 0 591 1 0 1 1 0 8 0 amappl8 128 565 0 535 1 0 1 1 0 8 0 amappl7 120 127 0 113 1 0 1 1 0 8 0 amappl6 112 214 0 209 1 0 1 1 0 8 0 amappl5 104 531 0 514 1 0 1 1 0 8 0 amappl4 96 514 0 480 1 0 1 1 0 8 0 amappl3 88 120 0 114 1 0 1 1 0 8 0 amappl2 80 4115 0 4039 2 0 2 2 0 8 0 amappl1 72 23992 0 23528 23 13 10 18 0 8 0 amappl 80 1883 0 1833 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 19 0 0 1 0 1 1 0 8 0 uaddrrnd 24 648 0 627 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 648 0 627 1 0 1 1 0 8 0 vmmpekpl 168 8950 0 8918 2 0 2 2 0 8 0 vmmpepl 168 85320 0 83157 130 19 111 122 0 357 16 vmsppl 368 647 0 627 2 0 2 2 0 8 0 pdppl 4096 1303 0 1258 6 0 6 6 0 8 0 pvpl 32 236320 0 216697 172 7 165 167 0 265 5 pmappl 232 647 0 627 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 268 0 6 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f5932) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a4b0,0,ffff800020e1d0d8,0,0,ffff800020e1cfe4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8079df6390,ffff800020e1d0d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1d0d8,0,ffff800020e1d1c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1d170,ffff800020e1d1c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d240) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d240) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7f30, count: -8 ddb{0}> machine ddbcpu 1