GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-89740 (GCVE-0-2026-89740)

Vulnerability from cvelistv5 – Published: 2026-09-11 19:46 – Updated: 2026-09-11 19:46
VLAI
Title
serial: imx: serialize imx_uart_ports[] lifetime
Summary
In the Linux kernel, the following vulnerability has been resolved: serial: imx: serialize imx_uart_ports[] lifetime imx_uart_probe() publishes its devm-allocated port in imx_uart_ports[] before uart_add_one_port() because console setup uses the table. The entry is not cleared when adding the port fails or after removal, leaving a dangling pointer. A sibling probe can register the shared console through that stale entry. This was reproduced under KASAN on QEMU mcimx6ul-evk by unbinding a sibling UART, unbinding the console UART and rebinding the sibling. Keep the entry valid through uart_remove_one_port(), then clear it. Protect port addition and removal together with their table updates so sibling operations cannot interleave. Reject an occupied slot rather than clobbering an active port during a duplicate-line probe.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: dbff4e9ea2e83fda89143389bfb229cb29425a32 , < 681696ae9e4a28bdf54893c807dfe4a6c08e30a5 (git)
Affected: dbff4e9ea2e83fda89143389bfb229cb29425a32 , < 28b932202fcdbeb2ef58d89ce4363f480433c234 (git)
Affected: dbff4e9ea2e83fda89143389bfb229cb29425a32 , < 7429dce56a73bc080a8c072edb167106f73a08ae (git)
Affected: dbff4e9ea2e83fda89143389bfb229cb29425a32 , < 8b0b29fdcb47907ae0296b8fe829e918e05e300f (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.27
Unaffected: 0 , < 2.6.27 (semver)
Unaffected: 6.12.109 , ≤ 6.12.* (semver)
Unaffected: 6.18.50 , ≤ 6.18.* (semver)
Unaffected: 7.2.4 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/imx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "681696ae9e4a28bdf54893c807dfe4a6c08e30a5",
              "status": "affected",
              "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
              "versionType": "git"
            },
            {
              "lessThan": "28b932202fcdbeb2ef58d89ce4363f480433c234",
              "status": "affected",
              "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
              "versionType": "git"
            },
            {
              "lessThan": "7429dce56a73bc080a8c072edb167106f73a08ae",
              "status": "affected",
              "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
              "versionType": "git"
            },
            {
              "lessThan": "8b0b29fdcb47907ae0296b8fe829e918e05e300f",
              "status": "affected",
              "version": "dbff4e9ea2e83fda89143389bfb229cb29425a32",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/imx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.27"
            },
            {
              "lessThan": "2.6.27",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-11T19:46:47.250Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89740",
    "datePublished": "2026-09-11T19:46:47.250Z",
    "dateReserved": "2026-09-11T19:38:34.761Z",
    "dateUpdated": "2026-09-11T19:46:47.250Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89740",
      "date": "2026-09-17",
      "epss": "0.002",
      "percentile": "0.10087"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-14T14:51:30.000Z",
      "cve": "CVE-2026-89740",
      "id": "msrc_CVE-2026-89740",
      "initial_release_date": "2026-09-13T01:05:13.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "serial: imx: serialize imx_uart_ports[] lifetime",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89740.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-89740\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-11T20:20:04.597\",\"lastModified\":\"2026-09-11T20:20:04.597\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/tty/serial/imx.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"dbff4e9ea2e83fda89143389bfb229cb29425a32\",\"lessThan\":\"681696ae9e4a28bdf54893c807dfe4a6c08e30a5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"dbff4e9ea2e83fda89143389bfb229cb29425a32\",\"lessThan\":\"28b932202fcdbeb2ef58d89ce4363f480433c234\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"dbff4e9ea2e83fda89143389bfb229cb29425a32\",\"lessThan\":\"7429dce56a73bc080a8c072edb167106f73a08ae\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"dbff4e9ea2e83fda89143389bfb229cb29425a32\",\"lessThan\":\"8b0b29fdcb47907ae0296b8fe829e918e05e300f\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/tty/serial/imx.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.27\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.27\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.109\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.50\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.4\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/28b932202fcdbeb2ef58d89ce4363f480433c234\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/681696ae9e4a28bdf54893c807dfe4a6c08e30a5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7429dce56a73bc080a8c072edb167106f73a08ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8b0b29fdcb47907ae0296b8fe829e918e05e300f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-15T11:02:44+00:00",
      "cve": "CVE-2026-89740",
      "id": "CVE-2026-89740",
      "initial_release_date": "2026-09-11T00:00:00+00:00",
      "product_status:known_affected": "185",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: serial: imx: serialize imx_uart_ports[] lifetime",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89740.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-13T16:56:34Z",
      "cve": "CVE-2026-89740",
      "id": "CVE-2026-89740",
      "initial_release_date": "2026-09-12T16:22:29Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-89740",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-89740.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…