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.
Weaknesses
- CWE-273 — CWE-273: Improper Check for Dropped Privileges
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to <p2; 15.0-RELEASE to <p12 |
References
- https://security.freebsd.org/advisories/FreeBSD-SA-26:53.ktrace.asc (vendor-advisory)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.