# CVE-2026-72285: KVM: TDX: Reject concurrent change to CPUID entry count

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-15T05:55:08.385Z
- Modified: 2026-08-17T06:18:31.197Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0bd0a4a1428baaf4447e95f0832492d9e3d64961 before d6b5aba65e99531c97b146622a406c75653819d5; from 0bd0a4a1428baaf4447e95f0832492d9e3d64961 before cfbebb55e5127dc162e73fa8956000055a78606c; 6.19 (not affected: before 6.19; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/d6b5aba65e99531c97b146622a406c75653819d5>
- <https://git.kernel.org/stable/c/cfbebb55e5127dc162e73fa8956000055a78606c>

## Sources

- CVE List: [CVE-2026-72285](https://www.cve.org/CVERecord?id=CVE-2026-72285), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72285](https://nvd.nist.gov/vuln/detail/CVE-2026-72285), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72285 · Whole record: https://cve.day/CVE-2026-72285.json · Rebuilt by cve.day 2026-11-25T22:59:33.069Z
