7

CVE-2026-58093

Kernel use-after-free via tty ioctls

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Freebsd ≫ Freebsd Version 14.4 Update p1
Freebsd ≫ Freebsd Version 14.4 Update p2
Freebsd ≫ Freebsd Version 14.4 Update p3
Freebsd ≫ Freebsd Version 14.4 Update p4
Freebsd ≫ Freebsd Version 14.4 Update p5
Freebsd ≫ Freebsd Version 14.4 Update p6
Freebsd ≫ Freebsd Version 14.4 Update p7
Freebsd ≫ Freebsd Version 14.4 Update p8
Freebsd ≫ Freebsd Version 15.0 Update p1
Freebsd ≫ Freebsd Version 15.0 Update p10
Freebsd ≫ Freebsd Version 15.0 Update p11
Freebsd ≫ Freebsd Version 15.0 Update p12
Freebsd ≫ Freebsd Version 15.0 Update p2
Freebsd ≫ Freebsd Version 15.0 Update p3
Freebsd ≫ Freebsd Version 15.0 Update p4
Freebsd ≫ Freebsd Version 15.0 Update p5
Freebsd ≫ Freebsd Version 15.0 Update p6
Freebsd ≫ Freebsd Version 15.0 Update p7
Freebsd ≫ Freebsd Version 15.0 Update p8
Freebsd ≫ Freebsd Version 15.0 Update p9
Freebsd ≫ Freebsd Version 15.1 Update p1
Freebsd ≫ Freebsd Version 15.1 Update p2
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.09% 0.005
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
CISA-ADP 7 1 5.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://security.freebsd.org/advisories/FreeBSD-SA-26:62.tty.asc
Vendor Advisory