What’s Vulnerable › Vulnerabilities
CVE-2025-68792: tpm2-sessions: Fix out of range indexing in name_size
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-13 · updated 2026-07-30
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.
Affected products
- Linux kernel: 6.10 — fixed in 6.19
How to fix
Upgrade to a fixed version: Linux kernel 6.19. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43
- https://git.kernel.org/stable/c/47e676ce4d68f461dfcab906f6aeb254f7276deb
- https://git.kernel.org/stable/c/6e9722e9a7bfe1bbad649937c811076acf86e1fd
Get alerted when CVE-2025-68792 or the next vulnerability affects your stack