Skip to content
OpenAdvisories
High · 7.0 CVE-2026-58093 EUVD-2026-66250

Kernel use-after-free via tty ioctls

Published Aug 26, 2026 · Updated Aug 27, 2026 · 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 products

VendorProductAffectedFixed
FreeBSD FreeBSD 15.1-RELEASE – < p3, 15.0-RELEASE – < p13, 14.4-RELEASE – < p9 p3

Advisories 1

References