Description
In the Linux kernel, the following vulnerability has been resolved:

tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public()

tpm2_read_public() calls tpm_buf_init() but fails to call
tpm_buf_destroy() on two exit paths, leaking a page allocation:

1. When name_size() returns an error (unrecognized hash algorithm),
the function returns directly without destroying the buffer.

2. On the success path, the buffer is never destroyed before
returning.

All other error paths in the function correctly call
tpm_buf_destroy() before returning.

Fix both by adding the missing tpm_buf_destroy() calls.
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from the TPM 2.0 session code in the Linux kernel, where the function that reads a TPM object’s public area fails to free a buffer allocated on the page stack in two code paths. This omission can cause a kernel memory leak, gradually exhausting available memory and potentially leading to a denial‑of‑service condition when the system runs out of pages. The leak is purely a resource depletion issue with no direct integrity or confidentiality impact, but it can degrade system performance and stability.

Affected Systems

All Linux distributions that incorporate the affected Linux kernel versions are susceptible. The CPE entry indicates a universal kernel target, so any system running a vulnerable kernel revision should be considered at risk until the patch is applied.

Risk and Exploitability

The vulnerability is a missing cleanup routine, so exploiting it requires repeatedly invoking tpm2_read_public(). The likely attack vector is local TPM access, allowing an attacker with sufficient privileges to trigger the leak. The CVSS score of 5.5 indicates moderate severity, while the EPSS score of less than 1% suggests a low probability of exploitation. It is not listed in the CISA Known Exploited Vulnerabilities catalog, and no public exploits have been reported. Because the flaw can lead to kernel memory exhaustion and a potential denial‑of‑service, a defensive posture remains advised.

Generated by OpenCVE AI on August 13, 2026 at 22:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to the version that contains the tpm_buf_destroy fix for tpm2_read_public().
  • If an immediate kernel update is not feasible, consider disabling TPM functionality or restricting access to the TPM device using SELinux or similar policy tools to limit the ability to trigger the leaking path.
  • After applying the kernel update, monitor system memory usage for any anomalous patterns that could indicate residual leaks or other issues.

Generated by OpenCVE AI on August 13, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
History

Thu, 28 May 2026 00:15:00 +0000


Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public() tpm2_read_public() calls tpm_buf_init() but fails to call tpm_buf_destroy() on two exit paths, leaking a page allocation: 1. When name_size() returns an error (unrecognized hash algorithm), the function returns directly without destroying the buffer. 2. On the success path, the buffer is never destroyed before returning. All other error paths in the function correctly call tpm_buf_destroy() before returning. Fix both by adding the missing tpm_buf_destroy() calls.
Title tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T17:54:06.722Z

Reserved: 2026-05-13T15:03:33.097Z

Link: CVE-2026-46096

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:31.220

Modified: 2026-06-25T21:17:06.863

Link: CVE-2026-46096

cve-icon Redhat

Severity :

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-46096 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T23:00:06Z

Weaknesses