Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.12.64, < 6.13 |
References
- https://git.kernel.org/stable/c/2f434be87e256fd58254f60ddf5d7d58e775ca0bPatch
- https://git.kernel.org/stable/c/f0f75a3d98b7959a8677b6363e23190f3018636bPatch
- https://git.kernel.org/stable/c/f8775d9d9062da662cc861f9ff7722a65896d4cdPatch
FAQ
What is CVE-2026-46096?
CVE-2026-46096 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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_b...
How severe is CVE-2026-46096?
CVE-2026-46096 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-46096?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.