Skip to content

CVE-2025-0662 Uninitialized kernel memory disclosure via ktrace(2)

MediumCVSS 4.9 EPSS 0.69%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd >= 14.2-RELEASE, < p1 p1 Fixed

Affected products

ProductAffected versionsFixed in
freebsd >= 14.2-RELEASE, < p1 p1

References