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

Published Nov 19, 2026

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

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

Xen's mapguestarea() enforces that vcpuinfo is aligned to sizeof(xenulongt). KVM has no such check, allowing a guest to register vcpuinfo 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 vcpuinfo fields use at most 32-bit accesses. Return -ENXIO on failure, matching Xen's mapguestarea() behaviour for unaligned requests.

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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203