← Back to CVE Explorer

CVE-2026-98760

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: tipd: fix uninitialized typec_partner_desc in tps6598x_connect() tps6598x_connect() passes a stack-allocated typec_partner_desc to typec_register_partner() after initializing only usb_pd, accessory and identity. typec_register_partner() copies attach and deattach from the descriptor into the partner. With those fields left unset, garbage function pointers may be stored and later invoked from typec_partner_link_device() when a USB device is linked to the port. Uninitialized pd_revision and usb_capability similarly leak stack data through partner sysfs. Zero-initialize the descriptor so optional callbacks remain NULL and the remaining fields are zero.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:29.800000
Last modified
2026-10-30 13:21:25.360000
View original CVE JSON
{
  "id": "CVE-2026-98760",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:29.800",
  "lastModified": "2026-10-30T13:21:25.360",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tipd: fix uninitialized typec_partner_desc in tps6598x_connect()\n\ntps6598x_connect() passes a stack-allocated typec_partner_desc to\ntypec_register_partner() after initializing only usb_pd, accessory and\nidentity.\n\ntypec_register_partner() copies attach and deattach from the descriptor\ninto the partner. With those fields left unset, garbage function pointers\nmay be stored and later invoked from typec_partner_link_device() when a USB\ndevice is linked to the port. Uninitialized pd_revision and usb_capability\nsimilarly leak stack data through partner sysfs.\n\nZero-initialize the descriptor so optional callbacks remain NULL and the\nremaining fields are zero."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/usb/typec/tipd/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "bab4210634be8e6d4181155d1b99106ad24cea70",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "72582e9bb721cd766ae333af8ebf90061dfefeaf",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "a39d53f70e637ff3970046c32106a0e64fca62cd",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "4b6823ce0e548491cb9663303cba28e18d351096",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "282be6ae8be791762740107c79cecf5121f66063",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "dac0c073c6ad5f1bbb5e9fea9023fc1b4dab5e14",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0a4c005bd1715d8b32a368ed5516a6ee7e603d18",
              "lessThan": "c4b27b3605788bbf9e4251f3cd4ab94645ab036f",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/usb/typec/tipd/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.15",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.15",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/282be6ae8be791762740107c79cecf5121f66063",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4b6823ce0e548491cb9663303cba28e18d351096",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/72582e9bb721cd766ae333af8ebf90061dfefeaf",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a39d53f70e637ff3970046c32106a0e64fca62cd",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/bab4210634be8e6d4181155d1b99106ad24cea70",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c4b27b3605788bbf9e4251f3cd4ab94645ab036f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/dac0c073c6ad5f1bbb5e9fea9023fc1b4dab5e14",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}