login: panic: receive 3: so 0xfffffd805e560190, so_type 3, m 0xfffffd805eb63c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *159999 14667 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ac6e6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e560190,0,ffff80001d372248,0,0,ffff80001d372154) at soreceive+0x16e7 soo_read(fffffd805eb10690,ffff80001d372248,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d372248,0,ffff80001d372330) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d3722e0,ffff80001d372330) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3723b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3d30, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic receive 3: so 0xfffffd805e560190, so_type 3, m 0xfffffd805eb63c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ac6e6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e560190,0,ffff80001d372248,0,0,ffff80001d372154) at soreceive+0x16e7 soo_read(fffffd805eb10690,ffff80001d372248,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d372248,0,ffff80001d372330) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d3722e0,ffff80001d372330) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3723b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3d30, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371f90 rbx 0xffff80001d372040 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371f50 r9 0x1 r10 0 r11 0x42f5e49ed2b3c6a3 r12 0x3000000008 r13 0xffff80001d371fa0 r14 0x100 r15 0x1 rip 0xffffffff81704528 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371f80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=159999 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a868,0xffff80001d339768 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09880 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24094 195193 99873 0 2 0 syz-executor.1 24094 478488 99873 0 2 0x4000000 syz-executor.1 53956 344335 33966 0 2 0 syz-executor.0 53956 54656 33966 0 3 0x4000080 fsleep syz-executor.0 33966 241578 17533 0 2 0x482 syz-executor.0 99873 445495 17533 0 3 0x82 nanosleep syz-executor.1 17533 344535 13880 0 3 0x82 thrsleep syz-fuzzer 17533 197752 13880 0 3 0x4000082 thrsleep syz-fuzzer 17533 93686 13880 0 3 0x4000082 thrsleep syz-fuzzer 17533 324966 13880 0 3 0x4000082 thrsleep syz-fuzzer 17533 393471 13880 0 3 0x4000082 thrsleep syz-fuzzer 17533 122001 13880 0 3 0x4000082 kqread syz-fuzzer 17533 237090 13880 0 3 0x4000082 thrsleep syz-fuzzer 13880 465662 55432 0 3 0x10008a pause ksh 55432 306918 76229 0 3 0x92 select sshd 85200 432316 1 0 3 0x100083 ttyin getty 76229 162566 1 0 3 0x80 select sshd 52753 12915 92381 73 3 0x100090 kqread syslogd 92381 500411 1 0 3 0x100082 netio syslogd 48118 333355 1 77 2 0x100010 dhclient *14667 159999 1 0 7 0 dhclient 63345 138707 0 0 2 0x14200 zerothread 31488 286306 0 0 3 0x14200 aiodoned aiodoned 20473 245319 0 0 3 0x14200 syncer update 42611 115266 0 0 3 0x14200 cleaner cleaner 56714 452732 0 0 3 0x14200 reaper reaper 24986 375893 0 0 3 0x14200 pgdaemon pagedaemon 31030 405064 0 0 3 0x14200 bored crynlk 75179 45230 0 0 3 0x14200 bored crypto 76622 484028 0 0 3 0x40014200 acpi0 acpi0 50943 477910 0 0 3 0x14200 bored softnet 3261 476548 0 0 3 0x14200 bored systqmp 26991 43416 0 0 3 0x14200 bored systq 12863 228826 0 0 3 0x40014200 bored softclock 44139 220959 0 0 3 0x40014200 idle0 4154 354784 0 0 3 0x14200 bored smr 1 87569 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9464 6456K 6456K 78643K 10561 0 pcb 13 8K 8K 78643K 13 0 rtable 105 3K 3K 78643K 192 0 ifaddr 44 10K 10K 78643K 46 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1227 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 40 0 proc 47 38K 63K 78643K 358 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 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 181 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 96 21K 21K 78643K 914 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 10 0K 0K 78643K 10 0 temp 65 3015K 3079K 78643K 1943 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb> 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 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 23 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 121 0 121 1 0 1 1 0 8 1 tcpcb 544 10 0 6 1 0 1 1 0 8 0 inpcb 280 34 0 27 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 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 1427 0 26 46 0 46 46 0 8 0 ffsino 240 1427 0 26 83 0 83 83 0 8 0 nchpl 144 1666 0 53 60 0 60 60 0 8 0 uvmvnodes 72 1474 0 0 27 0 27 27 0 8 0 vnodes 208 1474 0 0 78 0 78 78 0 8 0 namei 1024 3965 0 3965 1 0 1 1 0 8 1 scxspl 192 4716 0 4716 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 211 0 197 2 0 2 2 0 8 0 futexpl 56 169 0 168 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 16 71 0 61 1 0 1 1 0 8 0 pipepl 120 142 0 123 1 0 1 1 0 8 0 fdescpl 432 212 0 197 2 0 2 2 0 8 0 filepl 120 1040 0 943 4 0 4 4 0 8 1 lockfpl 104 12 0 11 1 0 1 1 0 8 0 lockfspl 48 6 0 5 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 46 0 39 1 0 1 1 0 8 0 zombiepl 144 197 0 197 1 0 1 1 0 8 1 processpl 896 226 0 197 4 0 4 4 0 8 0 procpl 624 240 0 203 3 0 3 3 0 8 0 sockpl 400 84 0 67 3 0 3 3 0 8 1 mcl4k 4096 11 0 11 1 0 1 1 0 8 1 mcl2k 2048 63142 0 63097 16 2 14 14 0 8 6 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 99818 0 99738 10 1 9 9 0 8 1 bufpl 280 3972 0 161 273 0 273 273 0 8 0 anonpl 16 37252 0 21220 68 2 66 66 0 107 0 amapchunkpl 152 986 0 843 9 0 9 9 0 158 0 amappl16 192 1015 0 139 44 0 44 44 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 3 0 2 2 1 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 9 0 9 1 1 0 1 0 8 0 amappl11 152 63 0 49 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 369 0 365 1 0 1 1 0 8 0 amappl8 128 269 0 254 1 0 1 1 0 8 0 amappl7 120 106 0 96 1 0 1 1 0 8 0 amappl6 112 29 0 21 1 0 1 1 0 8 0 amappl5 104 162 0 153 1 0 1 1 0 8 0 amappl4 96 438 0 408 1 0 1 1 0 8 0 amappl3 88 110 0 103 1 0 1 1 0 8 0 amappl2 80 892 0 821 3 0 3 3 0 8 1 amappl1 72 13621 0 13193 26 9 17 20 0 8 8 amappl 80 469 0 425 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 212 0 197 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 212 0 197 1 0 1 1 0 8 0 vmmpekpl 168 5646 0 5621 2 0 2 2 0 8 0 vmmpepl 168 33255 0 31229 126 5 121 121 0 357 32 vmsppl 272 211 0 197 2 0 2 2 0 8 1 pdppl 4096 430 0 394 6 0 6 6 0 8 1 pvpl 32 123875 0 104850 157 0 157 157 0 265 2 pmappl 200 211 0 197 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 144 0 5 4 0 4 4 0 8 0