← VULNERABILITIES

CVE-2026-99342

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

UnscoredFix available
CVSS
—
EPSS
0.22% (p14)
Published
2026-11-19
Age
15d old
Modified
2026-12-01
Product
Linux 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/

Fixed in

0381288c2fad72cdbe868216c179f6cbefc2ea01 · 6.12.117 · 6.18.61 · 7.3.2 · b7af8dc92af17e107d15360e62470ec862fa3d7f · eacdb76c5f04956035c5d7f7e1973028f30684a2 · ff7b7447397638c31200e87993589ea42d6f96ff

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=5.12.0, <6.12.1176.12.117
LinuxKernel>=6.13.0, <6.18.616.18.61
LinuxKernel>=6.19.0, <7.3.27.3.2
vendorLinux>=73e69a86347afe8156aa50c436fc192b280b0cd7, <0381288c2fad72cdbe868216c179f6cbefc2ea010381288c2fad72cdbe868216c179f6cbefc2ea01
vendorLinux>=73e69a86347afe8156aa50c436fc192b280b0cd7, <b7af8dc92af17e107d15360e62470ec862fa3d7fb7af8dc92af17e107d15360e62470ec862fa3d7f
vendorLinux>=73e69a86347afe8156aa50c436fc192b280b0cd7, <eacdb76c5f04956035c5d7f7e1973028f30684a2eacdb76c5f04956035c5d7f7e1973028f30684a2
vendorLinux>=73e69a86347afe8156aa50c436fc192b280b0cd7, <ff7b7447397638c31200e87993589ea42d6f96ffff7b7447397638c31200e87993589ea42d6f96ff

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • OSV · first seen 3d ago · CC-BY 4.0
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON