{"id":"CVE-2026-99342","summary":"KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration\n\nXen's map_guest_area() enforces that vcpu_info is aligned to\nsizeof(xen_ulong_t). KVM has no such check, allowing a guest to\nregister vcpu_info at an arbitrary byte alignment.\n\nEnforce unconditional 4-byte alignment regardless of the current\nshinfo mode. This is sufficient because subsequent commits ensure\nthat all locked atomic operations on vcpu_info fields use at most\n32-bit accesses. Return -ENXIO on failure, matching Xen's\nmap_guest_area() behaviour for unaligned requests.\n\nOriginally observed in review of an unrelated patch:\nhttps://lore.kernel.org/all/20260604193554.1BA311F00893@smtp.kernel.org/","modified":"2026-11-20T21:02:28.864901551Z","published":"2026-11-19T14:21:50.243Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99342.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0381288c2fad72cdbe868216c179f6cbefc2ea01"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7af8dc92af17e107d15360e62470ec862fa3d7f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eacdb76c5f04956035c5d7f7e1973028f30684a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff7b7447397638c31200e87993589ea42d6f96ff"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99342.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99342"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"73e69a86347afe8156aa50c436fc192b280b0cd7"},{"fixed":"0381288c2fad72cdbe868216c179f6cbefc2ea01"},{"fixed":"b7af8dc92af17e107d15360e62470ec862fa3d7f"},{"fixed":"ff7b7447397638c31200e87993589ea42d6f96ff"},{"fixed":"eacdb76c5f04956035c5d7f7e1973028f30684a2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99342.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.12.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99342.json"}}],"schema_version":"1.9.2"}