panic(ffffffff821e0766) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6ed190,0,ffff800020aad758,0,0,ffff800020aad664) at soreceive+0x174a sys/kern/uipc_socket.c:977 soo_read(fffffd8079ffc428,ffff800020aad758,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a6c758,6,ffff800020aad758,0,ffff800020aad840) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a6c758,ffff800020aad7f0,ffff800020aad840) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020aad8c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020aad8c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec8e0, 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 1a: so 0xfffffd806f6ed190, so_type 3, m 0xfffffd807f01fa00, m_type 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e0766) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6ed190,0,ffff800020aad758,0,0,ffff800020aad664) at soreceive+0x174a sys/kern/uipc_socket.c:977 soo_read(fffffd8079ffc428,ffff800020aad758,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a6c758,6,ffff800020aad758,0,ffff800020aad840) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a6c758,ffff800020aad7f0,ffff800020aad840) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020aad8c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020aad8c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec8e0, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020aad4a0 rbx 0xffff800020aad550 rdx 0xffff800020a6c758 rcx 0 rax 0 r8 0xffffffff81053b4f kprintf+0x16f r9 0x1 r10 0x25 r11 0xd4fada82d290b61a r12 0x3000000008 r13 0xffff800020aad4b0 r14 0x100 r15 0x1 rip 0xffffffff81fec828 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020aad490 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhclient) pid=103502 stat=onproc flags process=0 proc=0 pri=24, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff800020a6cea8,0xffff800020a6c9d8 process=0xffff800020a80f70 user=0xffff800020aa8000, vmspace=0xfffffd807f000000 estcpu=3, cpticks=13, pctcpu=0.0 user=0, sys=13, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77427 430917 36229 0 2 0 syz-executor.1 77427 312470 36229 0 7 0x4000080 syz-executor.1 48700 265000 41206 0 2 0 syz-executor.0 48700 507546 41206 0 2 0x4000000 syz-executor.0 36229 51922 88811 0 2 0x482 syz-executor.1 41206 171836 88811 0 2 0x482 syz-executor.0 88811 270421 8614 0 3 0x82 thrsleep syz-fuzzer 88811 114494 8614 0 3 0x4000082 thrsleep syz-fuzzer 88811 150210 8614 0 3 0x4000082 thrsleep syz-fuzzer 88811 80533 8614 0 3 0x4000082 thrsleep syz-fuzzer 88811 344993 8614 0 3 0x4000082 thrsleep syz-fuzzer 88811 295350 8614 0 3 0x4000082 thrsleep syz-fuzzer 88811 34621 8614 0 3 0x4000082 thrsleep syz-fuzzer 88811 95468 8614 0 2 0x4000482 syz-fuzzer 88811 499231 8614 0 3 0x4000082 kqread syz-fuzzer 88811 234998 8614 0 3 0x4000082 thrsleep syz-fuzzer 8614 128345 22415 0 3 0x10008a pause ksh 22415 249462 84716 0 3 0x92 select sshd 64248 387818 1 0 3 0x100083 ttyin getty 84716 515172 1 0 3 0x80 select sshd 27234 27955 25624 74 2 0x100492 pflogd 25624 383684 1 0 3 0x80 netio pflogd 79521 111225 66598 73 3 0x100090 kqread syslogd 66598 449604 1 0 3 0x100082 netio syslogd 69251 71940 1 77 3 0x100090 poll dhclient * 8095 103502 1 0 7 0 dhclient 12865 61446 0 0 2 0x14200 smr 48821 428439 0 0 2 0x14200 zerothread 80173 324704 0 0 3 0x14200 aiodoned aiodoned 51592 164320 0 0 3 0x14200 syncer update 26087 104218 0 0 3 0x14200 cleaner cleaner 56291 352378 0 0 3 0x14200 reaper reaper 47787 84344 0 0 3 0x14200 pgdaemon pagedaemon 76295 312555 0 0 3 0x14200 bored crynlk 50943 132345 0 0 3 0x14200 bored crypto 45290 324589 0 0 3 0x40014200 acpi0 acpi0 74471 42707 0 0 3 0x40014200 idle1 39484 498359 0 0 3 0x14200 bored softnet 248 472306 0 0 3 0x14200 bored systqmp 77653 60922 0 0 3 0x14200 bored systq 37986 348449 0 0 2 0x40014200 softclock 31150 498960 0 0 3 0x40014200 idle0 1 491581 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 48700 (syz-executor.0) thread 0xffff800020ac6eb8 (507546) exclusive rrwlock inode r = 0 (0xfffffd80645b1e70) #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 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1358 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:449 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3058 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b442a28) #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 domkdirat+0x75 sys/kern/vfs_syscalls.c:3043 #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 8095 (dhclient) thread 0xffff800020a6c758 (103502) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82637fe0) #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 9487 6531K 6531K 78643K 10589 0 pcb 13 8K 8K 78643K 32 0 rtable 105 3K 3K 78643K 201 0 ifaddr 49 11K 11K 78643K 52 0 counters 45 34K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1471 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1232 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 48 0 proc 59 63K 95K 78643K 438 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 33 2K 2K 78643K 37 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 211 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 99 21K 21K 78643K 1049 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 7 0K 0K 78643K 11 0 temp 74 3036K 3100K 78643K 2093 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 31 0 21 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 63 0 63 1 0 1 1 0 8 1 tcpcb 544 24 0 20 1 0 1 1 0 8 0 inpcb 280 84 0 77 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 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 20 0 0 1 0 1 1 0 8 0 pfstkey 112 20 0 0 1 0 1 1 0 8 0 pfstate 328 20 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1448 0 36 46 0 46 46 0 8 0 ffsino 272 1448 0 36 95 0 95 95 0 8 0 nchpl 144 1686 0 69 60 0 60 60 0 8 0 uvmvnodes 72 1500 0 0 28 0 28 28 0 8 0 vnodes 208 1500 0 0 79 0 79 79 0 8 0 namei 1024 4286 0 4285 1 0 1 1 0 8 0 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 192 5136 0 5136 8 1 7 7 0 8 7 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 263 0 231 4 0 4 4 0 8 0 futexpl 56 251 0 251 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 5 0 2 1 0 1 1 0 8 0 pipelkpl 48 77 0 67 1 0 1 1 0 8 0 pipepl 120 154 0 135 1 0 1 1 0 8 0 fdescpl 496 248 0 231 3 0 3 3 0 8 0 filepl 152 1218 0 1114 5 0 5 5 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 45 0 36 1 0 1 1 0 8 0 zombiepl 144 231 0 231 1 0 1 1 0 8 1 processpl 984 263 0 231 5 0 5 5 0 8 1 procpl 624 300 0 257 4 0 4 4 0 8 0 sockpl 400 134 0 115 3 0 3 3 0 8 1 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 153 0 0 19 0 19 19 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 167 0 0 10 0 10 10 0 8 0 bufpl 280 4079 0 174 279 0 279 279 0 8 0 anonpl 16 35663 0 23335 51 1 50 50 0 124 0 amapchunkpl 152 1066 0 930 8 0 8 8 0 158 1 amappl16 192 857 0 198 33 0 33 33 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 14 0 11 2 1 1 1 0 8 0 amappl13 168 25 0 24 1 0 1 1 0 8 0 amappl12 160 6 0 5 2 1 1 1 0 8 0 amappl11 152 76 0 58 1 0 1 1 0 8 0 amappl10 144 23 0 16 1 0 1 1 0 8 0 amappl9 136 389 0 386 1 0 1 1 0 8 0 amappl8 128 297 0 284 1 0 1 1 0 8 0 amappl7 120 126 0 114 1 0 1 1 0 8 0 amappl6 112 29 0 24 1 0 1 1 0 8 0 amappl5 104 139 0 124 1 0 1 1 0 8 0 amappl4 96 508 0 476 1 0 1 1 0 8 0 amappl3 88 116 0 107 1 0 1 1 0 8 0 amappl2 80 1052 0 975 3 0 3 3 0 8 1 amappl1 72 15356 0 14903 25 8 17 20 0 8 7 amappl 80 555 0 510 1 0 1 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 248 0 231 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 248 0 231 1 0 1 1 0 8 0 vmmpekpl 168 5871 0 5842 2 0 2 2 0 8 0 vmmpepl 168 36814 0 34933 106 5 101 101 0 357 19 vmsppl 368 247 0 231 2 0 2 2 0 8 0 pdppl 4096 504 0 462 6 0 6 6 0 8 0 pvpl 32 131210 0 115691 132 0 132 132 0 265 6 pmappl 232 247 0 231 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 162 0 3 5 0 5 5 0 8 0