panic: receive 1a: so 0xfffffd806f6da190, so_type 3, m 0xfffffd806f328900, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 189589 66756 0 0 0 0 syz-executor.0 *200868 7639 0 0 0 1K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821bf091) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6da190,0,ffff800020abd568,0,0,ffff800020abd474) at soreceive+0x174a sys/kern/uipc_socket.c:977 soo_read(fffffd80775fb1c8,ffff800020abd568,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7cea8,6,ffff800020abd568,0,ffff800020abd650) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff800020a7cea8,ffff800020abd600,ffff800020abd650) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800020abd6d0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abd6d0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4490, 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 0xfffffd806f6da190, so_type 3, m 0xfffffd806f328900, m_type 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821bf091) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6da190,0,ffff800020abd568,0,0,ffff800020abd474) at soreceive+0x174a sys/kern/uipc_socket.c:977 soo_read(fffffd80775fb1c8,ffff800020abd568,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7cea8,6,ffff800020abd568,0,ffff800020abd650) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff800020a7cea8,ffff800020abd600,ffff800020abd650) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800020abd6d0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abd6d0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4490, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020abd2b0 rbx 0xffff800020abd360 rdx 0xffff800020a7cea8 rcx 0 rax 0 r8 0xffffffff81126e7f kprintf+0x16f r9 0x1 r10 0x25 r11 0xf09a0b01afcabca8 r12 0x3000000008 r13 0xffff800020abd2c0 r14 0x100 r15 0x1 rip 0xffffffff81250e28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020abd2a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=200868 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a7c008,0xffff800020a7d398 process=0xffff800020a903d0 user=0xffff800020ab8000, vmspace=0xfffffd807efff2e0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 43460 323155 4565 0 2 0 syz-executor.1 43460 295355 4565 0 3 0x4000080 fsleep syz-executor.1 66756 189589 30443 0 7 0 syz-executor.0 66756 118807 30443 0 3 0x4000080 fsleep syz-executor.0 30443 175258 87421 0 3 0x82 nanosleep syz-executor.0 75318 261182 0 0 3 0x14200 bored sosplice 4565 160869 87421 0 3 0x82 nanosleep syz-executor.1 87421 181255 91661 0 3 0x82 thrsleep syz-fuzzer 87421 71121 91661 0 3 0x4000082 nanosleep syz-fuzzer 87421 281010 91661 0 3 0x4000082 thrsleep syz-fuzzer 87421 391914 91661 0 3 0x4000082 kqread syz-fuzzer 87421 204836 91661 0 3 0x4000082 thrsleep syz-fuzzer 87421 74742 91661 0 3 0x4000082 thrsleep syz-fuzzer 87421 269054 91661 0 3 0x4000082 thrsleep syz-fuzzer 87421 513996 91661 0 3 0x4000082 thrsleep syz-fuzzer 87421 49845 91661 0 3 0x4000082 thrsleep syz-fuzzer 87421 210871 91661 0 3 0x4000082 thrsleep syz-fuzzer 91661 97083 55259 0 3 0x10008a pause ksh 55259 66001 32854 0 3 0x92 select sshd 94932 251763 1 0 3 0x100083 ttyin getty 32854 322325 1 0 3 0x80 select sshd 6477 491165 4980 74 3 0x100092 bpf pflogd 4980 348250 1 0 3 0x80 netio pflogd 27591 453253 27552 73 3 0x100090 kqread syslogd 27552 311142 1 0 3 0x100082 netio syslogd 26390 297144 1 77 3 0x100090 poll dhclient * 7639 200868 1 0 7 0 dhclient 74202 214829 0 0 2 0x14200 zerothread 15350 338214 0 0 3 0x14200 aiodoned aiodoned 38903 74939 0 0 3 0x14200 syncer update 26018 173161 0 0 3 0x14200 cleaner cleaner 30421 113836 0 0 3 0x14200 reaper reaper 15424 164016 0 0 3 0x14200 pgdaemon pagedaemon 16547 408019 0 0 3 0x14200 bored crynlk 76120 162423 0 0 3 0x14200 bored crypto 91182 294747 0 0 3 0x40014200 acpi0 acpi0 16185 24681 0 0 3 0x40014200 idle1 19486 152290 0 0 3 0x14200 bored softnet 29938 142897 0 0 3 0x14200 bored systqmp 68301 396053 0 0 3 0x14200 bored systq 57203 349761 0 0 3 0x40014200 bored softclock 17886 180192 0 0 3 0x40014200 idle0 97219 38641 0 0 3 0x14200 bored smr 1 488346 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 7639 (dhclient) thread 0xffff800020a7cea8 (200868) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82662518) #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:236 #5 sys_read+0x83 sys/kern/sys_generic.c:156 #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 9491 6402K 6980K 78643K 10849 0 pcb 13 8K 8K 78643K 33 0 rtable 105 3K 3K 78643K 283 0 ifaddr 51 11K 12K 78643K 82 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1480 0 iov 0 0K 16K 78643K 29 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1338 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 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 153 0 proc 60 63K 95K 78643K 479 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 22 0 in_multi 43 2K 2K 78643K 59 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 103 466K 466K 78643K 103 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 117 38K 47K 78643K 1486 0 UVM aobj 27 2K 2K 78643K 29 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1 0 NDP 7 0K 0K 78643K 18 0 temp 92 3012K 3076K 78643K 7380 0 kqueue 3 4K 8K 78643K 9 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 10 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 64 0 20 2 0 2 2 0 8 0 unpcb 120 122 0 109 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 152 0 152 1 1 0 1 0 8 0 tcpcb 544 59 0 54 1 0 1 1 0 8 0 inpcb 280 197 0 189 2 0 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 pffrag 232 4 0 4 1 0 1 1 0 482 1 pffrnode 88 4 0 4 1 0 1 1 0 8 1 pffrent 40 180 0 180 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 25 0 2 1 0 1 1 0 8 0 pfstkey 112 25 0 2 1 0 1 1 0 8 0 pfstate 328 25 0 2 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 287 0 75 14 0 14 14 0 8 0 art_table 32 288 0 75 2 0 2 2 0 8 0 art_node 16 63 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 10 1 0 1 1 0 8 0 semupl 112 4 0 4 2 1 1 1 0 8 1 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 27 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1610 0 201 46 0 46 46 0 8 0 ffsino 272 1610 0 201 95 0 95 95 0 8 0 nchpl 144 2009 0 401 61 0 61 61 0 8 0 uvmvnodes 72 1726 0 0 32 0 32 32 0 8 0 vnodes 208 1726 0 0 91 0 91 91 0 8 0 namei 1024 5976 0 5976 1 0 1 1 0 8 1 percpumem 16 36 0 4 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 scxspl 192 5979 0 5979 8 6 2 7 0 8 2 plimitpl 152 26 0 18 1 0 1 1 0 8 0 sigapl 432 349 0 333 3 1 2 3 0 8 0 futexpl 56 2936 0 2934 1 0 1 1 0 8 0 knotepl 112 73 0 54 1 0 1 1 0 8 0 kqueuepl 104 48 0 46 1 0 1 1 0 8 0 pipelkpl 48 120 0 110 1 0 1 1 0 8 0 pipepl 120 240 0 221 2 1 1 2 0 8 0 fdescpl 496 350 0 333 3 0 3 3 0 8 0 filepl 152 2457 0 2354 7 0 7 7 0 8 3 lockfpl 104 67 0 66 1 0 1 1 0 8 0 lockfspl 48 27 0 26 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 335 0 326 1 0 1 1 0 8 0 zombiepl 144 333 0 333 1 0 1 1 0 8 1 processpl 960 366 0 333 5 0 5 5 0 8 0 procpl 624 653 0 609 4 0 4 4 0 8 0 sosppl 128 6 0 6 1 0 1 1 0 8 1 sockpl 400 354 0 331 4 0 4 4 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 166 0 0 20 0 20 20 0 8 0 mtagpl 80 18 0 0 1 0 1 1 0 8 0 mbufpl 256 298 0 0 18 0 18 18 0 8 0 bufpl 280 4407 0 191 302 0 302 302 0 8 0 anonpl 16 51883 0 35510 67 1 66 66 0 125 0 amapchunkpl 152 2050 0 1915 12 1 11 11 0 158 5 amappl16 192 1462 0 570 45 0 45 45 0 8 0 amappl15 184 62 0 57 1 0 1 1 0 8 0 amappl14 176 65 0 60 1 0 1 1 0 8 0 amappl13 168 47 0 45 1 0 1 1 0 8 0 amappl12 160 8 0 7 1 0 1 1 0 8 0 amappl11 152 57 0 41 1 0 1 1 0 8 0 amappl10 144 13 0 9 1 0 1 1 0 8 0 amappl9 136 664 0 660 1 0 1 1 0 8 0 amappl8 128 177 0 152 1 0 1 1 0 8 0 amappl7 120 109 0 96 1 0 1 1 0 8 0 amappl6 112 56 0 49 1 0 1 1 0 8 0 amappl5 104 143 0 127 1 0 1 1 0 8 0 amappl4 96 653 0 619 2 1 1 2 0 8 0 amappl3 88 116 0 109 1 0 1 1 0 8 0 amappl2 80 1831 0 1744 3 1 2 3 0 8 0 amappl1 72 18162 0 17691 26 16 10 21 0 8 0 amappl 80 925 0 880 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 28 0 2 1 0 1 1 0 8 0 uaddrrnd 24 351 0 333 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 351 0 333 1 0 1 1 0 8 0 vmmpekpl 168 6894 0 6857 2 0 2 2 0 8 0 vmmpepl 168 51288 0 49102 130 8 122 122 0 357 26 vmsppl 368 350 0 333 2 0 2 2 0 8 0 pdppl 4096 709 0 667 6 0 6 6 0 8 0 pvpl 32 167924 0 148304 161 1 160 160 0 265 1 pmappl 232 350 0 333 3 1 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 177 0 3 5 0 5 5 0 8 0