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.
References
| Link | Resource |
|---|---|
| https://security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-04-22 03:16
Updated : 2026-06-17 10:58
NVD link : CVE-2026-5398
Mitre link : CVE-2026-5398
CVE.ORG link : CVE-2026-5398
JSON object : View
Products Affected
freebsd
- freebsd
CWE
CWE-416
Use After Free
