CVE-2025-68792
published high CVSS 3.1 · 7.8tpm2-sessions: Fix out of range indexing in name_size
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1085b8276bb4239daa7008f0dcd5c973e4bd690f to < 47e676ce4d68f461dfcab906f6aeb254f7276deb · 1085b8276bb4239daa7008f0dcd5c973e4bd690f to < 04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43 · 1085b8276bb4239daa7008f0dcd5c973e4bd690f to < 6e9722e9a7bfe1bbad649937c811076acf86e1fd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.66 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1488 | Fixed | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.69-1 | DSA-6126-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-109.67.6.el10uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-109.67.6.el9uek | ELSA-2026-50144 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - An unprivileged process can reach the vulnerable parser through add_key trusted-key operations, which invoke TPM2_ReadPublic and session HMAC preparation; no physical access is required. AC:L - On an affected configuration with a compatible TPM or vTPM, the attacker controls the trusted-key creation and load sequence and can select an unsupported Name algorithm such as sm3-256 without a race or uncontrollable condition. PR:L - The add_key syscall and trusted-key instantiate path contain no capability check, and an ordinary user can target a writable user or process keyring. UI:N - Exploitation is initiated entirely by the attacker's syscalls and TPM command sequence without requiring another user to act. S:U - The vulnerable code and the affected kernel resources belong to the same host-kernel security authority; ordinary kernel privilege escalation does not change scope. C:H - The out-of-range table value becomes a length used for subsequent kernel-memory processing, enabling an out-of-bounds read and potential disclosure in the highest-severity reasonable layout. I:H - The attacker-influenced length reaches memcpy into the fixed-size authorization Name storage, permitting out-of-bounds writes and potentially exploitable kernel memory corruption. A:H - The invalid index and resulting out-of-bounds accesses can produce a kernel fault, KASAN panic, or corrupted session state, and the triggering operation can be repeated.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1085b8276bb4239daa7008f0dcd5c973e4bd690f to < 47e676ce4d68f461dfcab906f6aeb254f7276deb (affected · git)1085b8276bb4239daa7008f0dcd5c973e4bd690f to < 04a3aa6e8c5f878cc51a8a1c90b6d3c54079bc43 (affected · git)1085b8276bb4239daa7008f0dcd5c973e4bd690f to < 6e9722e9a7bfe1bbad649937c811076acf86e1fd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.66 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
tpm2-sessions: Fix out of range indexing in name_size
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 86260eccb9ec873c534b517558fad41df049c549f4058e1c89a3640636e0d40c
- Ingested
- 23 Sep 2026, 08:57:14 UTC
- Source record
- Official CVE record