{"id":"CVE-2026-98750","title":"tty: fix saved termios reset race","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: fix saved termios reset race\n\nResetting saved termios state on device registration is needed where a\nminor number can be reused for an entirely different device an…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < 1572d86bcf0bcb848d20fc5e5de7ed6963034c2b","Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < 08bf919f041af9de372428bb0c938157ea144164","Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < dcaf0251f847a45861e94c6617024a9455687d2f","Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < 8df07fe93573e9e548d6645273e9bcb6eb74059e","Linux 4.12"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:47:35.167Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98750","references":[{"url":"https://git.kernel.org/stable/c/1572d86bcf0bcb848d20fc5e5de7ed6963034c2b"},{"url":"https://git.kernel.org/stable/c/08bf919f041af9de372428bb0c938157ea144164"},{"url":"https://git.kernel.org/stable/c/dcaf0251f847a45861e94c6617024a9455687d2f"},{"url":"https://git.kernel.org/stable/c/8df07fe93573e9e548d6645273e9bcb6eb74059e"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.500Z","slug":"CVE-2026-98750","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ntty: fix saved termios reset race\n\nResetting saved termios state on device registration is needed where a\nminor number can be reused for an entirely different device and where\nthe old settings may prevent the port from even being opened (e.g. when\nCLOCAL is not set).\n\nNot all TTY drivers guarantee that the minor number is no longer in use\nwhen registering devices however, something which can lead to a\nuse-after-free when closing a TTY (and saving its termios) races with\nre-registration.\n\nAdd a new TTY_DRIVER_RESET_SAVED_TERMIOS flag to request that any saved\ntermios state is reset on registration and only set it for drivers that\nmake sure that the minor number is no longer in use.\n\n## Affected\n\n- `Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < 1572d86bcf0bcb848d20fc5e5de7ed6963034c2b`\n- `Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < 08bf919f041af9de372428bb0c938157ea144164`\n- `Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < dcaf0251f847a45861e94c6617024a9455687d2f`\n- `Linux >= 93857edd9829e144acb6c7e72d593f6e01aead66 < 8df07fe93573e9e548d6645273e9bcb6eb74059e`\n- `Linux 4.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}