CVE-2026-99342

Source
https://cve.org/CVERecord?id=CVE-2026-99342
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99342.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-99342
Downstream
Published
2026-11-19T14:21:50Z
Modified
2026-11-20T21:02:28Z
Summary
KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration
Details

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/

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99342.json"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"