Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-99342

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

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/

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 73e69a86347afe8156aa50c436fc192b280b0cd7 to < 0381288c2fad72cdbe868216c179f6cbefc2ea01affected
  • 73e69a86347afe8156aa50c436fc192b280b0cd7 to < b7af8dc92af17e107d15360e62470ec862fa3d7faffected
  • 73e69a86347afe8156aa50c436fc192b280b0cd7 to < ff7b7447397638c31200e87993589ea42d6f96ffaffected
  • 73e69a86347afe8156aa50c436fc192b280b0cd7 to < eacdb76c5f04956035c5d7f7e1973028f30684a2affected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 6.12.117 to ≤ 6.12.*unaffected
  • 6.18.61 to ≤ 6.18.*unaffected
  • 7.3.2 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References