Description
The implementation of TIOCNOTTY failed to clear a back-pointer from the structure representing the controlling terminal to the calling process' session. If the invoking process then exits, the terminal structure may end up containing a pointer to freed memory.
A malicious process can abuse the dangling pointer to grant itself root privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-RELEASE – < p6, 14.4-RELEASE – < p2, 14.3-RELEASE – < p11, 13.5-RELEASE – < p12 | p6 |
Advisories 1
- WID-SEC-2026-1218 FreeBSD Project FreeBSD OS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
References
- https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc vendor-advisory