CVE-2025-68792: Linux kernel · tpm2-sessions: Fix out of range indexing in name_size
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.17.0-1018.18 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.17.0-1018.18, 6.17.0-1013.13~24.04.1, 6.17.0-1012.12~24.04.1 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Linux kernel to 6.17.0-1018.18, 6.17.0-1013.13~24.04.1, 6.17.0-1012.12~24.04.1 or 6.17.0-22.22~24.04.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-hwe-edge | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, avoid untrusted input to the TPM2 sessions component.
Description
In the Linux kernel, the following vulnerability has been resolved: tpm2-sessions: Fix out of range indexing in name_size 'name_size' does not have any range checks, and it just directly indexes with TPM_ALG_ID, which could lead into memory corruption at worst. Address the issue by only processing known values and returning -EINVAL for unrecognized values. Make also 'tpm_buf_append_name' and 'tpm_buf_fill_hmac_session' fallible so that errors are detected before causing any spurious TPM traffic. End also the authorization session on failure in both of the functions, as the session state would be then by definition corrupted.
References
- nvd.nist.gov/vuln/detail/CVE-2025-68792 (opens in a new tab)
- git.kernel.org/stable/c/04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43 (opens in a new tab)
- git.kernel.org/stable/c/47e676ce4d68f461dfcab906f6aeb254f7276deb (opens in a new tab)
- git.kernel.org/stable/c/6e9722e9a7bfe1bbad649937c811076acf86e1fd (opens in a new tab)
- ubuntu.com/security/CVE-2025-68792 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-68792 (opens in a new tab)
- git.kernel.org/linus/6e9722e9a7bfe1bbad649937c811076acf86e1fd (opens in a new tab)
- ubuntu.com/security/notices/USN-8177-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8177-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8183-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8183-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8245-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8257-1 (opens in a new tab)