CVE-2025-68792
Awaiting Analysis Awaiting Analysis - Queue

BaseFortify

Vulnerability report for CVE-2025-68792, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2026-01-14
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Mitigation Strategies

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-68792. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart