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.
Published: 2026-10-18
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free from a TTY race condition
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel, the race condition occurs when a TTY device is re‑registered using a reused minor number while another process is closing the device and saving its termios state. If the re‑registration takes place before the old state is cleared, a use‑after‑free can happen. This memory corruption can potentially lead to local code execution or privilege escalation on systems that rely on the affected TTY drivers.

Affected Systems

All Linux kernel implementations that employ TTY drivers lacking the TTY_DRIVER_RESET_SAVED_TERMIOS flag and that allow a minor number to be reused for a different device are at risk. The vulnerability applies across all distributions running kernel versions without the applied fix and does not depend on a specific configuration or kernel feature set.

Risk and Exploitability

Despite the EPSS score being very low (<1%) and the vulnerability not appearing in CISA's KEV catalog, the CVSS score of 4.7 indicates a moderate severity for this use‑after‑free flaw. A local attacker with sufficient privileges could trigger the race condition during TTY device registration and closing, leading to memory corruption and potentially local privilege escalation. The attack vector is local and requires the attacker to be able to open or otherwise interact with a TTY device on the affected system. Until the fix is applied, the risk remains of exploiting the race condition to gain unauthorized access.

Generated by OpenCVE AI on October 22, 2026 at 20:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the operating system kernel to a revision that includes the commit fixing the race condition.
  • Ensure that kernel updates are applied promptly to all production nodes so that newer TTY drivers reject re‑registrations of minor numbers that are still in use.
  • As a temporary mitigation, verify that no custom TTY drivers in your environment omit the TTY_DRIVER_RESET_SAVED_TERMIOS flag and consider recompiling them with the flag if possible.

Generated by OpenCVE AI on October 22, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Fri, 30 Oct 2026 12:45:00 +0000


Wed, 21 Oct 2026 13:15:00 +0000


Wed, 21 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title tty: fix saved termios reset race
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:39:20.512Z

Reserved: 2026-09-25T10:25:14.368Z

Link: CVE-2026-98750

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:28.767

Modified: 2026-10-30T13:21:23.787

Link: CVE-2026-98750

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T15:47:35Z

Links: CVE-2026-98750 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:45:05Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free