Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://security.freebsd.org/advisories/FreeBSD-SA-25:04.ktrace.asc
- https://security.netapp.com/advisory/ntap-20250207-0006/
FAQ
What is CVE-2025-0662?
CVE-2025-0662 is a vulnerability with a CVSS score of 4.9 (MEDIUM). 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,...
How severe is CVE-2025-0662?
CVE-2025-0662 has been rated MEDIUM with a CVSS base score of 4.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-0662?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.