CVE-2026-58093

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.

Scoring

Severity
HIGH
CVSS base score
7
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS probability
0.09%
CWE
CWE-362, CWE-416
Published
2026-08-26
Last modified
2026-08-27

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs