Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: TDX: Reject concurrent change to CPUID entry count

Reject KVM_TDX_INIT_VM if userspace changes cpuid.nent between the
initial read and the subsequent copy of the initialization data.

tdx_td_init() first reads user_data->cpuid.nent to size the flexible
kvm_tdx_init_vm copy. The copied structure also contains cpuid.nent,
and that field can differ from the value used to size the allocation if
userspace modifies the input concurrently. setup_tdparams_cpuids() later
passes init_vm->cpuid.nent to kvm_find_cpuid_entry2(), which uses it as
the array bound for the copied entries.

Require the copied count to match the value used to size the allocation
so that CPUID parsing cannot access beyond the entries actually copied.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition exists in the Linux kernel’s handling of TDX virtual machine initialization: if userspace changes the CPUID entry count between the initial read and a later copy, the kernel may size the allocation based on one value but later process a different count. This mismatch can cause the CPUID parsing routine to read beyond the actually copied entries, potentially leading to kernel memory corruption. Such corruption could trigger a crash (denial of service) or provide a foothold for privilege escalation. The vulnerability is limited to environments that use KVM with TDX support and requires concurrent modification of the CPUID structure by an attacker or misconfigured application.

Affected Systems

The flaw affects the Linux kernel across all official Linux distributions that ship the upstream kernel, regardless of specific distribution. No version restrictions are provided in the advisory; affected releases are those that have not yet incorporated the fix that enforces consistent CPUID entry counts during TDX VM initialization.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability, while the EPSS score of <1% suggests a low likelihood of exploitation. However, the flaw’s existence in privileged kernel code and its reliance on a concurrent data race suggest a low to moderate exploitation difficulty for an attacker with kernel or KVM module access. The issue is not listed in the CISA KEV catalog, indicating that there are no publicly known exploits governing real-world usage. To exploit, an attacker would need to orchestrate a race condition while invoking KVM_TDX_INIT_VM, modifying the cpuid.nent field after the kernel’s initial read but before the subsequent copy. Successful exploitation would result in stack or heap corruption due to out‑of‑bounds array access, which could be leveraged to gain root privileges. Given the lack of readily available exploitation evidence, the immediate risk remains uncertain but the potential impact warrants timely patching.

Generated by OpenCVE AI on August 18, 2026 at 19:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the KVM_TDX_INIT_VM CPUID count consistency fix.
  • Ensure that all KVM applications and libraries that initialize TDX VMs do not modify the cpuid.nent field between the initial read and the copy stage.
  • If patching is not immediately possible, disable TDX support or restrict usage of the affected KVM subsystem until an update can be applied.

Generated by OpenCVE AI on August 18, 2026 at 19:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-129

Tue, 18 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-129

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: TDX: Reject concurrent change to CPUID entry count Reject KVM_TDX_INIT_VM if userspace changes cpuid.nent between the initial read and the subsequent copy of the initialization data. tdx_td_init() first reads user_data->cpuid.nent to size the flexible kvm_tdx_init_vm copy. The copied structure also contains cpuid.nent, and that field can differ from the value used to size the allocation if userspace modifies the input concurrently. setup_tdparams_cpuids() later passes init_vm->cpuid.nent to kvm_find_cpuid_entry2(), which uses it as the array bound for the copied entries. Require the copied count to match the value used to size the allocation so that CPUID parsing cannot access beyond the entries actually copied.
Title KVM: TDX: Reject concurrent change to CPUID entry count
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:42:20.367Z

Reserved: 2026-08-09T03:40:39.917Z

Link: CVE-2026-72285

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:59.700

Modified: 2026-08-17T06:18:31.197

Link: CVE-2026-72285

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72285 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T19:45:03Z

Weaknesses