Back to CVE records
Medium 5.5Published May 27, 2026

CVE-2026-46096tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Analyzed
Record last updated
Jun 14, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 20eda7c74b69fe9e1caf9b930a5c016bf8d755fa before f8775d9d9062da662cc861f9ff7722a65896d4cd; from bda1cbf73c6e241267c286427f2ed52b5735d872 before 2f434be87e256fd58254f60ddf5d7d58e775ca0b; from bda1cbf73c6e241267c286427f2ed52b5735d872 before f0f75a3d98b7959a8677b6363e23190f3018636b; a3b7eb67225c486a2da357c5db3e386f4e64bcde; from 6.18.3 before 6.18.27; from 6.12.64 before 6.13
CNA record
linux linux_kernel
linux:linux_kernel
from 6.12.64 before 6.13; from 6.18.3 before 6.18.27; from 6.19 before 7.0.4
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.