CVE-2026-46096

published 27 May 2026 · updated 17 Nov 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f0f75a3d98b7959a8677b6363e23190f3018636b, Kernel 6.13, Kernel 6.18.27 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=bda1cbf73c6e241267c286427f2ed52b5735d872 <f0f75a3d98b7959a8677b6363e23190f3018636b, >=6.12.64 <6.13, >=6.18.3 <6.18.27, >=bda1cbf73c6e241267c286427f2ed52b5735d872 <2f434be87e256fd58254f60ddf5d7d58e775ca0b, =6.19, =a3b7eb67225c486a2da357c5db3e386f4e64bcde, >=20eda7c74b69fe9e1caf9b930a5c016bf8d755fa <f8775d9d9062da662cc861f9ff7722a65896d4cdf0f75a3d98b7959a8677b6363e23190f3018636b, 6.13, 6.18.27, 2f434be87e256fd58254f60ddf5d7d58e775ca0b, f8775d9d9062da662cc861f9ff7722a65896d4cd
linux-kernel: Kernel>=6.18.3 <6.18.27, >=6.19.0 <7.0.4, >=6.12.64 <6.136.18.27, 7.0.4, 6.13

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-46096 severity on Zeptric[![CVE-2026-46096](https://zeptric.io/badge/cve/CVE-2026-46096.svg)](https://zeptric.io/cve/CVE-2026-46096)