FreeBSD: kernel use-after-free via tty ioctls – CVE-2026-58093 https://www.cve.o...

@grahamperrin@bsd.cafe

FreeBSD: kernel use-after-free via tty ioctls – CVE-2026-58093

cve.org/CVERecord?id=CVE-2026-

"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."

Credit: tsune of GMO Cybersecurity by Ierae, Inc. working with TrendAI Zero Day Initiative @thezdi

<ctftime.org/team/224122>

<gmo-cybersecurity.com/>

<nvd.nist.gov/vuln/detail/CVE-2>

<reviews.freebsd.org/D59126>, <github.com/freebsd/freebsd-src>

#FreeBSD #AI #cybersecurity #security #ZDI