FreeBSD
Kernel use-after-free bug in the TIOCNOTTY handler
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CISA ADP · CWE-416
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
FreeBSD FreeBSD
- >= 15.0-RELEASE, < p6
- >= 14.4-RELEASE, < p2
- >= 14.3-RELEASE, < p11
- >= 13.5-RELEASE, < p12
Fixed in p6, p2, p11, p12
Mitigation
Upgrade FreeBSD to p6 or p2 or p11 or p12 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:10.tty.asc
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.