CVE-2025-68792 Details
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.
A vulnerability in the Linux kernel's TPM2 session management has been addressed. The issue stemmed from the 'name_size' function, which lacked proper range checks and could lead to memory corruption. The vulnerability allowed for out-of-range indexing by directly using TPM_ALG_ID without validation. The fix involves processing only recognized values, returning an error for unrecognized ones, and making the functions 'tpm_buf_append_name' and 'tpm_buf_fill_hmac_session' capable of reporting errors. Additionally, the authorization session is now properly ended on failure to prevent corruption of the session state.
Users can upgrade to the latest version of the Linux kernel to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/47e676ce4d68f461dfcab906f6aeb254f7276deb | kernel.org | |
| https://git.kernel.org/stable/c/6e9722e9a7bfe1bbad649937c811076acf86e1fd | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 17, 2026 | CVE Modified | kernel.org |
| Jan 13, 2026 | New CVE Received | kernel.org |
Volerion