CVE-2025-68792
tpm2-sessions: Fix out of range indexing in name_size
Reported by linux · Published January 13, 2026
In the Linux kernel, the following vulnerability has been resolved: tpm2-sessions: Fix out of range indexing in name_size 'name_size' does not have any range checks, and it just directly indexes with TPM_ALG_ID, which could lead into memory corruption at worst. Address the issue by only processing known values and returning -EINVAL for unrecognized values. Make also 'tpm_buf_append_name' and 'tpm_buf_fill_hmac_session' fallible so that errors are detected before causing any spurious TPM traffic. End also the authorization session on failure in both of the functions, as the session state would be then by definition corrupted.
EPSS 0.15% · 4.5th 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 |
|---|---|---|
| kernel6.12 | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1085b8276bb4239daa7008f0dcd5c973e4bd690f, 1085b8276bb4239daa7008f0dcd5c973e4bd690f, 1085b8276bb4239daa7008f0dcd5c973e4bd690f |
| Linux | Linux | 6.10, 0, 6.12.66 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| Linux | Linux | 1085b8276bb4239daa7008f0dcd5c973e4bd690f, 1085b8276bb4239daa7008f0dcd5c973e4bd690f, 1085b8276bb4239daa7008f0dcd5c973e4bd690f |
| amazon:2023 | perf6.12 | 0 |
| linux | linux_kernel | 6.10, 6.10, 6.10 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.66-88.122 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
Timeline
- Jan 13, 2026 CVE Published
- Jan 14, 2026 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Security Advisory (108 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (102 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-68792
vulnetix vdb fixes CVE-2025-68792
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-2025-68792/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart