tty: fix saved termios reset race

Summary

CVECVE-2026-98750
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:28 UTC
Updated2026-10-21 13:21:43 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001680000 probability, percentile 0.057180000 (date 2026-10-21)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 93857edd9829e144acb6c7e72d593f6e01aead66 6b4e15cccfbe03b7c6ae60ff570c401bfb1e51d6 git Not specified
CNA Linux Linux affected 93857edd9829e144acb6c7e72d593f6e01aead66 1572d86bcf0bcb848d20fc5e5de7ed6963034c2b git Not specified
CNA Linux Linux affected 93857edd9829e144acb6c7e72d593f6e01aead66 08bf919f041af9de372428bb0c938157ea144164 git Not specified
CNA Linux Linux affected 93857edd9829e144acb6c7e72d593f6e01aead66 dcaf0251f847a45861e94c6617024a9455687d2f git Not specified
CNA Linux Linux affected 93857edd9829e144acb6c7e72d593f6e01aead66 8df07fe93573e9e548d6645273e9bcb6eb74059e git Not specified
CNA Linux Linux affected 4.12 Not specified
CNA Linux Linux unaffected 4.12 semver Not specified
CNA Linux Linux unaffected 6.6.160 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.113 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.56 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.10 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/dcaf0251f847a45861e94c6617024a9455687d2f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6b4e15cccfbe03b7c6ae60ff570c401bfb1e51d6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8df07fe93573e9e548d6645273e9bcb6eb74059e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1572d86bcf0bcb848d20fc5e5de7ed6963034c2b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/08bf919f041af9de372428bb0c938157ea144164 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report