CVE-2026-58093: Kernel use-after-free via tty ioctls
Published Aug 26, 2026
·Updated
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 Software
23 affected components
Linux Linux kernel
FreeBSD FreeBSD=14.4-p1
FreeBSD FreeBSD=14.4-p2
FreeBSD FreeBSD=14.4-p3
FreeBSD FreeBSD=14.4-p4
FreeBSD FreeBSD=14.4-p5
FreeBSD FreeBSD=14.4-p6
FreeBSD FreeBSD=14.4-p7
FreeBSD FreeBSD=14.4-p8
FreeBSD FreeBSD=15.0-p1
FreeBSD FreeBSD=15.0-p10
FreeBSD FreeBSD=15.0-p11
FreeBSD FreeBSD=15.0-p12
FreeBSD FreeBSD=15.0-p2
FreeBSD FreeBSD=15.0-p3
FreeBSD FreeBSD=15.0-p4
FreeBSD FreeBSD=15.0-p5
FreeBSD FreeBSD=15.0-p6
FreeBSD FreeBSD=15.0-p7
FreeBSD FreeBSD=15.0-p8
FreeBSD FreeBSD=15.0-p9
FreeBSD FreeBSD=15.1-p1
FreeBSD FreeBSD=15.1-p2
Event History
Aug 26, 2026
CVE Published
via MITRE·05:33 AM
Data Sourced
via MITRE·05:33 AM
DescriptionWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
Who can exploit this issue?
An unprivileged local user can exploit the race condition. The available information does not indicate that prior elevated privileges are required.
2
What is the potential impact of successful exploitation?
Successful exploitation can allow local privilege escalation by linking a terminal being concurrently destroyed to the attacking process' session.