CVE-2026-5398 — 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…
Published: 2026-04-22 · CVSS: 8.4 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7