CVE-2025-68792
NoneCVSS
—
EPSS
0.2%
Published
Jan 13, 2026
CISA due date
—
Cloudanix analysis
A flaw in Linux kernel handling of secure hardware sessions could let attackers damage memory and crash or compromise affected computers.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds array indexing via unvalidated TPM_ALG_ID in name_size leads to memory corruption in TPM2 session handling; additional changes make tpm_buf_append_name and tpm_buf_fill_hmac_session fallible and terminate sessions on error.
Why it matters to the business
Kernel memory corruption on Linux systems using TPM 2.0 can cause crashes, denial of service, or potential privilege escalation; 286 days have passed since disclosure with stable low exploit probability and no known ransomware use.
How an attack unfolds
An attacker supplies an unrecognized TPM_ALG_ID value to bypass missing range checks, triggering invalid memory access during session setup before error paths were added.
How to fix it
Apply the Linux kernel commit 47e676ce4d68f461dfcab906f6aeb254f7276deb which enforces known-value checks, returns -EINVAL for invalid IDs, and makes the listed functions fallible.
How to confirm the fix worked
Confirm the running kernel source contains commit 47e676ce4d68f461dfcab906f6aeb254f7276deb; test with unrecognized TPM_ALG_ID values and verify -EINVAL is returned without corruption.
Typical attack path
- Locate Linux systems exposing TPM2 interfaces
- Craft input containing an out-of-range TPM_ALG_ID
- Trigger name_size indexing in tpm2-sessions
- Induce memory corruption or session state errors
How to detect it
Inspect kernel logs and dmesg for TPM2 session errors, invalid algorithm references, or memory faults originating from tpm2-sessions code paths.
What your security team should do
- Patch all affected kernels to the fixed commit without delay
- Review TPM2 usage and disable where unnecessary
- Monitor kernel logs for TPM session errors
- Prioritize systems with high TPM2 exposure
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 6.10.0 | 6.12.66 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.26.1.160000.2.7 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.26.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel