CVE-2026-58084

Kernel stack disclosure via timer_settime(2)

Published Aug 19, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
To retrieve the previous timer value, the kernel calls realtimer_gettime(), which obtains the current time for the timer's clock. For a timer using CLOCK_TAI this can fail when no TAI offset has been configured, but the error return was not checked, so the uninitialized output buffer was copied to userspace.

An unprivileged local user can obtain uninitialized kernel stack memory by creating a POSIX timer with CLOCK_TAI and calling timer_settime(2), potentially disclosing sensitive kernel data.

Analysis

AI-generated

Technical impact

A flaw in the FreeBSD kernel allows an unprivileged local user to obtain uninitialized kernel stack memory. When an application creates a POSIX timer using CLOCK_TAI and calls timer_settime(2), the kernel converts the request with realtimer_gettime(). If no TAI offset is configured, the conversion can fail, but the code does not check the error status. Consequently, an uninitialized output buffer is copied to user space, exposing raw kernel stack contents.

Affected Systems

The vulnerability affects all releases of the FreeBSD operating system. No specific version ranges are listed, so any current or supported FreeBSD build that has not been updated with the vendor's fix is potentially impacted.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity. The EPSS score remains below 1% and the vulnerability is not listed in the CISA KEV catalog. The exploit requires a local, unprivileged user who creates a POSIX timer using CLOCK_TAI; no remote or network access is necessary. An attacker could read arbitrary kernel memory and potentially obtain information that might aid further privilege escalation (inferred), but no direct remote code execution path is present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the FreeBSD operating system to the latest stable release that applies the vendor‑provided patch addressing the uninitialized‑memory copy (CWE‑908).
  • If a system upgrade cannot be applied immediately, limit the creation of POSIX timers that use CLOCK_TAI to trusted processes or disable them entirely to close the attack surface.
  • Enable kernel audit logging for timer_settime(2) to detect anomalous usage and monitor for attempts to read kernel stack data.

Generated by OpenCVE AI on August 26, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p10:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p11:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p7:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p8:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p9:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:rc2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:rc3-p1:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd
Type Values Removed Values Added
Description To retrieve the previous timer value, the kernel calls realtimer_gettime(), which obtains the current time for the timer's clock. For a timer using CLOCK_TAI this can fail when no TAI offset has been configured, but the error return was not checked, so the uninitialized output buffer was copied to userspace. An unprivileged local user can obtain uninitialized kernel stack memory by creating a POSIX timer with CLOCK_TAI and calling timer_settime(2), potentially disclosing sensitive kernel data.
Title Kernel stack disclosure via timer_settime(2)
Weaknesses CWE-908
References
Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
freebsd
Published
Updated
Aug 26, 2026, 7:46 PM
Reserved
Jun 29, 2026, 1:40 AM
Status
Analyzed
Published
Aug 19, 2026, 8:17 AM
Modified
Oct 27, 2026, 12:10 PM