VDB

CVE-2026-46096

CVE-2026-46096 PUBLISHED

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

Reported by linux · Published May 27, 2026

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.

EPSS 0.12% · 1.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.18-headersAmazon Linux1:6.18.30-61.116.amzn2023
bpftool6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.30-61.116.amzn2023

Risk scores

EPSS Score
0.12%
1.9th percentile

Affected products

VendorProductVersions
LinuxLinux20eda7c74b69fe9e1caf9b930a5c016bf8d755fa, bda1cbf73c6e241267c286427f2ed52b5735d872, bda1cbf73c6e241267c286427f2ed52b5735d872
LinuxLinux6.19, 0, 6.18.27
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel6.12.64, 6.18.3, 6.19
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.180
amazon:2023kernel6.18-devel0
LinuxLinux7.1, *, *
amazon:2023kernel-livepatch-6.18.30-61.1160

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (13 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46096
vulnetix vdb fixes CVE-2026-46096

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46096/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›