{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-98750",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.368Z",
        "datePublished": "2026-10-18T15:47:35.167Z",
        "dateUpdated": "2026-10-21T12:56:25.608Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-21T12:56:25.608Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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 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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/greybus/uart.c",
                        "drivers/tty/tty_io.c",
                        "drivers/usb/class/cdc-acm.c",
                        "drivers/usb/serial/usb-serial.c",
                        "include/linux/tty_driver.h"
                    ],
                    "versions": [
                        {
                            "version": "93857edd9829e144acb6c7e72d593f6e01aead66",
                            "lessThan": "6b4e15cccfbe03b7c6ae60ff570c401bfb1e51d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "93857edd9829e144acb6c7e72d593f6e01aead66",
                            "lessThan": "1572d86bcf0bcb848d20fc5e5de7ed6963034c2b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "93857edd9829e144acb6c7e72d593f6e01aead66",
                            "lessThan": "08bf919f041af9de372428bb0c938157ea144164",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "93857edd9829e144acb6c7e72d593f6e01aead66",
                            "lessThan": "dcaf0251f847a45861e94c6617024a9455687d2f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "93857edd9829e144acb6c7e72d593f6e01aead66",
                            "lessThan": "8df07fe93573e9e548d6645273e9bcb6eb74059e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/greybus/uart.c",
                        "drivers/tty/tty_io.c",
                        "drivers/usb/class/cdc-acm.c",
                        "drivers/usb/serial/usb-serial.c",
                        "include/linux/tty_driver.h"
                    ],
                    "versions": [
                        {
                            "version": "4.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.113",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.56",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.10",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.12.113"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.18.56"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.2.10"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/6b4e15cccfbe03b7c6ae60ff570c401bfb1e51d6"
                },
                {
                    "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"
                }
            ],
            "title": "tty: fix saved termios reset race",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}