{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89751",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89751"
  ],
  "published": "2026-09-11T19:47:07Z",
  "summary": "x86/tdx: Fix off-by-one in port I/O handling",
  "details": "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": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-89751"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c6875423ad849ac234ab9812eb72f37ff8a490b4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/220011fe95fc78b2bc2d7d43893bc73957a5c811"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/222b7005e4519f633b4cd666226256abbab46a1a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c4a22154870813d10aa0b4c734a574c726f9d4b0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bb45f705c4440dd3c689328319b88dd28770bbb8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0f63e656b1c679d32ac595de29d10c03efca6a25"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z"
  }
}
