{"id":"CVE-2026-99342","aliases":["CVE-2026-99342"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration","summary":"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/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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/","source":"cvelist"}],"published":"2026-11-19T14:21:50.243Z","modified":"2026-11-19T15:17:45.357Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"73e69a86347afe8156aa50c436fc192b280b0cd7","fixed":"0381288c2fad72cdbe868216c179f6cbefc2ea01","status":"affected"},{"type":"git","introduced":"73e69a86347afe8156aa50c436fc192b280b0cd7","fixed":"b7af8dc92af17e107d15360e62470ec862fa3d7f","status":"affected"},{"type":"git","introduced":"73e69a86347afe8156aa50c436fc192b280b0cd7","fixed":"ff7b7447397638c31200e87993589ea42d6f96ff","status":"affected"},{"type":"git","introduced":"73e69a86347afe8156aa50c436fc192b280b0cd7","fixed":"eacdb76c5f04956035c5d7f7e1973028f30684a2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0381288c2fad72cdbe868216c179f6cbefc2ea01","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7af8dc92af17e107d15360e62470ec862fa3d7f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff7b7447397638c31200e87993589ea42d6f96ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eacdb76c5f04956035c5d7f7e1973028f30684a2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99342","url":"https://www.cve.org/CVERecord?id=CVE-2026-99342","licence":"CVE Terms of Use","modified":"2026-11-19T14:35:58.257Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99342","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99342","licence":"Public domain","modified":"2026-11-19T15:17:45.357Z"}],"updatedAt":"2026-11-25T22:59:52.033Z","epss":{"score":0.00221,"percentile":0.1349,"date":"2026-12-01T12:00:22.000Z"}}