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

CVE-2026-89751 (GCVE-0-2026-89751)

Vulnerability from cvelistv5 – Published: 2026-09-11 19:46 – Updated: 2026-09-14 12:02
VLAI
Title
x86/tdx: Fix off-by-one in port I/O handling
Summary
In the Linux kernel, the following vulnerability has been resolved: x86/tdx: Fix off-by-one in port I/O handling handle_in() and handle_out() in arch/x86/coco/tdx/tdx.c use: u64 mask = GENMASK(BITS_PER_BYTE * size, 0); GENMASK(h, l) includes bit h. For size=1 (INB), this produces GENMASK(8, 0) = 0x1FF (9 bits) instead of GENMASK(7, 0) = 0xFF (8 bits). The mask is one bit too wide for all I/O sizes. Fix the mask calculation.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 03149948832a078f759022ed5b92e722d8d23c26 , < c6875423ad849ac234ab9812eb72f37ff8a490b4 (git)
Affected: 03149948832a078f759022ed5b92e722d8d23c26 , < 220011fe95fc78b2bc2d7d43893bc73957a5c811 (git)
Affected: 03149948832a078f759022ed5b92e722d8d23c26 , < 222b7005e4519f633b4cd666226256abbab46a1a (git)
Affected: 03149948832a078f759022ed5b92e722d8d23c26 , < c4a22154870813d10aa0b4c734a574c726f9d4b0 (git)
Affected: 03149948832a078f759022ed5b92e722d8d23c26 , < bb45f705c4440dd3c689328319b88dd28770bbb8 (git)
Affected: 03149948832a078f759022ed5b92e722d8d23c26 , < 0f63e656b1c679d32ac595de29d10c03efca6a25 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.19
Unaffected: 0 , < 5.19 (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (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": [
            "arch/x86/coco/tdx/tdx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c6875423ad849ac234ab9812eb72f37ff8a490b4",
              "status": "affected",
              "version": "03149948832a078f759022ed5b92e722d8d23c26",
              "versionType": "git"
            },
            {
              "lessThan": "220011fe95fc78b2bc2d7d43893bc73957a5c811",
              "status": "affected",
              "version": "03149948832a078f759022ed5b92e722d8d23c26",
              "versionType": "git"
            },
            {
              "lessThan": "222b7005e4519f633b4cd666226256abbab46a1a",
              "status": "affected",
              "version": "03149948832a078f759022ed5b92e722d8d23c26",
              "versionType": "git"
            },
            {
              "lessThan": "c4a22154870813d10aa0b4c734a574c726f9d4b0",
              "status": "affected",
              "version": "03149948832a078f759022ed5b92e722d8d23c26",
              "versionType": "git"
            },
            {
              "lessThan": "bb45f705c4440dd3c689328319b88dd28770bbb8",
              "status": "affected",
              "version": "03149948832a078f759022ed5b92e722d8d23c26",
              "versionType": "git"
            },
            {
              "lessThan": "0f63e656b1c679d32ac595de29d10c03efca6a25",
              "status": "affected",
              "version": "03149948832a078f759022ed5b92e722d8d23c26",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/coco/tdx/tdx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "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.1.188",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/tdx: Fix off-by-one in port I/O handling\n\nhandle_in() and handle_out() in arch/x86/coco/tdx/tdx.c use:\n\n    u64 mask = GENMASK(BITS_PER_BYTE * size, 0);\n\nGENMASK(h, l) includes bit h. For size=1 (INB), this produces\nGENMASK(8, 0) = 0x1FF (9 bits) instead of GENMASK(7, 0) = 0xFF (8\nbits). The mask is one bit too wide for all I/O sizes.\n\nFix the mask calculation."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-14T12:02:31.014Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c6875423ad849ac234ab9812eb72f37ff8a490b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/220011fe95fc78b2bc2d7d43893bc73957a5c811"
        },
        {
          "url": "https://git.kernel.org/stable/c/222b7005e4519f633b4cd666226256abbab46a1a"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4a22154870813d10aa0b4c734a574c726f9d4b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb45f705c4440dd3c689328319b88dd28770bbb8"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f63e656b1c679d32ac595de29d10c03efca6a25"
        }
      ],
      "title": "x86/tdx: Fix off-by-one in port I/O handling",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89751",
    "datePublished": "2026-09-11T19:46:55.314Z",
    "dateReserved": "2026-09-11T19:38:34.762Z",
    "dateUpdated": "2026-09-14T12:02:31.014Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89751",
      "date": "2026-09-16",
      "epss": "0.00172",
      "percentile": "0.06935"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-89751\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-11T20:20:06.013\",\"lastModified\":\"2026-09-14T13:19:23.783\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nx86/tdx: Fix off-by-one in port I/O handling\\n\\nhandle_in() and handle_out() in arch/x86/coco/tdx/tdx.c use:\\n\\n    u64 mask = GENMASK(BITS_PER_BYTE * size, 0);\\n\\nGENMASK(h, l) includes bit h. For size=1 (INB), this produces\\nGENMASK(8, 0) = 0x1FF (9 bits) instead of GENMASK(7, 0) = 0xFF (8\\nbits). The mask is one bit too wide for all I/O sizes.\\n\\nFix the mask calculation.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/x86/coco/tdx/tdx.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"03149948832a078f759022ed5b92e722d8d23c26\",\"lessThan\":\"c6875423ad849ac234ab9812eb72f37ff8a490b4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"03149948832a078f759022ed5b92e722d8d23c26\",\"lessThan\":\"220011fe95fc78b2bc2d7d43893bc73957a5c811\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"03149948832a078f759022ed5b92e722d8d23c26\",\"lessThan\":\"222b7005e4519f633b4cd666226256abbab46a1a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"03149948832a078f759022ed5b92e722d8d23c26\",\"lessThan\":\"c4a22154870813d10aa0b4c734a574c726f9d4b0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"03149948832a078f759022ed5b92e722d8d23c26\",\"lessThan\":\"bb45f705c4440dd3c689328319b88dd28770bbb8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"03149948832a078f759022ed5b92e722d8d23c26\",\"lessThan\":\"0f63e656b1c679d32ac595de29d10c03efca6a25\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/x86/coco/tdx/tdx.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.19\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.19\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.188\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.157\",\"lessThanOrEqual\":\"6.6.*\",\"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/0f63e656b1c679d32ac595de29d10c03efca6a25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/220011fe95fc78b2bc2d7d43893bc73957a5c811\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/222b7005e4519f633b4cd666226256abbab46a1a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bb45f705c4440dd3c689328319b88dd28770bbb8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4a22154870813d10aa0b4c734a574c726f9d4b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c6875423ad849ac234ab9812eb72f37ff8a490b4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-15T04:49:13+00:00",
      "cve": "CVE-2026-89751",
      "id": "CVE-2026-89751",
      "initial_release_date": "2026-09-11T19:46:55.314000+00:00",
      "product_status:known_affected": "2",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Linux kernel (x86/tdx): Off-by-one error in port I/O handling",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89751.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-12T16:22:13Z",
      "cve": "CVE-2026-89751",
      "id": "CVE-2026-89751",
      "initial_release_date": "2026-09-12T16:22:13Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-89751",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-89751.json",
      "version": "2"
    }
  }
}



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…