panic: receive 1a: so 0xfffffd806f6f1320, so_type 3, m 0xfffffd806d592c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 522320 80402 77 0x100010 0 0 dhclient *220542 11142 0 0 0 1K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d6508) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f1320,0,ffff800020abdb78,0,0,ffff800020abda84) at soreceive+0x174a sys/kern/uipc_socket.c:977 soo_read(fffffd80747f2558,ffff800020abdb78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7c9c8,6,ffff800020abdb78,0,ffff800020abdc60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a7c9c8,ffff800020abdc10,ffff800020abdc60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020abdce0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abdce0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4960, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic receive 1a: so 0xfffffd806f6f1320, so_type 3, m 0xfffffd806d592c00, m_type 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d6508) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f1320,0,ffff800020abdb78,0,0,ffff800020abda84) at soreceive+0x174a sys/kern/uipc_socket.c:977 soo_read(fffffd80747f2558,ffff800020abdb78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7c9c8,6,ffff800020abdb78,0,ffff800020abdc60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a7c9c8,ffff800020abdc10,ffff800020abdc60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020abdce0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abdce0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4960, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020abd8c0 rbx 0xffff800020abd970 rdx 0xffff800020a7c9c8 rcx 0 rax 0 r8 0xffffffff810edbff kprintf+0x16f r9 0x1 r10 0x25 r11 0x6e762ffabf440952 r12 0x3000000008 r13 0xffff800020abd8d0 r14 0x100 r15 0x1 rip 0xffffffff81824028 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020abd8b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=220542 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a7cc38,0xffff800020a7d128 process=0xffff800020a90f10 user=0xffff800020ab8000, vmspace=0xfffffd807efff450 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60219 53747 57103 0 2 0 syz-executor.0 98668 170419 0 0 3 0x14200 bored sosplice 67646 485568 7891 0 3 0x82 nanosleep syz-executor.1 57103 165918 7891 0 3 0x82 nanosleep syz-executor.0 7891 513965 58893 0 3 0x82 nanosleep syz-fuzzer 7891 205065 58893 0 3 0x4000082 nanosleep syz-fuzzer 7891 419439 58893 0 3 0x4000082 thrsleep syz-fuzzer 7891 44323 58893 0 3 0x4000082 thrsleep syz-fuzzer 7891 461295 58893 0 3 0x4000082 thrsleep syz-fuzzer 7891 403256 58893 0 3 0x4000082 thrsleep syz-fuzzer 7891 408173 58893 0 3 0x4000082 thrsleep syz-fuzzer 7891 398084 58893 0 3 0x4000082 thrsleep syz-fuzzer 7891 285058 58893 0 3 0x4000082 kqread syz-fuzzer 7891 46171 58893 0 3 0x4000082 thrsleep syz-fuzzer 58893 78102 26905 0 3 0x10008a pause ksh 26905 223468 16104 0 3 0x92 select sshd 92768 100005 1 0 3 0x100083 ttyin getty 16104 462518 1 0 3 0x80 select sshd 68957 346152 37885 74 3 0x100092 bpf pflogd 37885 381751 1 0 3 0x80 netio pflogd 9059 465808 13650 73 3 0x100090 kqread syslogd 13650 318927 1 0 3 0x100082 netio syslogd 80402 522320 1 77 7 0x100010 dhclient *11142 220542 1 0 7 0 dhclient 10109 438802 0 0 2 0x14200 zerothread 44992 6219 0 0 3 0x14200 aiodoned aiodoned 47263 9835 0 0 3 0x14200 syncer update 74547 392356 0 0 3 0x14200 cleaner cleaner 93239 158028 0 0 3 0x14200 reaper reaper 25411 273042 0 0 3 0x14200 pgdaemon pagedaemon 17335 217456 0 0 3 0x14200 bored crynlk 66381 388519 0 0 3 0x14200 bored crypto 33252 44872 0 0 3 0x40014200 acpi0 acpi0 18282 350791 0 0 3 0x40014200 idle1 49820 514389 0 0 2 0x14200 softnet 33624 230157 0 0 3 0x14200 bored systqmp 76874 285150 0 0 3 0x14200 bored systq 114 85284 0 0 3 0x40014200 bored softclock 40546 251019 0 0 3 0x40014200 idle0 80234 60303 0 0 3 0x14200 bored smr 1 456260 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 11142 (dhclient) thread 0xffff800020a7c9c8 (220542) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82675f38) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 solock+0x66 sys/kern/uipc_socket2.c:292 #2 soreceive+0x114 sys/kern/uipc_socket.c:731 #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9477 6401K 6852K 78643K 10671 0 pcb 13 8K 8K 78643K 39 0 rtable 102 3K 4K 78643K 220 0 ifaddr 43 10K 10K 78643K 52 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1469 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1252 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 1K 1K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 64 0 proc 59 63K 83K 78643K 448 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 2 0 in_multi 29 1K 2K 78643K 42 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 2 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 213 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 110 22K 22K 78643K 1118 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 7 0K 0K 78643K 12 0 temp 84 3016K 3080K 78643K 2158 0 kqueue 3 4K 8K 78643K 5 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 23 0 21 1 0 1 1 0 8 0 rtentry 112 49 0 8 2 0 2 2 0 8 0 unpcb 120 53 0 43 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 27 0 27 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 inpcb 280 90 0 83 2 0 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pffrag 232 1 0 1 1 0 1 1 0 482 1 pffrnode 88 1 0 1 1 0 1 1 0 8 1 pffrent 40 45 0 45 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 16 0 0 1 0 1 1 0 8 0 pfstkey 112 16 0 0 1 0 1 1 0 8 0 pfstate 328 16 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 40 13 0 13 13 0 8 0 art_table 32 214 0 40 2 0 2 2 0 8 0 art_node 16 48 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1472 0 65 46 0 46 46 0 8 0 ffsino 272 1472 0 65 95 0 95 95 0 8 1 nchpl 144 1757 0 139 61 0 61 61 0 8 0 uvmvnodes 72 1538 0 0 28 0 28 28 0 8 0 vnodes 208 1538 0 0 81 0 81 81 0 8 0 namei 1024 4626 0 4626 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 scxspl 192 5238 0 5238 8 1 7 7 0 8 7 plimitpl 152 19 0 11 1 0 1 1 0 8 0 sigapl 432 263 0 247 3 0 3 3 0 8 1 futexpl 56 816 0 816 1 0 1 1 0 8 1 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 144 8 0 6 1 0 1 1 0 8 0 pipelkpl 48 94 0 84 1 0 1 1 0 8 0 pipepl 120 188 0 169 2 0 2 2 0 8 1 fdescpl 496 264 0 247 3 0 3 3 0 8 0 filepl 152 1488 0 1387 5 0 5 5 0 8 1 lockfpl 104 11 0 10 1 0 1 1 0 8 0 lockfspl 48 5 0 4 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 106 0 97 1 0 1 1 0 8 0 zombiepl 144 248 0 247 1 0 1 1 0 8 0 processpl 960 280 0 247 5 0 5 5 0 8 0 procpl 624 362 0 320 4 0 4 4 0 8 0 sockpl 400 166 0 147 4 0 4 4 0 8 2 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 148 0 0 18 0 18 18 0 8 0 mtagpl 80 11 0 0 1 0 1 1 0 8 0 mbufpl 256 265 0 0 17 0 17 17 0 8 0 bufpl 280 4094 0 173 281 0 281 281 0 8 0 anonpl 16 40337 0 24389 66 1 65 65 0 124 0 amapchunkpl 152 1243 0 1095 8 0 8 8 0 158 1 amappl16 192 1106 0 244 44 0 44 44 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 19 0 17 2 1 1 1 0 8 0 amappl13 168 25 0 24 1 0 1 1 0 8 0 amappl12 160 7 0 5 2 1 1 1 0 8 0 amappl11 152 77 0 58 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 414 0 407 1 0 1 1 0 8 0 amappl8 128 340 0 317 1 0 1 1 0 8 0 amappl7 120 119 0 108 1 0 1 1 0 8 0 amappl6 112 31 0 26 1 0 1 1 0 8 0 amappl5 104 174 0 156 1 0 1 1 0 8 0 amappl4 96 507 0 472 2 1 1 2 0 8 0 amappl3 88 103 0 98 1 0 1 1 0 8 0 amappl2 80 1180 0 1106 3 1 2 3 0 8 0 amappl1 72 15840 0 15400 25 9 16 20 0 8 6 amappl 80 613 0 566 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 264 0 247 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 264 0 247 1 0 1 1 0 8 0 vmmpekpl 168 6107 0 6073 2 0 2 2 0 8 0 vmmpepl 168 39768 0 37698 126 4 122 122 0 357 32 vmsppl 368 263 0 247 2 0 2 2 0 8 0 pdppl 4096 535 0 494 6 0 6 6 0 8 0 pvpl 32 141722 0 122601 158 0 158 158 0 265 3 pmappl 232 263 0 247 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 172 0 3 5 0 5 5 0 8 0