Description

In the Linux kernel, the following vulnerability has been resolved: tty: fix saved termios reset race Resetting saved termios state on device registration is needed where a minor number can be reused for an entirely different device and where the old settings may prevent the port from even being opened (e.g. when CLOCAL is not set). Not all TTY drivers guarantee that the minor number is no longer in use when registering devices however, something which can lead to a use-after-free when closing a TTY (and saving its termios) races with re-registration. Add a new TTY_DRIVER_RESET_SAVED_TERMIOS flag to request that any saved termios state is reset on registration and only set it for drivers that make sure that the minor number is no longer in use.

Affected products

VendorProductVersions
LinuxLinux93857edd9829e144acb6c7e72d593f6e01aead66 to <1572d86bcf0bcb848d20fc5e5de7ed6963034c2b [affected]; 93857edd9829e144acb6c7e72d593f6e01aead66 to <08bf919f041af9de372428bb0c938157ea144164 [affected]; 93857edd9829e144acb6c7e72d593f6e01aead66 to <dcaf0251f847a45861e94c6617024a9455687d2f [affected]; 93857edd9829e144acb6c7e72d593f6e01aead66 to <8df07fe93573e9e548d6645273e9bcb6eb74059e [affected]
LinuxLinux4.12 [affected]; 0 to <4.12 [unaffected]; 6.12.113 to <=6.12.* [unaffected]; 6.18.56 to <=6.18.* [unaffected]; 7.2.10 to <=7.2.* [unaffected]; 7.3-rc6 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 19 Oct 2026 07:04 UTC.