{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-89740",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.761Z",
        "datePublished": "2026-09-11T19:46:47.250Z",
        "dateUpdated": "2026-10-21T12:48:33.586Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-21T12:48:33.586Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: imx: serialize imx_uart_ports[] lifetime\n\nimx_uart_probe() publishes its devm-allocated port in imx_uart_ports[]\nbefore uart_add_one_port() because console setup uses the table. The entry\nis not cleared when adding the port fails or after removal, leaving a\ndangling pointer.\n\nA sibling probe can register the shared console through that stale entry.\nThis was reproduced under KASAN on QEMU mcimx6ul-evk by unbinding a\nsibling UART, unbinding the console UART and rebinding the sibling.\n\nKeep the entry valid through uart_remove_one_port(), then clear it. Protect\nport addition and removal together with their table updates so sibling\noperations cannot interleave. Reject an occupied slot rather than\nclobbering an active port during a duplicate-line probe."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/tty/serial/imx.c"
                    ],
                    "versions": [
                        {
                            "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
                            "lessThan": "abc17fd508a511669997e48f8b014d8aa043abdf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
                            "lessThan": "681696ae9e4a28bdf54893c807dfe4a6c08e30a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
                            "lessThan": "28b932202fcdbeb2ef58d89ce4363f480433c234",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
                            "lessThan": "7429dce56a73bc080a8c072edb167106f73a08ae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
                            "lessThan": "8b0b29fdcb47907ae0296b8fe829e918e05e300f",
                            "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/tty/serial/imx.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.27",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.27",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.109",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.50",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.4",
                            "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": "2.6.27",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.12.109"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.18.50"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "7.2.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/abc17fd508a511669997e48f8b014d8aa043abdf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/681696ae9e4a28bdf54893c807dfe4a6c08e30a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/28b932202fcdbeb2ef58d89ce4363f480433c234"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7429dce56a73bc080a8c072edb167106f73a08ae"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8b0b29fdcb47907ae0296b8fe829e918e05e300f"
                }
            ],
            "title": "serial: imx: serialize imx_uart_ports[] lifetime",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}