CVE-2025-68792
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2026-01-13

Last updated on: 2026-01-17

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-13
Last Modified
2026-01-17
Generated
2026-05-07
AI Q&A
2026-01-14
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel's tpm2-sessions component involves the 'name_size' variable being indexed without proper range checks using TPM_ALG_ID. This lack of validation can lead to out-of-range indexing, potentially causing memory corruption. The issue was fixed by processing only known TPM_ALG_ID values and returning an error (-EINVAL) for unrecognized values. Additionally, functions 'tpm_buf_append_name' and 'tpm_buf_fill_hmac_session' were made fallible to detect errors early and prevent unintended TPM traffic, and authorization sessions are ended on failure to avoid corrupted session states.


How can this vulnerability impact me? :

This vulnerability can lead to memory corruption in the Linux kernel when handling TPM sessions, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or disrupt TPM operations. Such impacts could compromise system security and reliability.


What immediate steps should I take to mitigate this vulnerability?

Apply the patch that fixes the out of range indexing in 'name_size' in the Linux kernel's tpm2-sessions code. This patch ensures only known TPM_ALG_ID values are processed and returns errors for unrecognized values, preventing memory corruption. Additionally, ensure that the functions 'tpm_buf_append_name' and 'tpm_buf_fill_hmac_session' are updated to be fallible to detect errors early and that authorization sessions are properly ended on failure to avoid corrupted session states.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart