CVE-2026-46096 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's TPM2 session handling. The issue arises in the 'tpm2_read_public()' function, which initializes a buffer but fails to properly release it under certain conditions, specifically when an unrecognized hash algorithm error occurs or after successfully reading the public data. This oversight leads to a page allocation leak. The vulnerability affects the Linux kernel stable tree, specifically versions 6.19 and later.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version available in the stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2f434be87e256fd58254f60ddf5d7d58e775ca0b | kernel.org | Patch |
| https://git.kernel.org/stable/c/f0f75a3d98b7959a8677b6363e23190f3018636b | kernel.org | Patch |
| https://git.kernel.org/stable/c/f8775d9d9062da662cc861f9ff7722a65896d4cd | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12.64, < 6.13 >= 6.18.3, < 6.18.27 >= 6.19, < 7.0.4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 25, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 27, 2026 | New CVE Received | kernel.org |