login: panic: receive 3: so 0xfffffd805e55e320, so_type 3, m 0xfffffd8056a47200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *468137 97032 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad93b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55e320,0,ffff80001d372188,0,0,ffff80001d372094) at soreceive+0x16e7 soo_read(fffffd8065da1708,ffff80001d372188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372188,0,ffff80001d372270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372220,ffff80001d372270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3722f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda910, 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 0xfffffd805e55e320, so_type 3, m 0xfffffd8056a47200, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad93b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55e320,0,ffff80001d372188,0,0,ffff80001d372094) at soreceive+0x16e7 soo_read(fffffd8065da1708,ffff80001d372188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372188,0,ffff80001d372270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372220,ffff80001d372270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3722f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda910, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371ed0 rbx 0xffff80001d371f80 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371e90 r9 0x1 r10 0 r11 0xc863fedbca7b0f13 r12 0x3000000008 r13 0xffff80001d371ee0 r14 0x100 r15 0x1 rip 0xffffffff81bf3908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371ec0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=468137 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d3399d8 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc09000 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56073 448915 11896 0 2 0 syz-executor.0 56073 119073 11896 0 2 0x4000000 syz-executor.0 37498 110828 67619 0 2 0 syz-executor.1 37498 481516 67619 0 3 0x4000080 select syz-executor.1 67619 297823 25610 0 3 0x82 nanosleep syz-executor.1 11896 327655 25610 0 3 0x82 nanosleep syz-executor.0 25610 411181 69221 0 3 0x82 thrsleep syz-fuzzer 25610 211395 69221 0 3 0x4000082 thrsleep syz-fuzzer 25610 437462 69221 0 3 0x4000082 thrsleep syz-fuzzer 25610 517723 69221 0 3 0x4000082 thrsleep syz-fuzzer 25610 258160 69221 0 3 0x4000082 thrsleep syz-fuzzer 25610 261650 69221 0 3 0x4000082 thrsleep syz-fuzzer 25610 78904 69221 0 3 0x4000082 thrsleep syz-fuzzer 25610 109732 69221 0 3 0x4000082 kqread syz-fuzzer 69221 377189 47324 0 3 0x10008a pause ksh 47324 265339 86135 0 3 0x92 select sshd 68400 209313 1 0 3 0x100083 ttyin getty 86135 21265 1 0 3 0x80 select sshd 53619 223755 2574 73 3 0x100090 kqread syslogd 2574 386836 1 0 3 0x100082 netio syslogd 33202 115293 1 77 2 0x100010 dhclient *97032 468137 1 0 7 0 dhclient 51217 304038 0 0 3 0x14200 bored smr 13477 49197 0 0 2 0x14200 zerothread 74453 298801 0 0 3 0x14200 aiodoned aiodoned 63720 231661 0 0 3 0x14200 syncer update 50723 21066 0 0 3 0x14200 cleaner cleaner 17739 387387 0 0 3 0x14200 reaper reaper 20215 54348 0 0 3 0x14200 pgdaemon pagedaemon 14538 60007 0 0 3 0x14200 bored crynlk 43528 153486 0 0 3 0x14200 bored crypto 13824 89819 0 0 3 0x40014200 acpi0 acpi0 88544 376601 0 0 3 0x14200 bored softnet 79163 150466 0 0 3 0x14200 bored systqmp 11825 450462 0 0 3 0x14200 bored systq 85601 384711 0 0 3 0x40014200 bored softclock 62407 420268 0 0 3 0x40014200 idle0 1 133355 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 9458 6327K 6840K 78643K 10607 0 pcb 13 8K 8K 78643K 13 0 rtable 107 3K 3K 78643K 193 0 ifaddr 46 11K 11K 78643K 48 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1234 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 4 0K 0K 78643K 4 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 47 0 sigio 0 0K 0K 78643K 2 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 ip_moptions 0 0K 0K 78643K 5 0 in_multi 40 2K 2K 78643K 42 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 37 175K 175K 78643K 37 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 107 22K 22K 78643K 956 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 6 0K 0K 78643K 10 0 temp 69 3012K 3076K 78643K 1844 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 46 0 1 2 0 2 2 0 8 0 unpcb 120 55 0 47 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 70 0 70 1 0 1 1 0 8 1 tcpcb 544 24 0 20 1 0 1 1 0 8 0 inpcb 280 58 0 51 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 194 0 0 13 0 13 13 0 8 0 art_table 32 196 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1437 0 37 46 0 46 46 0 8 0 ffsino 240 1437 0 37 83 0 83 83 0 8 0 nchpl 144 1682 0 82 60 0 60 60 0 8 0 uvmvnodes 72 1490 0 0 28 0 28 28 0 8 0 vnodes 208 1490 0 0 79 0 79 79 0 8 0 namei 1024 4037 0 4037 1 0 1 1 0 8 1 scxspl 192 4763 0 4763 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 233 0 204 4 0 4 4 0 8 0 futexpl 56 432 0 432 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 4 0 2 1 0 1 1 0 8 0 pipelkpl 16 75 0 65 1 0 1 1 0 8 0 pipepl 120 150 0 131 1 0 1 1 0 8 0 fdescpl 432 219 0 204 2 0 2 2 0 8 0 filepl 120 1132 0 1036 4 0 4 4 0 8 1 lockfpl 104 10 0 9 1 0 1 1 0 8 0 lockfspl 48 5 0 4 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 52 0 45 1 0 1 1 0 8 0 zombiepl 144 204 0 204 1 0 1 1 0 8 1 processpl 896 233 0 204 4 0 4 4 0 8 0 procpl 624 259 0 221 4 0 4 4 0 8 1 sockpl 400 132 0 115 3 0 3 3 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 2 1 1 1 0 8 1 mcl2k 2048 63804 0 63756 17 3 14 14 0 8 7 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 100914 0 100832 12 2 10 10 0 8 0 bufpl 280 3973 0 156 273 0 273 273 0 8 0 anonpl 16 37850 0 22513 63 1 62 62 0 107 0 amapchunkpl 152 1063 0 926 8 0 8 8 0 158 2 amappl16 192 981 0 144 42 0 42 42 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 11 0 9 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 10 0 9 1 0 1 1 0 8 0 amappl11 152 63 0 51 1 0 1 1 0 8 0 amappl10 144 15 0 9 1 0 1 1 0 8 0 amappl9 136 391 0 384 1 0 1 1 0 8 0 amappl8 128 295 0 266 1 0 1 1 0 8 0 amappl7 120 107 0 96 1 0 1 1 0 8 0 amappl6 112 20 0 18 1 0 1 1 0 8 0 amappl5 104 150 0 139 1 0 1 1 0 8 0 amappl4 96 433 0 404 1 0 1 1 0 8 0 amappl3 88 104 0 99 1 0 1 1 0 8 0 amappl2 80 949 0 873 3 0 3 3 0 8 1 amappl1 72 13699 0 13284 26 9 17 20 0 8 8 amappl 80 500 0 457 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 219 0 204 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 219 0 204 1 0 1 1 0 8 0 vmmpekpl 168 5685 0 5662 2 0 2 2 0 8 0 vmmpepl 168 34049 0 32055 114 5 109 109 0 357 22 vmsppl 272 218 0 204 2 0 2 2 0 8 1 pdppl 4096 444 0 408 6 0 6 6 0 8 1 pvpl 32 124525 0 106181 148 0 148 148 0 265 0 pmappl 200 218 0 204 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 152 0 8 5 0 5 5 0 8 0