CVE-2026-46096
MEDIUMtpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public()
Title source: cnaDescription
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.
Scores
CVSS v3
5.5
EPSS
0.0012
EPSS Percentile
2.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (15)
linux/Kernel
< 6.18.27linux
linux/Kernel
6.19.0 - 7.0.4linux
Linux/Linux
< 6.19
Linux/Linux
20eda7c74b69fe9e1caf9b930a5c016bf8d755fa - f8775d9d9062da662cc861f9ff7722a65896d4cd
Linux/Linux
6.12.64 - 6.13
Linux/Linux
6.18.27 - 6.18.*
Linux/Linux
6.18.3 - 6.18.27
Linux/Linux
6.19
Linux/Linux
7.0.4 - 7.0.*
Linux/Linux
7.1
... and 5 more
Published
May 27, 2026
Tracked Since
May 27, 2026