panic: receive 1: so 0xfffffd806f6f0320, so_type 3, sb_cc 224 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *414068 36966 0 0 0 1K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e7cec) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f0320,0,ffff800020ead018,0,0,ffff800020eacf24) at soreceive+0x16ec sys/kern/uipc_socket.c:823 soo_read(fffffd806fc8c2f8,ffff800020ead018,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020e6c4e8,6,ffff800020ead018,0,ffff800020ead100) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e6c4e8,ffff800020ead0b0,ffff800020ead100) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020ead180) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ead180) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbfc00, 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 1: so 0xfffffd806f6f0320, so_type 3, sb_cc 224 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e7cec) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f0320,0,ffff800020ead018,0,0,ffff800020eacf24) at soreceive+0x16ec sys/kern/uipc_socket.c:823 soo_read(fffffd806fc8c2f8,ffff800020ead018,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020e6c4e8,6,ffff800020ead018,0,ffff800020ead100) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e6c4e8,ffff800020ead0b0,ffff800020ead100) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020ead180) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ead180) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbfc00, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020eacd60 rbx 0xffff800020eace10 rdx 0xffff800020e6c4e8 rcx 0 rax 0 r8 0xffffffff8203e2af kprintf+0x16f r9 0x1 r10 0x25 r11 0xc853285a8a3460f3 r12 0x3000000008 r13 0xffff800020eacd70 r14 0x100 r15 0x1 rip 0xffffffff8175e648 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020eacd50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=414068 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020e6d5f8,0xffff800020e6c768 process=0xffff800020e80b98 user=0xffff800020ea8000, vmspace=0xfffffd807f000170 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15087 222533 50768 0 3 0x82 nanosleep syz-executor.0 98712 185524 0 0 3 0x14200 bored sosplice 35914 496454 50768 0 3 0x82 nanosleep syz-executor.1 50768 75208 76720 0 3 0x82 thrsleep syz-fuzzer 50768 11441 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 257509 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 390981 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 257980 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 321620 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 324008 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 106321 76720 0 3 0x4000082 thrsleep syz-fuzzer 50768 415184 76720 0 3 0x4000082 kqread syz-fuzzer 50768 32453 76720 0 3 0x4000082 thrsleep syz-fuzzer 76720 327901 79527 0 3 0x10008a pause ksh 79527 396836 82453 0 3 0x92 select sshd 79838 411067 1 0 3 0x100083 ttyin getty 82453 238892 1 0 3 0x80 select sshd 14743 448651 91294 74 3 0x100092 bpf pflogd 91294 302787 1 0 3 0x80 netio pflogd 28649 126066 87746 73 3 0x100090 kqread syslogd 87746 205490 1 0 3 0x100082 netio syslogd 9136 508013 1 77 3 0x100090 poll dhclient *36966 414068 1 0 7 0 dhclient 85357 443580 0 0 3 0x14200 bored smr 14689 284480 0 0 3 0x14200 pgzero zerothread 62595 34900 0 0 3 0x14200 aiodoned aiodoned 97893 284690 0 0 3 0x14200 syncer update 29208 296477 0 0 3 0x14200 cleaner cleaner 69959 412424 0 0 3 0x14200 reaper reaper 99505 94128 0 0 3 0x14200 pgdaemon pagedaemon 11591 137260 0 0 3 0x14200 bored crynlk 78121 431895 0 0 3 0x14200 bored crypto 77797 285747 0 0 3 0x40014200 acpi0 acpi0 25440 450945 0 0 3 0x40014200 idle1 17838 271682 0 0 3 0x14200 bored softnet 50962 91612 0 0 3 0x14200 bored systqmp 23469 155435 0 0 3 0x14200 bored systq 37433 144001 0 0 3 0x40014200 bored softclock 42362 122229 0 0 7 0x40014200 idle0 1 301741 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 36966 (dhclient) thread 0xffff800020e6c4e8 (414068) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82668298) #0 witness_lock+0x4c5 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 9521 6426K 7043K 78643K 11189 0 pcb 13 8K 8K 78643K 86 0 rtable 105 4K 4K 78643K 764 0 ifaddr 81 15K 15K 78643K 127 0 counters 45 34K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1487 0 iov 0 0K 16K 78643K 37 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1412 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 54 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 334 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 83K 78643K 487 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 63 3K 3K 78643K 129 0 ether_multi 1 0K 0K 78643K 10 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 247 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 112 78K 78K 78643K 1998 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 70 0 NDP 13 0K 0K 78643K 28 0 temp 113 3040K 3104K 78643K 28942 0 kqueue 3 4K 10K 78643K 8 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 9 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 296 0 294 1 0 1 1 0 8 0 rtentry 112 80 0 39 2 0 2 2 0 8 0 unpcb 120 207 0 197 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 9 0 9 1 1 0 1 0 8 0 tcpcb 544 104 0 98 1 0 1 1 0 8 0 inpcb 280 405 0 398 3 2 1 2 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 13 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 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 37 0 6 1 0 1 1 0 8 0 pfstkey 112 37 0 6 1 0 1 1 0 8 0 pfstate 328 37 0 6 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 1 2 0 2 2 0 8 1 art_heap4 256 365 0 190 14 2 12 12 0 8 1 art_table 32 367 0 191 2 0 2 2 0 8 0 art_node 16 79 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 1 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1839 0 433 46 0 46 46 0 8 0 ffsino 272 1839 0 433 95 0 95 95 0 8 0 nchpl 144 2518 0 914 61 0 61 61 0 8 0 uvmvnodes 72 2027 0 0 37 0 37 37 0 8 0 vnodes 208 2027 0 0 107 0 107 107 0 8 0 namei 1024 6723 0 6723 2 1 1 1 0 8 1 percpumem 16 38 0 5 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 9 0 2 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 7670 0 7670 8 7 1 7 0 8 1 plimitpl 152 51 0 42 1 0 1 1 0 8 0 sigapl 424 547 0 515 4 0 4 4 0 8 0 futexpl 56 4837 0 4837 1 0 1 1 0 8 1 knotepl 112 73 0 54 1 0 1 1 0 8 0 kqueuepl 144 50 0 46 1 0 1 1 0 8 0 pipelkpl 48 113 0 103 1 0 1 1 0 8 0 pipepl 120 226 0 207 1 0 1 1 0 8 0 fdescpl 496 531 0 515 3 0 3 3 0 8 0 filepl 152 3150 0 3049 6 1 5 5 0 8 1 lockfpl 104 73 0 72 1 0 1 1 0 8 0 lockfspl 48 25 0 24 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 264 0 255 1 0 1 1 0 8 0 zombiepl 144 516 0 514 2 1 1 1 0 8 0 processpl 984 547 0 514 5 0 5 5 0 8 0 procpl 624 1173 0 1131 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 913 0 894 5 1 4 4 0 8 2 mcl64k 65536 517 0 0 65 0 65 65 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 199 0 0 24 0 24 24 0 8 0 mtagpl 80 22 0 0 1 0 1 1 0 8 0 mbufpl 256 696 0 0 42 0 42 42 0 8 0 bufpl 280 4788 0 176 330 0 330 330 0 8 0 anonpl 16 78470 0 63487 77 4 73 76 0 124 11 amapchunkpl 152 3182 0 3041 13 4 9 11 0 158 2 amappl16 192 2751 0 1919 57 7 50 53 0 8 8 amappl15 184 59 0 54 1 0 1 1 0 8 0 amappl14 176 134 0 132 3 2 1 1 0 8 0 amappl13 168 32 0 30 1 0 1 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 193 0 174 1 0 1 1 0 8 0 amappl10 144 15 0 10 1 0 1 1 0 8 0 amappl9 136 387 0 384 1 0 1 1 0 8 0 amappl8 128 327 0 312 1 0 1 1 0 8 0 amappl7 120 125 0 114 1 0 1 1 0 8 0 amappl6 112 147 0 142 1 0 1 1 0 8 0 amappl5 104 312 0 295 1 0 1 1 0 8 0 amappl4 96 625 0 591 2 1 1 2 0 8 0 amappl3 88 116 0 111 1 0 1 1 0 8 0 amappl2 80 3139 0 3067 3 1 2 3 0 8 0 amappl1 72 21020 0 20579 26 16 10 20 0 8 0 amappl 80 1450 0 1403 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 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 540 0 517 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 540 0 517 1 0 1 1 0 8 0 vmmpekpl 168 7785 0 7752 2 0 2 2 0 8 0 vmmpepl 168 70981 0 69006 125 10 115 115 0 357 25 vmsppl 368 539 0 517 3 0 3 3 0 8 0 pdppl 4096 1088 0 1041 7 0 7 7 0 8 0 pvpl 32 217264 0 199235 180 2 178 180 0 265 28 pmappl 232 539 0 517 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 274 0 7 8 0 8 8 0 8 0