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.
An unprivileged local user can exploit this race condition to escalate privileges.
Published:
2026-08-26
Score:
n/a
EPSS:
n/a
KEV:
No
Impact:
n/a
Action:
n/a
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Wed, 26 Aug 2026 06:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Freebsd
Freebsd freebsd |
|
| Vendors & Products |
Freebsd
Freebsd freebsd |
Wed, 26 Aug 2026 06:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
Wed, 26 Aug 2026 05:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Kernel use-after-free via tty ioctls | |
| Weaknesses | CWE-362 CWE-416 |
|
| References |
|
Status: PUBLISHED
Assigner: freebsd
Published:
Updated: 2026-08-26T05:40:30.824Z
Reserved: 2026-06-29T01:40:17.498Z
Link: CVE-2026-58093
No data.
No data.
No data.
OpenCVE Enrichment
Updated: 2026-08-26T07:00:15Z