After reacquiring the tty lock, the handler did not revalidate the state of the terminal, and could proceed to link a terminal that was concurrently being destroyed to the calling process' session.
- CVSS
- 7.0High
- Chance of exploitation (EPSS)
- —
- Published
- Aug 26, 2026
- In the news
- 1 story
What to do
A serious memory corruption flaw in Freebsd that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: p3, p9, p13
Affected versions
- Freebsd
- 14.4-RELEASE to before p9; 15.0-RELEASE to before p13; 15.1-RELEASE to before p3
Description
The TIOCSCTTY ioctl handler drops the tty lock in order to acquire the process tree lock. After reacquiring the tty lock, the handler did not revalidate the state of the terminal, and could proceed to link a terminal that was concurrently being destroyed to the calling process' session.
An unprivileged local user can exploit this race condition to escalate privileges.
Affected products
Get alerts for these →Timeline 2
Latest change: ZDI-26-838: FreeBSD Kernel TTY Race Condition Local Privilege Escalation Vulnerability (Oct 29, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Oct 29, 2026
- ResearchZDI-26-838: FreeBSD Kernel TTY Race Condition Local Privilege Escalation VulnerabilityZero Day Initiative · 05:00 UTC
Wed, Aug 26, 2026
- CVECVE-2026-58093 published (CVSS 7.0)CVE Program · 06:16 UTC
References 1
- security.freebsd.org Vendor Advisory /advisories/FreeBSD-SA-26:62.tty.asc