8.1high
ktrace(2) privilege incorrectly validated in jails
- Severity
- 8.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.38% (higher than 24% of CVEs)
- Published
- Last changed
- Assigned by
- freebsd
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 15.1-RELEASE before p2, from 15.0-RELEASE before p12, 15.0, 15.1 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Como un efecto secundario inadvertido de un cambio de código no relacionado, PRIV_KTRACE siempre se le denegó a un usuario root enjaulado. El rastreo configurado por un usuario root enjaulado, por lo tanto, no se marcó como privilegiado. Un usuario sin privilegios en una jaula que tiene permiso para depurar el proceso objetivo puede modificar las banderas de ktrace(2) del usuario root enjaulado, o deshabilitar el rastreo por completo. Un usuario root enjaulado, por lo tanto, no puede rastrear de forma fiable procesos sin privilegios.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58086 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-58086 changed 2026-10-27 | Public domain |