panic: receive 1: so 0xfffffd806f6ee190, so_type 3, sb_cc 5262 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 208885 10133 0 0 0x4000080 0 syz-executor.0 * 49258 53210 0 0 0 1 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e8276) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6ee190,0,ffff800020eada28,0,0,ffff800020ead934) at soreceive+0x16ec sys/kern/uipc_socket.c:823 soo_read(fffffd806fc8c4c0,ffff800020eada28,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020e6cea8,6,ffff800020eada28,0,ffff800020eadb10) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e6cea8,ffff800020eadac0,ffff800020eadb10) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020eadb90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eadb90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffecdb0, 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 0xfffffd806f6ee190, so_type 3, sb_cc 5262 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e8276) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6ee190,0,ffff800020eada28,0,0,ffff800020ead934) at soreceive+0x16ec sys/kern/uipc_socket.c:823 soo_read(fffffd806fc8c4c0,ffff800020eada28,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020e6cea8,6,ffff800020eada28,0,ffff800020eadb10) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e6cea8,ffff800020eadac0,ffff800020eadb10) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020eadb90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eadb90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffecdb0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020ead770 rbx 0xffff800020ead820 rdx 0xffff800020e6cea8 rcx 0 rax 0 r8 0xffffffff8205b1df kprintf+0x16f r9 0x1 r10 0x25 r11 0xfc9bf9e627e9fa19 r12 0x3000000008 r13 0xffff800020ead780 r14 0x100 r15 0x1 rip 0xffffffff8132e3b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020ead760 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=49258 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020e6c278,0xffff800020e6d128 process=0xffff800020e80010 user=0xffff800020ea8000, vmspace=0xfffffd807f000730 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 10133 385523 47564 0 2 0 syz-executor.0 10133 208885 47564 0 7 0x4000080 syz-executor.0 71394 61524 77548 0 2 0 syz-executor.1 71394 507289 77548 0 3 0x4000080 fsleep syz-executor.1 77548 268346 66669 0 3 0x82 nanosleep syz-executor.1 47564 444272 66669 0 3 0x82 nanosleep syz-executor.0 66669 213745 91169 0 3 0x82 thrsleep syz-fuzzer 66669 323921 91169 0 3 0x4000082 nanosleep syz-fuzzer 66669 476704 91169 0 3 0x4000082 thrsleep syz-fuzzer 66669 480663 91169 0 3 0x4000082 thrsleep syz-fuzzer 66669 362132 91169 0 3 0x4000082 thrsleep syz-fuzzer 66669 244138 91169 0 3 0x4000082 kqread syz-fuzzer 66669 222916 91169 0 3 0x4000082 thrsleep syz-fuzzer 66669 190736 91169 0 3 0x4000082 thrsleep syz-fuzzer 66669 47105 91169 0 3 0x4000082 thrsleep syz-fuzzer 66669 382945 91169 0 3 0x4000082 thrsleep syz-fuzzer 91169 118019 38817 0 3 0x10008a pause ksh 38817 472550 91201 0 3 0x92 select sshd 10217 301717 1 0 3 0x100083 ttyin getty 91201 5481 1 0 3 0x80 select sshd 24867 73607 99128 74 3 0x100092 bpf pflogd 99128 161019 1 0 3 0x80 netio pflogd 16355 90511 11015 73 3 0x100090 kqread syslogd 11015 325306 1 0 3 0x100082 netio syslogd 46122 357602 1 77 3 0x100090 poll dhclient *53210 49258 1 0 7 0 dhclient 52750 124391 0 0 3 0x14200 bored smr 23264 8630 0 0 2 0x14200 zerothread 24248 320237 0 0 3 0x14200 aiodoned aiodoned 17105 219033 0 0 3 0x14200 syncer update 24297 187074 0 0 3 0x14200 cleaner cleaner 55674 271495 0 0 3 0x14200 reaper reaper 99459 76667 0 0 3 0x14200 pgdaemon pagedaemon 8248 211027 0 0 3 0x14200 bored crynlk 41329 193286 0 0 3 0x14200 bored crypto 11563 489294 0 0 3 0x40014200 acpi0 acpi0 89235 355795 0 0 3 0x40014200 idle1 87130 22970 0 0 3 0x14200 bored softnet 8594 468693 0 0 3 0x14200 bored systqmp 6691 330339 0 0 3 0x14200 bored systq 80453 232057 0 0 3 0x40014200 bored softclock 82268 398331 0 0 3 0x40014200 idle0 1 280266 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 53210 (dhclient) thread 0xffff800020e6cea8 (49258) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff826822e8) #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 9510 6484K 6934K 78643K 10866 0 pcb 13 8K 8K 78643K 71 0 rtable 102 3K 4K 78643K 235 0 ifaddr 66 13K 13K 78643K 86 0 counters 45 34K 34K 78643K 49 0 ioctlops 0 0K 4K 78643K 1479 0 iov 0 0K 28K 78643K 37 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1298 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 48 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 194 0 sigio 0 0K 0K 78643K 1 0 proc 61 63K 95K 78643K 458 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 19 0 in_multi 36 2K 2K 78643K 86 0 ether_multi 1 0K 0K 78643K 14 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 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 224 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 23K 78643K 1553 0 UVM aobj 14 2K 2K 78643K 14 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 12 0K 0K 78643K 18 0 temp 96 3038K 3104K 78643K 7057 0 kqueue 5 8K 14K 78643K 20 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 50 0 9 2 0 2 2 0 8 0 unpcb 120 89 0 79 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 59 0 59 1 1 0 1 0 8 0 tcpcb 544 91 0 87 1 0 1 1 0 8 0 inpcb 280 626 0 613 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1128 2 0 1 2 1 1 1 0 8 0 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 135 0 135 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 30 0 2 1 0 1 1 0 8 0 pfstkey 112 30 0 2 1 0 1 1 0 8 0 pfstate 328 30 0 2 3 0 3 3 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 12 0 12 12 0 8 0 art_table 32 214 0 40 2 0 2 2 0 8 0 art_node 16 49 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 38 0 28 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1659 0 251 46 0 46 46 0 8 0 ffsino 272 1659 0 251 95 0 95 95 0 8 0 nchpl 144 2125 0 502 61 0 61 61 0 8 0 uvmvnodes 72 1764 0 0 33 0 33 33 0 8 0 vnodes 208 1764 0 0 93 0 93 93 0 8 0 namei 1024 5581 0 5581 1 0 1 1 0 8 1 percpumem 16 35 0 2 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 1 0 1 0 8 0 scxspl 192 7299 0 7299 8 2 6 7 0 8 6 plimitpl 152 25 0 17 1 0 1 1 0 8 0 sigapl 424 409 0 377 4 0 4 4 0 8 0 futexpl 56 3284 0 3283 1 0 1 1 0 8 0 knotepl 112 73 0 52 1 0 1 1 0 8 0 kqueuepl 144 36 0 32 1 0 1 1 0 8 0 pipelkpl 48 104 0 92 1 0 1 1 0 8 0 pipepl 120 208 0 185 1 0 1 1 0 8 0 fdescpl 496 394 0 377 3 0 3 3 0 8 0 filepl 152 2388 0 2275 5 0 5 5 0 8 0 lockfpl 104 62 0 61 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 162 0 152 1 0 1 1 0 8 0 zombiepl 144 377 0 377 1 0 1 1 0 8 1 processpl 984 409 0 377 5 0 5 5 0 8 1 procpl 624 797 0 754 4 0 4 4 0 8 0 sockpl 400 761 0 736 4 0 4 4 0 8 1 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 157 0 0 19 0 19 19 0 8 0 mtagpl 80 10 0 0 1 0 1 1 0 8 0 mbufpl 256 391 0 0 24 0 24 24 0 8 0 bufpl 280 4882 0 174 337 0 337 337 0 8 0 anonpl 16 52579 0 38102 76 1 75 75 0 124 15 amapchunkpl 152 2178 0 2043 11 2 9 11 0 158 2 amappl16 192 1910 0 1125 52 5 47 52 0 8 7 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 167 0 162 2 1 1 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 4 0 3 1 0 1 1 0 8 0 amappl11 152 71 0 52 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 397 0 393 1 0 1 1 0 8 0 amappl8 128 299 0 284 1 0 1 1 0 8 0 amappl7 120 121 0 109 1 0 1 1 0 8 0 amappl6 112 30 0 24 2 1 1 1 0 8 0 amappl5 104 291 0 274 1 0 1 1 0 8 0 amappl4 96 500 0 471 2 1 1 2 0 8 0 amappl3 88 190 0 182 1 0 1 1 0 8 0 amappl2 80 2242 0 2165 3 1 2 3 0 8 0 amappl1 72 18617 0 18158 25 15 10 20 0 8 0 amappl 80 1052 0 1007 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 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 396 0 379 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 396 0 379 1 0 1 1 0 8 0 vmmpekpl 168 6787 0 6754 2 0 2 2 0 8 0 vmmpepl 168 54618 0 52601 108 9 99 103 0 357 11 vmsppl 368 395 0 379 2 0 2 2 0 8 0 pdppl 4096 800 0 758 6 0 6 6 0 8 0 pvpl 32 172484 0 154794 180 0 180 180 0 265 35 pmappl 232 395 0 379 2 1 1 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