Skip to main content
← All vulnerabilities
CVE-2026-58093

Kernel use-after-free via tty ioctls

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p3, p13, p9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.1-RELEASE · fixed in p3; From 15.0-RELEASE · fixed in p13; From 14.4-RELEASE · fixed in p9

References 1

security.freebsd.org