CVE-2025-68792

tpm2-sessions: Fix out of range indexing in name_size

published January 13, 2026

CVSS
—
EPSS
0%
Percentile
4.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00152 · 4.0th percentile
Published
2026-01-13T15:29Z
EPSS history
Timeline
  • 13 JAN 15:29Z
    tpm2-sessions: Fix out of range indexing in name_size
    cvelistv5