KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Sep 25, 2026
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/
| Product | Versions |
|---|---|
| Linux Linux | 73e69a86347afe8156aa50c436fc192b280b0cd7 to before 0381288c2fad72cdbe868216c179f6cbefc2ea01 Affected73e69a86347afe8156aa50c436fc192b280b0cd7 to before b7af8dc92af17e107d15360e62470ec862fa3d7f Affected73e69a86347afe8156aa50c436fc192b280b0cd7 to before ff7b7447397638c31200e87993589ea42d6f96ff Affected73e69a86347afe8156aa50c436fc192b280b0cd7 to before eacdb76c5f04956035c5d7f7e1973028f30684a2 Affected |
| Linux Linux | 5.12 Affectedbefore 5.12 Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.