{
  "id": "CVE-2026-64330",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64330",
  "published_at": "2026-07-25T08:49:57.734Z",
  "title": "usb: typec: tcpm: Validate SVID index in svdm_consume_modes()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tcpm: Validate SVID index in svdm_consume_modes()\n\nIn svdm_consume_modes(), the SVID value is read from pmdata-\u003esvids using\npmdata-\u003esvid_index as an array index without bounds validation:\n\n    paltmode-\u003esvid = pmdata-\u003esvids[pmdata-\u003esvid_index];\n\nIf pmdata-\u003esvid_index is driven beyond SVID_DISCOVERY_MAX (16), it results\nin an out-of-bounds read of the pmdata-\u003esvids array. Because pd_mode_data\nis embedded inside struct tcpm_port, indexing past svids reads into\nadjacent fields. In particular:\n- At index 16, it reads the altmodes count.\n- At index 18 and beyond, it reads into altmode_desc[], which contains\n  partner-supplied SVDM Discovery Modes VDOs.\n\nBy injecting a chosen SVID into altmode_desc[0].vdo and driving svid_index\nto 20, the partner can force paltmode-\u003esvid to be loaded with an arbitrary,\npartner- chosen SVID, which is then registered via\ntypec_partner_register_altmode().\n\nFix this by validating that pmdata-\u003esvid_index is non-negative and strictly\nless than pmdata-\u003ensvids before accessing the pmdata-\u003esvids array inside\nsvdm_consume_modes().",
  "cwe": "CWE-129",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c 89ff289cbf5d3b659a2babc5ccaae4eaf7e7cf53",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c d638ec188e95fe60f4b01106ffd41958f8fb3c2c",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c f8163c414de8640f2ca82ce4dc93409d4cdc2fad",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c 012406f89abc52d1d5f07aa5653b519ebf6d2407",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c c6d2af3b217a525741c472f0ab45d7d274b8468f",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c 3e1b1ac47e8163627f159f30d80d51b914620dd4",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c 313ca06e7e224ca1dfadd5722fe71fb8bc276b8b",
          "\u003e= 4ab8c18d4d67321cc7b660559de17511d4fc0237, \u003c 7b681dd5fbf60b24a13c14661e5b7735759fb491"
        ],
        "fixed_in": [
          "89ff289cbf5d3b659a2babc5ccaae4eaf7e7cf53",
          "d638ec188e95fe60f4b01106ffd41958f8fb3c2c",
          "f8163c414de8640f2ca82ce4dc93409d4cdc2fad",
          "012406f89abc52d1d5f07aa5653b519ebf6d2407",
          "c6d2af3b217a525741c472f0ab45d7d274b8468f",
          "3e1b1ac47e8163627f159f30d80d51b914620dd4",
          "313ca06e7e224ca1dfadd5722fe71fb8bc276b8b",
          "7b681dd5fbf60b24a13c14661e5b7735759fb491"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.19"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 89ff289cbf5d3b659a2babc5ccaae4eaf7e7cf53 or d638ec188e95fe60f4b01106ffd41958f8fb3c2c or f8163c414de8640f2ca82ce4dc93409d4cdc2fad or 012406f89abc52d1d5f07aa5653b519ebf6d2407 or c6d2af3b217a525741c472f0ab45d7d274b8468f or 3e1b1ac47e8163627f159f30d80d51b914620dd4 or 313ca06e7e224ca1dfadd5722fe71fb8bc276b8b or 7b681dd5fbf60b24a13c14661e5b7735759fb491 or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
