CVE-2026-98750

tty: fix saved termios reset race

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before 15ddaf908a8eee14e1872ff9c4cdb73562634e7eAffected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before bcb9b5df70d439f3c9d5a2d7f359dd7ab117bee0Affected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before 33048616c4e22930e8769b8d14ee8a0dc5a80cebAffected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before 6b4e15cccfbe03b7c6ae60ff570c401bfb1e51d6Affected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before 1572d86bcf0bcb848d20fc5e5de7ed6963034c2bAffected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before 08bf919f041af9de372428bb0c938157ea144164Affected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before dcaf0251f847a45861e94c6617024a9455687d2fAffected
  • 93857edd9829e144acb6c7e72d593f6e01aead66 to before 8df07fe93573e9e548d6645273e9bcb6eb74059eAffected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.