CVE Database›Document archive›CVE-2025-68792

CVE-2025-68792

kernel: tpm2-sessions: Fix out of range indexing in name_size

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · January 13, 2026

Updated · August 15, 2026

Description

An out-of-bounds array indexing flaw was found in the Linux kernel's TPM2 session handling code. The name_size lookup function uses TPM_ALG_ID values directly as array indices without bounds checking. An unrecognized algorithm ID could cause out-of-bounds memory access, potentially leading to memory corruption or a kernel crash.

Statement

Triggering this flaw requires interaction with a TPM device that returns unexpected or malicious algorithm IDs. In typical deployments, TPM firmware is trusted and returns valid values. The vulnerability is primarily a concern for systems with potentially compromised TPM hardware or during TPM development/testing scenarios.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-823 · Use of Out-of-range Pointer Offset