GHSA-m4vj-4hr4-c26xunknown

In the Linux kernel, the following vulnerability has been resolved: KVM: x86/xen: Enforce 4-byte...

Published
November 19, 2026
Last Modified
November 19, 2026

🔗 CVE IDs covered (1)

📋 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/[email protected]/

🔗 References (6)