{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-40903",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-40903",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-12T12:20:44.367Z",
    "updatedAt": "2026-05-23T15:50:35.661Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps\n\nThere could be a potential use-after-free case in\ntcpm_register_source_caps(). This could happen when:\n * new (say invalid) source caps are advertised\n * the existing source caps are unregistered\n * tcpm_register_source_caps() returns with an error as\n   usb_power_delivery_register_capabilities() fails\n\nThis causes port->partner_source_caps to hold on to the now freed source\ncaps.\n\nReset port->partner_source_caps value to NULL after unregistering\nexisting source caps.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "cfcd544a9974c6b6fb37ca385146e4796dcaf66d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4053696594d7235f3638d49a00cf0f289e4b36a3"
            },
            {
              "version": "b16abab1fb645c4b7a86c357dc83a48cf21c2795",
              "status": "affected",
              "versionType": "git",
              "lessThan": "04c05d50fa79a41582f7bde8a1fd4377ae4a39e5"
            },
            {
              "version": "230ecdf71a644c9c73e0e6735b33173074ae3f94",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6b67b652849faf108a09647c7fde9b179ef24e2b"
            },
            {
              "version": "230ecdf71a644c9c73e0e6735b33173074ae3f94",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e7e921918d905544500ca7a95889f898121ba886"
            },
            {
              "version": "931b5f302d6f7126dbd6879c42d3d6ca580be423",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.1.91",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.95"
            },
            {
              "version": "6.6.31",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.35"
            },
            {
              "version": "6.8.10",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.9"
            },
            {
              "version": "6.1.95",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.35",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}