CVE-2026-58093
7.0high
Kernel use-after-free via tty ioctls
- Severity
- 7.0high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.08% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- freebsd
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
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 15.1-RELEASE before p3, from 15.0-RELEASE before p13, from 14.4-RELEASE before p9, 14.4, 15.0, 15.1 | CVE List, NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58093 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-58093 changed 2026-09-24 | Public domain |