CVE-2025-0662CWE-122

Uninitialized kernel memory disclosure via ktrace(2)

Medium · published January 30, 2025

CVSS v3.1
4.9
EPSS
0%
Percentile
28.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00361 · 28.7th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2025-01-30T04:49Z
EPSS history
Timeline
  • 30 JAN 04:49Z
    Uninitialized kernel memory disclosure via ktrace(2)
    cvelistv5