CVE-2026-46096
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 20eda7c74b69fe9e1caf9b930a5c016bf8d755fa, bda1cbf73c6e241267c286427f2ed52b5735d872, bda1cbf73c6e241267c286427f2ed52b5735d872 |
| Linux | Linux | 6.19, 0, 6.18.27 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.12.64, 6.18.3, 6.19 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| Linux | Linux | 7.1, *, * |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
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