CVE-2025-68792: tpm2-sessions: Fix out of range indexing in name_size

Published Jan 13, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

tpm2-sessions: Fix out of range indexing in namesize

'namesize' does not have any range checks, and it just directly indexes with TPMALGID, which could lead into memory corruption at worst.

Address the issue by only processing known values and returning -EINVAL for unrecognized values.

Make also 'tpmbufappendname' and 'tpmbuffillhmacsession' 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 Software

2 affected componentsFixes available
Linux Linux kernel
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Compensating control

    Validate name_size against known TPM_ALG_ID values and return -EINVAL for unrecognized values before indexing.

  3. Compensating control

    Make tpm_buf_append_name and tpm_buf_fill_hmac_session fallible so errors are detected before generating TPM traffic.

  4. Compensating control

    End the authorization session on failure in both affected functions because the session state is corrupted.

Event History

Jan 13, 2026
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-68792?

CVE-2025-68792 has a high severity due to potential memory corruption risks caused by out of range indexing.

2

How do I fix CVE-2025-68792?

To fix CVE-2025-68792, ensure that you update to the latest version of the Linux kernel where this vulnerability has been patched.

3

What kind of systems are affected by CVE-2025-68792?

CVE-2025-68792 affects systems running specific versions of the Linux kernel that utilize tpm2 sessions.

4

What are the potential impacts of CVE-2025-68792?

The potential impacts of CVE-2025-68792 include unauthorized access to sensitive data and system crashes due to memory corruption.

5

Is CVE-2025-68792 remotely exploitable?

CVE-2025-68792 is not considered remotely exploitable, typically requiring local access to the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203