CVE-2025-68792
BaseFortify
Publication date: 2026-01-13
Last updated on: 2026-01-17
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| 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.