login: panic: receive 3: so 0xfffffd806f6f7320, so_type 3, m 0xfffffd806f198800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 510813 3309 0 0 0 1 syz-executor.1 * 24355 27429 0 0 0 0K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821cbf08) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f7320,0,ffff800020abda68,0,0,ffff800020abd974) at soreceive+0x1727 soo_read(fffffd80743f21c8,ffff800020abda68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7c008,6,ffff800020abda68,0,ffff800020abdb50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a7c008,ffff800020abdb00,ffff800020abdb50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020abdbd0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abdbd0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4560, 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 3: so 0xfffffd806f6f7320, so_type 3, m 0xfffffd806f198800, m_type 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821cbf08) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6f7320,0,ffff800020abda68,0,0,ffff800020abd974) at soreceive+0x1727 soo_read(fffffd80743f21c8,ffff800020abda68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7c008,6,ffff800020abda68,0,ffff800020abdb50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a7c008,ffff800020abdb00,ffff800020abdb50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020abdbd0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abdbd0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4560, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020abd7b0 rbx 0xffff800020abd860 rdx 0xffff800020a7c008 rcx 0 rax 0 r8 0xffffffff81712b6f kprintf+0x16f r9 0x1 r10 0x25 r11 0x297c0d3e4aef13e6 r12 0x3000000008 r13 0xffff800020abd7c0 r14 0x100 r15 0x1 rip 0xffffffff819ace08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020abd7a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhclient) pid=24355 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a7d388,0xffff800020a7c288 process=0xffff800020a90b50 user=0xffff800020ab8000, vmspace=0xfffffd807efff170 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3309 510813 70685 0 7 0 syz-executor.1 3309 50317 70685 0 3 0x4000080 fsleep syz-executor.1 17785 137189 56681 60928 2 0x10 syz-executor.0 17785 295622 56681 60928 2 0x4000010 syz-executor.0 70685 188820 93513 0 3 0x82 nanosleep syz-executor.1 56681 265068 93513 0 2 0x482 syz-executor.0 93513 288554 22314 0 3 0x82 thrsleep syz-fuzzer 93513 209128 22314 0 3 0x4000082 nanosleep syz-fuzzer 93513 175462 22314 0 3 0x4000082 kqread syz-fuzzer 93513 133394 22314 0 3 0x4000082 thrsleep syz-fuzzer 93513 153867 22314 0 3 0x4000082 thrsleep syz-fuzzer 93513 148423 22314 0 3 0x4000082 thrsleep syz-fuzzer 93513 20378 22314 0 3 0x4000082 thrsleep syz-fuzzer 93513 397417 22314 0 3 0x4000082 thrsleep syz-fuzzer 93513 313067 22314 0 3 0x4000082 thrsleep syz-fuzzer 93513 343264 22314 0 3 0x4000082 thrsleep syz-fuzzer 22314 309918 79121 0 3 0x10008a pause ksh 79121 341141 24363 0 3 0x92 select sshd 55979 523954 1 0 3 0x100083 ttyin getty 24363 326521 1 0 3 0x80 select sshd 39290 357625 41683 74 3 0x100092 bpf pflogd 41683 359601 1 0 3 0x80 netio pflogd 29297 378235 41067 73 3 0x100090 kqread syslogd 41067 63500 1 0 3 0x100082 netio syslogd 21371 419042 1 77 3 0x100090 poll dhclient *27429 24355 1 0 7 0 dhclient 42404 249875 0 0 2 0x14200 zerothread 40260 33868 0 0 3 0x14200 aiodoned aiodoned 23104 47349 0 0 3 0x14200 syncer update 15783 54657 0 0 3 0x14200 cleaner cleaner 72010 204406 0 0 3 0x14200 reaper reaper 71577 383576 0 0 3 0x14200 pgdaemon pagedaemon 17853 2397 0 0 3 0x14200 bored crynlk 72277 484665 0 0 3 0x14200 bored crypto 11085 331081 0 0 3 0x40014200 acpi0 acpi0 22151 268433 0 0 3 0x40014200 idle1 82135 142074 0 0 3 0x14200 bored softnet 21629 159847 0 0 3 0x14200 bored systqmp 78477 309937 0 0 3 0x14200 bored systq 55731 502200 0 0 3 0x40014200 bored softclock 32181 361411 0 0 3 0x40014200 idle0 87428 158281 0 0 3 0x14200 bored smr 1 101189 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 27429 (dhclient) thread 0xffff800020a7c008 (24355) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8267edf8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 solock+0x66 sys/kern/uipc_socket2.c:292 #2 soreceive+0xb3a sys/kern/uipc_socket.c:950 #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 9478 6401K 7305K 78643K 10650 0 pcb 14 8K 8K 78643K 18 0 rtable 105 3K 3K 78643K 201 0 ifaddr 49 11K 11K 78643K 54 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 2K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1243 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 46 0 proc 60 63K 95K 78643K 439 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 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 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 207 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 116 22K 23K 78643K 1059 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 2 0 NDP 11 0K 0K 78643K 11 0 temp 71 3012K 3075K 78643K 2097 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 22 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 189 0 189 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 inpcb 280 58 0 50 1 0 1 1 0 8 0 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 13 0 0 1 0 1 1 0 8 0 pfstkey 112 13 0 0 1 0 1 1 0 8 0 pfstate 328 13 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 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 1441 0 33 46 0 46 46 0 8 0 ffsino 272 1441 0 33 94 0 94 94 0 8 0 nchpl 144 1688 0 70 61 0 61 61 0 8 0 uvmvnodes 72 1505 0 0 28 0 28 28 0 8 0 vnodes 208 1505 0 0 80 0 80 80 0 8 0 namei 1024 4309 0 4309 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 4870 0 4870 2 1 1 2 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 432 245 0 229 3 0 3 3 0 8 1 futexpl 56 249 0 248 1 0 1 1 0 8 0 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 76 0 66 1 0 1 1 0 8 0 pipepl 120 152 0 133 1 0 1 1 0 8 0 fdescpl 496 246 0 229 3 0 3 3 0 8 0 filepl 152 1226 0 1123 5 0 5 5 0 8 1 lockfpl 104 9 0 8 1 0 1 1 0 8 0 lockfspl 48 5 0 4 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 46 0 36 1 0 1 1 0 8 0 zombiepl 144 229 0 229 1 0 1 1 0 8 1 processpl 960 261 0 229 5 0 5 5 0 8 0 procpl 624 299 0 256 4 0 4 4 0 8 0 sockpl 400 109 0 88 3 0 3 3 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 175 0 0 21 0 21 21 0 8 0 mtagpl 80 6 0 0 1 0 1 1 0 8 0 mbufpl 256 182 0 0 11 0 11 11 0 8 0 bufpl 280 4070 0 174 279 0 279 279 0 8 0 anonpl 16 39190 0 23602 64 1 63 63 0 124 0 amapchunkpl 152 1082 0 936 8 0 8 8 0 158 1 amappl16 192 1015 0 169 43 0 43 43 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 9 0 7 2 1 1 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 9 0 6 1 0 1 1 0 8 0 amappl11 152 78 0 60 1 0 1 1 0 8 0 amappl10 144 23 0 18 1 0 1 1 0 8 0 amappl9 136 400 0 394 1 0 1 1 0 8 0 amappl8 128 324 0 299 1 0 1 1 0 8 0 amappl7 120 120 0 109 1 0 1 1 0 8 0 amappl6 112 26 0 23 1 0 1 1 0 8 0 amappl5 104 151 0 134 1 0 1 1 0 8 0 amappl4 96 507 0 472 2 0 2 2 0 8 1 amappl3 88 110 0 103 1 0 1 1 0 8 0 amappl2 80 1059 0 979 3 0 3 3 0 8 1 amappl1 72 15581 0 15126 26 8 18 20 0 8 8 amappl 80 552 0 505 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 246 0 229 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 246 0 229 1 0 1 1 0 8 0 vmmpekpl 168 5902 0 5870 2 0 2 2 0 8 0 vmmpepl 168 37566 0 35467 126 5 121 121 0 357 29 vmsppl 368 245 0 229 2 0 2 2 0 8 0 pdppl 4096 499 0 458 6 0 6 6 0 8 0 pvpl 32 132978 0 114208 154 0 154 154 0 265 2 pmappl 232 245 0 229 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 166 0 3 5 0 5 5 0 8 0