GHSA-2wfq-pvgx-w5wx
Record from GitHub Advisory Database · 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.
Risk scores
Timeline
- Jan 13, 2026 CVE Published
- Apr 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-2wfq-pvgx-w5wx
vulnetix vdb fixes GHSA-2wfq-pvgx-w5wx
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/GHSA-2wfq-pvgx-w5wx/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart