diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-08-24 18:14:18 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-08-25 15:46:24 +0000 |
| commit | b207f754c7709212381eda8c91dbf080081ac5a1 (patch) | |
| tree | 17be18b46d31b26693c7037e3797be6eba29b3ca /packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
| parent | fad7f654492582b82dbfd78e1a77c4941b1f7643 (diff) | |
tty: Revalidate after dropping the tty lock in ioctl handlers
The TIOCSCTTY ioctl handler drops the tty lock in order to acquire the
proctree relock. After relocking the tty, it did not revalidate the
tty state, and it could end up linking a doomed tty to the calling
process' session. This race can be exploited to escalate privileges.
TIOCSPGRP has a similar race, fix that too.
Approved by: so
Security: FreeBSD-SA-26:62.tty
Security: CVE-2026-58093
Reported by: tsune of GMO Cybersecurity by Ierae, Inc. working with TrendAI Zero Day Initiative
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59126
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
