← CVE Intelligence

CVE-2026-5398

Kernel use-after-free bug in the TIOCNOTTY handler PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
FreeBSD / FreeBSDaffected 15.0-RELEASE before p6; affected 14.4-RELEASE before p2; affected 14.3-RELEASE before p11; affected 13.5-RELEASE before p12

CWE

CWE-416

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.