{
  "id": "CVE-2025-68792",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68792",
  "published_at": "2026-01-13T15:29:04.226Z",
  "title": "tpm2-sessions: Fix out of range indexing in name_size",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "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\ntpm2-sessions: Fix out of range indexing in name_size\n\n'name_size' does not have any range checks, and it just directly indexes\nwith TPM_ALG_ID, which could lead into memory corruption at worst.\n\nAddress the issue by only processing known values and returning -EINVAL for\nunrecognized values.\n\nMake also 'tpm_buf_append_name' and 'tpm_buf_fill_hmac_session' fallible so\nthat errors are detected before causing any spurious TPM traffic.\n\nEnd also the authorization session on failure in both of the functions, as\nthe session state would be then by definition corrupted.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1085b8276bb4239daa7008f0dcd5c973e4bd690f, \u003c 47e676ce4d68f461dfcab906f6aeb254f7276deb",
          "\u003e= 1085b8276bb4239daa7008f0dcd5c973e4bd690f, \u003c 04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43",
          "\u003e= 1085b8276bb4239daa7008f0dcd5c973e4bd690f, \u003c 6e9722e9a7bfe1bbad649937c811076acf86e1fd"
        ],
        "fixed_in": [
          "47e676ce4d68f461dfcab906f6aeb254f7276deb",
          "04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43",
          "6e9722e9a7bfe1bbad649937c811076acf86e1fd"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.10"
        ],
        "fixed_in": [
          "0",
          "6.12.66",
          "6.18.3",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 47e676ce4d68f461dfcab906f6aeb254f7276deb or 04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43 or 6e9722e9a7bfe1bbad649937c811076acf86e1fd or later.",
      "Upgrade Linux to 0 or 6.12.66 or 6.18.3 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
