CVE-2025-0662
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.
How to fix
- FreeBSD FreeBSDp1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| FreeBSD FreeBSD | 14.2-RELEASE ≤ v < p1 | p1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.