Skip to main content
← All vulnerabilities
CVE-2025-0662

Uninitialized kernel memory disclosure via ktrace(2)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In some cases, the ktrace facility will log the contents of kernel structures to userspace. In one such case, ktrace dumps a variable-sized sockaddr to userspace. There, the full sockaddr is copied, even when it is shorter than the full size. This can result in up to 14 uninitialized bytes of kernel memory being copied out to userspace. It is possible for an unprivileged userspace program to leak 14 bytes of a kernel heap allocation to userspace.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 14.2-RELEASE · fixed in p1

References 1

security.freebsd.org