Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795098738; b=fKfxlg1dANRk+xXr+7eUua7Oe8S4+FFL6/6CwLejIAddhNjkhKOcwZ9jPCNcHYV6+uEZ /ruxschFxD3Yf0Y38s5zSGRxOGBjQnBvkZRzf5UnRWoHsB+HxuQFA4pQ06D9tCKlJyAjv RKLQ1y3/wRNf5Uy4x+ZBQhc8Oz6SMtS0X0yoLjmcpQkGQxLtJSlL+KeKj6NSbvv1636lq jW8tfH1WZaCshG1cdNAHTqH8PmnlVfR4ly1VJY3+4fR3DZ9WFOOoVzl5HNK6BMuMCq9QY kaAsh2tkg4ffipNEad5weHsYktx5IaZG/5KxzJWo/e5m73eknLeQ0z55cdhT4jzwXcQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795098738; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Z3+Wpfxsi2clL1bGwETFc7oBnuxesV+NC56ilUURKlA=; b=DGM8giDONJ0C7zeT3giCEN1NGbjupjkS/kGCQE+c4gZ7KpsfSoqHr/vZujcKiZu8XY/p Nk2g47F11Ah++utFjDbGKsx0WkAgMu3obJHyYw5ovfBWUEJIgRBMXq+qgE09nIot40lct YkSFCCNkvWiOKethWoe4fqiv1wYvCroNBglwjl3n0XzgAFg7jYbDGSl1X/l0LxD6melgV wAu1g74BzbHCH1MiE6BeXK/iqNRzLOYxEGV73sLrSKaKbvFQuMYt9JmI1+gbC4pGHoe8H WbFCaK1MFQINm5Yp8otAtXsoMNVEbcc65avnmtixmclXfZJS64BborPofcbITjOiTOg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=pQsw5qAr; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 554C8606A320 for ; Thu, 19 Nov 2026 14:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=pQsw5qAr Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B5D71F000C6; Thu, 19 Nov 2026 14:32:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795098737; bh=Z3+Wpfxsi2clL1bGwETFc7oBnuxesV+NC56ilUURKlA=; h=From:To:Cc:Subject:Date:Reply-To; b=pQsw5qArzVLRHGG/W8dWeuDtqzJbmSKqjDtMAxcszNB7K3jGTBMi5B5A4dvSDfgwv vRlw5iH4mMQ7lG8Pz1HFX9/mJxiJsiE/MSf+lGy0M8CU8dVoNA/i9nFd0Kb/M5M6c8 o+XR1i70rECm1iRxJYMb2VRWhQsF5VrkfISsnN7Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99342: KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration Date: Thu, 19 Nov 2026 15:24:00 +0100 Message-ID: <2026111946-CVE-2026-99342-915d@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2847; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JDL9jwv6FEb6AvuU42B0byUgDL2mwMxOrKMByHES7ps=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2YpeZjL3H7+n2uxRoygo99T2S4RQadDTV7aFnJF1u YEP9N07YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCIxdgwLWpcKXezxm2f+doHg jrUXeqqWVT55zLBgduMH07Cvbsl5n2Jk7qiI7LQ4k6sCAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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/ The Linux kernel CVE team has assigned CVE-2026-99342 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 73e69a86347afe8156aa50c436fc192b280b0cd7 and fixed in 6.12.117 with commit 0381288c2fad72cdbe868216c179f6cbefc2ea01 Issue introduced in 5.12 with commit 73e69a86347afe8156aa50c436fc192b280b0cd7 and fixed in 6.18.61 with commit b7af8dc92af17e107d15360e62470ec862fa3d7f Issue introduced in 5.12 with commit 73e69a86347afe8156aa50c436fc192b280b0cd7 and fixed in 7.3.2 with commit ff7b7447397638c31200e87993589ea42d6f96ff Issue introduced in 5.12 with commit 73e69a86347afe8156aa50c436fc192b280b0cd7 and fixed in 7.4-rc1 with commit eacdb76c5f04956035c5d7f7e1973028f30684a2 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99342 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/x86/kvm/xen.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/0381288c2fad72cdbe868216c179f6cbefc2ea01 https://git.kernel.org/stable/c/b7af8dc92af17e107d15360e62470ec862fa3d7f https://git.kernel.org/stable/c/ff7b7447397638c31200e87993589ea42d6f96ff https://git.kernel.org/stable/c/eacdb76c5f04956035c5d7f7e1973028f30684a2