panic(ffffffff821e77c6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f1320,0,ffff800020aad4f8,0,0,ffff800020aad404) at soreceive+0x16ec sys/kern/uipc_socket.c:823 soo_read(fffffd806fc8c098,ffff800020aad4f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a6cc38,6,ffff800020aad4f8,0,ffff800020aad5e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a6cc38,ffff800020aad590,ffff800020aad5e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020aad660) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020aad660) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed530, 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 0xfffffd806f6f1320, so_type 3, sb_cc 224 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e77c6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f1320,0,ffff800020aad4f8,0,0,ffff800020aad404) at soreceive+0x16ec sys/kern/uipc_socket.c:823 soo_read(fffffd806fc8c098,ffff800020aad4f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a6cc38,6,ffff800020aad4f8,0,ffff800020aad5e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a6cc38,ffff800020aad590,ffff800020aad5e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020aad660) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020aad660) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed530, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020aad240 rbx 0xffff800020aad2f0 rdx 0xffff800020a6cc38 rcx 0 rax 0 r8 0xffffffff819a56bf kprintf+0x16f r9 0x1 r10 0x25 r11 0xebb558e6252e9cc6 r12 0x3000000008 r13 0xffff800020aad250 r14 0x100 r15 0x1 rip 0xffffffff81ffa358 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020aad230 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhclient) pid=448523 stat=onproc flags process=0 proc=0 pri=50, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff800020a6c758,0xffff800020a6ceb8 process=0xffff800020a803e8 user=0xffff800020aa8000, vmspace=0xfffffd807f000000 estcpu=2, cpticks=10, pctcpu=0.0 user=0, sys=9, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57111 145067 75817 0 2 0 syz-executor.1 57111 206150 75817 0 7 0x4000000 syz-executor.1 13018 154930 0 0 3 0x14200 bored sosplice 75817 491633 21265 0 2 0x482 syz-executor.1 55374 264044 21265 0 2 0x2 syz-executor.0 21265 331558 36557 0 3 0x82 kqread syz-fuzzer 21265 330647 36557 0 2 0x4000482 syz-fuzzer 21265 270783 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 48683 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 75298 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 82886 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 109635 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 367003 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 1260 36557 0 3 0x4000082 thrsleep syz-fuzzer 21265 510482 36557 0 3 0x4000082 thrsleep syz-fuzzer 36557 519540 65132 0 3 0x10008a pause ksh 65132 134334 38494 0 2 0x12 sshd 46769 8645 1 0 3 0x100083 ttyin getty 38494 479478 1 0 3 0x80 select sshd 11357 83490 59363 74 3 0x100092 bpf pflogd 59363 242521 1 0 3 0x80 netio pflogd 27790 204217 63406 73 3 0x100090 kqread syslogd 63406 294415 1 0 3 0x100082 netio syslogd 68100 100597 1 77 3 0x100090 poll dhclient *92989 448523 1 0 7 0 dhclient 47512 373949 0 0 3 0x14200 bored smr 6885 219664 0 0 3 0x14200 pgzero zerothread 54963 433145 0 0 3 0x14200 aiodoned aiodoned 79408 154209 0 0 3 0x14200 syncer update 23746 506311 0 0 3 0x14200 cleaner cleaner 85169 269484 0 0 3 0x14200 reaper reaper 44528 41951 0 0 3 0x14200 pgdaemon pagedaemon 41475 331849 0 0 3 0x14200 bored crynlk 35316 17218 0 0 3 0x14200 bored crypto 82650 230940 0 0 3 0x40014200 acpi0 acpi0 25915 475713 0 0 3 0x40014200 idle1 3856 452727 0 0 3 0x14200 bored softnet 53627 70993 0 0 3 0x14200 bored systqmp 41080 185203 0 0 3 0x14200 bored systq 68505 417939 0 0 2 0x40014200 softclock 99319 160390 0 0 3 0x40014200 idle0 1 49457 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 55374 (syz-executor.0) thread 0xffff800020a6c008 (264044) exclusive rrwlock inode r = 0 (0xfffffd80651e6a30) #0 witness_lock+0x4c5 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:602 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1329 #8 ufs_lookup+0x14b7 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #11 namei+0x63c sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b43f2b8) #0 witness_lock+0x4c5 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:602 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 Process 92989 (dhclient) thread 0xffff800020a6cc38 (448523) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82643ff0) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9530 6429K 6997K 78643K 11181 0 pcb 13 8K 8K 78643K 112 0 rtable 101 3K 3K 78643K 316 0 ifaddr 83 15K 15K 78643K 127 0 counters 45 34K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1486 0 iov 0 0K 28K 78643K 44 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1393 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 12 0K 0K 78643K 48 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 310 0 sigio 0 0K 0K 78643K 9 0 proc 61 63K 95K 78643K 471 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 29 0 in_multi 49 2K 2K 78643K 127 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 7 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 229 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 104 70K 70K 78643K 1985 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 85 0 NDP 15 0K 0K 78643K 30 0 temp 116 3040K 3109K 78643K 3549 0 kqueue 3 4K 12K 78643K 22 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 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 35 0 33 1 0 1 1 0 8 0 rtentry 112 72 0 30 2 0 2 2 0 8 0 unpcb 120 690 0 679 1 0 1 1 0 8 0 syncache 264 7 0 7 2 1 1 1 0 8 1 tcpcb 544 162 0 158 1 0 1 1 0 8 0 inpcb 280 465 0 458 4 2 2 2 0 8 1 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 13 0 8 1 0 1 1 0 8 0 pffrag 232 2 0 2 2 1 1 1 0 482 1 pffrnode 88 2 0 2 2 1 1 1 0 8 1 pffrent 40 47 0 47 2 1 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 30 0 7 1 0 1 1 0 8 0 pfstkey 112 30 0 7 1 0 1 1 0 8 0 pfstate 328 30 0 7 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 335 0 160 13 0 13 13 0 8 0 art_table 32 336 0 160 2 0 2 2 0 8 0 art_node 16 71 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 17 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1814 0 405 46 0 46 46 0 8 0 ffsino 272 1814 0 405 95 0 95 95 0 8 0 nchpl 144 2427 0 810 61 0 61 61 0 8 0 uvmvnodes 72 1986 0 0 37 0 37 37 0 8 0 vnodes 208 1986 0 0 105 0 105 105 0 8 0 namei 1024 6387 0 6387 1 0 1 1 0 8 1 percpumem 16 39 0 6 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 scxspl 192 7315 0 7315 10 7 3 7 0 8 3 plimitpl 152 35 0 27 1 0 1 1 0 8 0 sigapl 424 526 0 494 4 0 4 4 0 8 0 futexpl 56 4877 0 4877 1 0 1 1 0 8 1 knotepl 112 78 0 59 1 0 1 1 0 8 0 kqueuepl 144 71 0 69 1 0 1 1 0 8 0 pipelkpl 48 133 0 123 1 0 1 1 0 8 0 pipepl 120 266 0 247 1 0 1 1 0 8 0 fdescpl 496 510 0 494 3 0 3 3 0 8 0 filepl 152 3326 0 3224 5 0 5 5 0 8 1 lockfpl 104 78 0 77 1 0 1 1 0 8 0 lockfspl 48 31 0 30 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 225 0 216 1 0 1 1 0 8 0 zombiepl 144 494 0 494 1 0 1 1 0 8 1 processpl 984 526 0 494 5 0 5 5 0 8 0 procpl 624 1225 0 1183 4 0 4 4 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 400 1194 0 1174 4 0 4 4 0 8 2 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 153 0 0 19 0 19 19 0 8 0 mtagpl 80 37 0 0 1 0 1 1 0 8 0 mbufpl 256 344 0 0 20 0 20 20 0 8 0 bufpl 280 4635 0 174 319 0 319 319 0 8 0 anonpl 16 68186 0 53442 76 2 74 74 0 124 11 amapchunkpl 152 2925 0 2784 8 1 7 8 0 158 0 amappl16 192 2860 0 2064 57 7 50 51 0 8 8 amappl15 184 18 0 15 1 0 1 1 0 8 0 amappl14 176 3 0 2 3 2 1 1 0 8 0 amappl13 168 25 0 24 1 0 1 1 0 8 0 amappl12 160 7 0 6 2 1 1 1 0 8 0 amappl11 152 69 0 51 1 0 1 1 0 8 0 amappl10 144 15 0 10 1 0 1 1 0 8 0 amappl9 136 672 0 663 1 0 1 1 0 8 0 amappl8 128 586 0 567 1 0 1 1 0 8 0 amappl7 120 118 0 107 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 408 0 390 1 0 1 1 0 8 0 amappl4 96 509 0 477 2 1 1 2 0 8 0 amappl3 88 121 0 116 1 0 1 1 0 8 0 amappl2 80 3110 0 3039 3 1 2 3 0 8 0 amappl1 72 21203 0 20772 26 16 10 20 0 8 0 amappl 80 1483 0 1437 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 519 0 496 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 519 0 496 1 0 1 1 0 8 0 vmmpekpl 168 7862 0 7828 2 0 2 2 0 8 0 vmmpepl 168 69220 0 67279 109 8 101 101 0 357 11 vmsppl 368 518 0 496 3 0 3 3 0 8 0 pdppl 4096 1046 0 999 7 0 7 7 0 8 0 pvpl 32 204535 0 187401 178 2 176 177 0 265 34 pmappl 232 518 0 496 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 180 0 3 6 0 6 6 0 8 0