As an inadvertent side effect of an unrelated code change, PRIV_KTRACE was always denied to a jailed root user. Tracing configured by a jailed root user was therefore not flagged as privileged. An unprivileged user in a jail that has permission to debug the target process can modify the jailed root user's ktrace(2) flags, or disable tracing outright. A jailed root user therefore cannot reliably trace unprivileged processes.
History

Wed, 19 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Description As an inadvertent side effect of an unrelated code change, PRIV_KTRACE was always denied to a jailed root user. Tracing configured by a jailed root user was therefore not flagged as privileged. An unprivileged user in a jail that has permission to debug the target process can modify the jailed root user's ktrace(2) flags, or disable tracing outright. A jailed root user therefore cannot reliably trace unprivileged processes.
Title ktrace(2) privilege incorrectly validated in jails
Weaknesses CWE-273
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-19T07:42:10.902Z

Reserved: 2026-06-29T01:40:17.498Z

Link: CVE-2026-58086

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T08:17:12.777

Modified: 2026-08-19T08:17:12.777

Link: CVE-2026-58086

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.