VYPR
Unrated severityNVD Advisory· Published Jun 10, 2014· Updated May 6, 2026

CVE-2014-3873

CVE-2014-3873

Description

The ktrace utility in FreeBSD kernel uses an incorrect page fault trace entry size, allowing local users to read kernel memory.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

The ktrace utility in FreeBSD kernel uses an incorrect page fault trace entry size, allowing local users to read kernel memory.

Vulnerability

The ktrace utility in the FreeBSD kernel uses an incorrect size for page fault kernel trace entries due to an overlooked merge to -STABLE branches [1]. This affects FreeBSD 8.4 before p11, 9.1 before p14, 9.2 before p7, and 9.3-BETA1 before p1 [1]. The kernel must be built with the KTRACE option (enabled by default) for the vulnerability to be present [1].

Exploitation

Exploitation requires local access and the ability to enable kernel process tracing via the ktrace utility [1]. An attacker enables tracing on a process; when a page fault occurs, the kernel writes a trace entry with an incorrect size, causing portions of kernel memory to be included in the trace output [1]. The attacker then reads the trace file to obtain sensitive kernel memory contents [1].

Impact

A local user who can enable kernel process tracing can read the contents of kernel memory [1]. This memory may contain sensitive information such as portions of the file cache or terminal buffers, which could be directly useful or leveraged to obtain elevated privileges [1].

Mitigation

Update to the fixed versions: FreeBSD 8.4-RELEASE-p11, 9.1-RELEASE-p14, 9.2-RELEASE-p7, or 9.3-BETA1-p1 [1]. No workaround is available; the vulnerability is corrected by applying the appropriate patch [1].

AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

5
  • FreeBSD/FreeBSD5 versions
    cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:*+ 4 more
    • cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:*
    • cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*
    • cpe:2.3:o:freebsd:freebsd:9.2:-:*:*:*:*:*:*
    • cpe:2.3:o:freebsd:freebsd:9.3:beta1:*:*:*:*:*:*
    • (no CPE)range: 8.4 before p11, 9.1 before p14, 9.2 before p7, 9.3-BETA1 before p1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.