Skip to content
Heist/ feed
Back to feed
UnratedFix available

tty: tty_port: restore TTY_IO_ERROR on activation failure

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: tty: tty_port: restore TTY_IO_ERROR on activation failure Make sure to restore the TTY_IO_ERROR flag if activation fails to prevent I/O attempts on a port that is gone or powered down. This specifically avoids issues like kernel panic due to unclocked accesses or NULL-pointer dereferences when accessing powered down or deregistered ports when a TTY ioctl races with hangup and open. Note that the flag is set again in tty_port_close() but not restoring it on activation failure leaves a window where drivers fail to handle the ioctl-hangup race.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.273, 5.15.224, 6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
CVEs
CVE-2026-98753
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:44 UTC · Revision 1

Source evidence

tty: tty_port: restore TTY_IO_ERROR on activation failure

core-osv · Original source

Published 18 Oct 2026, 15:47 UTC

In the Linux kernel, the following vulnerability has been resolved: tty: tty_port: restore TTY_IO_ERROR on activation failure Make sure to restore the TTY_IO_ERROR flag if activation fails to prevent I/O attempts on a port that is gone or powered down. This specifically avoids issues like kernel panic due to unclocked accesses or NULL-pointer dereferences when accessing powered down or deregistered ports when a TTY ioctl races with hangup and open. Note that the flag is set again in tty_port_close() but not restoring it on activation failure leaves a window where drivers fail to handle the ioctl-hangup race.

osv:CVE-2026-98753

Kernel

Fixed versions: 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10

Complete source record
{
  "id": "d676bf475ee003695e7c74dffa48fafd798a4e4b194e9bbfcb6f6fc77865a8c7",
  "url": "https://osv.dev/vulnerability/CVE-2026-98753",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "tty: tty_port: restore TTY_IO_ERROR on activation failure",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: tty: tty_port: restore TTY_IO_ERROR on activation failure Make sure to restore the TTY_IO_ERROR flag if activation fails to prevent I/O attempts on a port that is gone or powered down. This specifically avoids issues like kernel panic due to unclocked accesses or NULL-pointer dereferences when accessing powered down or deregistered ports when a TTY ioctl races with hangup and open. Note that the flag is set again in tty_port_close() but not restoring it on activation failure leaves a window where drivers fail to handle the ioctl-hangup race.",
    "evidence": "osv:CVE-2026-98753",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.273",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.224",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98753",
      "aliases": [
        "CVE-2026-98753"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4"
                },
                {
                  "fixed": "761e8c5eb13d1b5e196b0b39bdfed6fc67af9dd2"
                },
                {
                  "fixed": "5469dc4153a60289c5bae00215947c6ce09fcc0e"
                },
                {
                  "fixed": "e24625bff786fa3f22cc38b5038362b910621e83"
                },
                {
                  "fixed": "16032c980d8f71642fcdc99309c571df3fcf3328"
                },
                {
                  "fixed": "34d4f67472ef7a744970b772a8565ddc727788e2"
                },
                {
                  "fixed": "7021acc84c2e0add77a1a33152e3a1e428fdbfdb"
                },
                {
                  "fixed": "6388409b711eb91b14fa075a4d861ccc4df1cfe7"
                },
                {
                  "fixed": "56964f6a31238fb41d5830bb42520c5b10ff7d8f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98753.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.33"
                },
                {
                  "fixed": "5.10.273"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.224"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98753.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:16.412436858Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/16032c980d8f71642fcdc99309c571df3fcf3328",
        "https://git.kernel.org/stable/c/34d4f67472ef7a744970b772a8565ddc727788e2",
        "https://git.kernel.org/stable/c/5469dc4153a60289c5bae00215947c6ce09fcc0e",
        "https://git.kernel.org/stable/c/56964f6a31238fb41d5830bb42520c5b10ff7d8f",
        "https://git.kernel.org/stable/c/6388409b711eb91b14fa075a4d861ccc4df1cfe7",
        "https://git.kernel.org/stable/c/7021acc84c2e0add77a1a33152e3a1e428fdbfdb",
        "https://git.kernel.org/stable/c/761e8c5eb13d1b5e196b0b39bdfed6fc67af9dd2",
        "https://git.kernel.org/stable/c/e24625bff786fa3f22cc38b5038362b910621e83",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98753.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98753",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98753.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98753",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 514391,
  "published_at": "2026-10-18T15:47:37.7+00:00"
}