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.
Metrics
CVSS 3.1 8.4/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | >= 15.0-RELEASE, < p6; >= 14.4-RELEASE, < p2; >= 14.3-RELEASE, < p11; >= 13.5-RELEASE, < p12 |
References
Timeline
- Published
- Apr 22, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Analyzed