# CVE-2026-99342: KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration

- Severity: not scored yet
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:21:50.243Z
- Modified: 2026-11-19T15:17:45.357Z
- Assigned by: Linux

## Description

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

KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration

Xen's map_guest_area() enforces that vcpu_info is aligned to
sizeof(xen_ulong_t). KVM has no such check, allowing a guest to
register vcpu_info at an arbitrary byte alignment.

Enforce unconditional 4-byte alignment regardless of the current
shinfo mode. This is sufficient because subsequent commits ensure
that all locked atomic operations on vcpu_info fields use at most
32-bit accesses. Return -ENXIO on failure, matching Xen's
map_guest_area() behaviour for unaligned requests.

Originally observed in review of an unrelated patch:
https://lore.kernel.org/all/20260604193554.1BA311F00893@smtp.kernel.org/

(As written by CVE List.)

## Affected

- Linux Linux: from 73e69a86347afe8156aa50c436fc192b280b0cd7 before 0381288c2fad72cdbe868216c179f6cbefc2ea01; from 73e69a86347afe8156aa50c436fc192b280b0cd7 before b7af8dc92af17e107d15360e62470ec862fa3d7f; from 73e69a86347afe8156aa50c436fc192b280b0cd7 before ff7b7447397638c31200e87993589ea42d6f96ff; from 73e69a86347afe8156aa50c436fc192b280b0cd7 before eacdb76c5f04956035c5d7f7e1973028f30684a2; 5.12 (not affected: before 5.12; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0381288c2fad72cdbe868216c179f6cbefc2ea01>
- <https://git.kernel.org/stable/c/b7af8dc92af17e107d15360e62470ec862fa3d7f>
- <https://git.kernel.org/stable/c/ff7b7447397638c31200e87993589ea42d6f96ff>
- <https://git.kernel.org/stable/c/eacdb76c5f04956035c5d7f7e1973028f30684a2>

## Sources

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

---

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