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=1795099081; b=Z5g3p0QYwZb4rv4cB4NBrkdWO2oClz/xuhkSN2v3y6Dnk0MlLpwcG1uhm1RuAAul1n1y 2I7ic5ul6j55IIzv6G3CPF0Q+SoTaeVCsQ5RHW5dnJpYRJUEu8qEA3Ak+XGdIQHH5F6bo yyKJ4cgYC44s/fuLTz3NcKqo6PYBIiVnr/x2/F5uJt5iM552Bh4+H70VUuf+LewOAtjag SUzs0hA4bKedjDRWgTEFLudEGkuNlu9MsG9JH5NyWBkt5WIVXJowdR7ybijH8QJs3GxiV PmdeK2pOk9bsBMY+ODeNIj12MUpWme45vyLWs9SPn4ZykBSb6PiSRhVKmHDPX6nIItQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099081; 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=1GSUgrU5hAYH/Tsz/VDq5dztQU9+853rM2J15er51D4=; b=ywf42vTr31jiAoVR0qihGTHBPQteOHsxabneqZcDj7zdB/I9y3JwkIw9kBIDQ9DBjgMg JKSdxO9wTIZuTC93kKxBzlTvVpnHNdF1wHLPDDejTPasFZ/rWB2kOyk5I9wN0kMWg9gNc OKI/IUL5oFqzlOFE71P5hPcwFaxyNM/3hni2aR3MajCm9Jmp6Zhq5aPRGpLHMHjk9E/ww n+nd1q2Wg2ooAPfYBCNWMPKH8OfmLHe7pvvT/2M7XQQDntrQs7e8EjQaB1M1MORUEg91a MvkQVsxWndVA0rgQ16DaFE4GhgVSdBJPl3+H8tehDeGDiZoNQdMPpLJix5r5GygHbNg== 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=lCizmUph; 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 CAC84606A325 for ; Thu, 19 Nov 2026 14:38:01 +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=lCizmUph Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA99E1F000C4; Thu, 19 Nov 2026 14:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099081; bh=1GSUgrU5hAYH/Tsz/VDq5dztQU9+853rM2J15er51D4=; h=From:To:Cc:Subject:Date:Reply-To; b=lCizmUphVtejd1GcwMj4LVDVrRPXnFVOxMJDOU++5NXDUt0K5cOLag/29N8n0hmoX S1mFd5N+XUi3R8nyArXHJDYsBG6MgDsZVaMJdfuiPfhvs/KLf4V4WdWLPTCBphVxV9 RVyMM9pVjm4dMHLdPVkhGp0BkqejU9z2VR0YSbao= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99339: KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak Date: Thu, 19 Nov 2026 15:23:57 +0100 Message-ID: <2026111945-CVE-2026-99339-57e5@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=2838; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UzzTQb6tT+YazNRX7qUJekKM5oo8yu5AxPuCdoro4Yc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Qr/VOxOvb3mSt2uS0veXzJZmHH/xk2rutP1Leesj k4/3BBp3BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATuT2FYcGuDx57az6ZvyvS cQra9btjq9YzCXeGBUslzD1fs4VqK/Swm1++vb+EictYFgA= 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: Zero reserved synic flags when delivering message to avoid stack leak Ensure all reserved flags are zeroed when setting the msg_pending flag as part of SynIC message delivery, as setting only msg_pending can leak seven bits of kernel stack data to the guest. E.g. gcc typically uses a bitwise-OR to set the msg_pending flag, without initializing the on-stack variable. Precisely zero the flags, e.g. as opposed to zeroing the entire structure, to make it somewhat more obvious that the flags *need* to be zeroed. E.g. it would be quite easy to misread the initial read of guest memory and think that zeroing the entire structure is completely superfluous. The Linux kernel CVE team has assigned CVE-2026-99339 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 3a0e7731724f6ac684129f1763eef4d2d3e7dec7 and fixed in 6.12.117 with commit fd7764eea189053ce6345950f11e4aeecd741fba Issue introduced in 5.0 with commit 3a0e7731724f6ac684129f1763eef4d2d3e7dec7 and fixed in 6.18.61 with commit ab15e4093e2aff170ea2087ab994f64530a13cba Issue introduced in 5.0 with commit 3a0e7731724f6ac684129f1763eef4d2d3e7dec7 and fixed in 7.3.2 with commit 416da9d1824cf34c709f3222f5012714810734dd Issue introduced in 5.0 with commit 3a0e7731724f6ac684129f1763eef4d2d3e7dec7 and fixed in 7.4-rc1 with commit 2616f497506a772db53e7bb1024cde50b4c165e0 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-99339 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/hyperv.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/fd7764eea189053ce6345950f11e4aeecd741fba https://git.kernel.org/stable/c/ab15e4093e2aff170ea2087ab994f64530a13cba https://git.kernel.org/stable/c/416da9d1824cf34c709f3222f5012714810734dd https://git.kernel.org/stable/c/2616f497506a772db53e7bb1024cde50b4c165e0