CVE Catalog

CVE-2025-68792

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel, the tpm2-sessions module has an out-of-range indexing vulnerability in the 'name_size' field. Lack of range validation can lead to memory corruption when using unknown TPM_ALG_ID values.

Risk Assessment

The organization is at risk of potential kernel memory corruption and spurious TPM traffic, which could result in data integrity breaches or system crashes.

Recommendation

It is recommended to immediately update the Linux kernel to a version that includes a fix to process only known TPM_ALG_ID values and return an error for unrecognized ones.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS