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=1793187627; b=HrfU6QXSPKFW/9Ii+7EfoSenl+LGLqofFa7KdM+Der1ktMtfmy0ZfxqvQpJIMWrIJCtv /Y8Shm+nhJA+F4DRUZDljHHgjRq/tHSO11tPVASgya5sRp4q8mIE3De96l7paa5kkmh73 4zXLAZ9OGwZIJ2lhyHlEr0skaRMrMe4KDZFOYX3fTlOhdSiRpRqTHAIUeiUZmKVgsPhkb AqIVEaxtn+WuHDcJQtVNu6eaCVo5ueG65nkVrA/nCDLxL+T45croGTGEOJ6Gg3kj7b5OA nNYApJ67zfO2iGdlR/JAlxKYFWPTbOYJkT8yRQkpNUYetZy5iyQkJlzoTS2ZnMyWMhw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187627; 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=1V1JNvQkhpb660SWa6De3FV85Sv59MHqBa8RbjxG6sg=; b=o7hu45nzV9CYA947Hrts1TjPe83ZJ85bhyb8pHVq2SgiePck5phYHbFjRYEW+Fh+bjAW zVnYdQacgQWoNcdk2IDMidiQaPbguNDQvWN+LwzBDzIYEOd8sEDMitF5f/vMlOMGY0Jtk unGjVP7FrLVjSHqBDD3D0LvF9x4eMheNtSoa4Nrra4GsbfJoLFKKNxxJk1CfQU9yPxXK/ KiPFZQ7Hc8ZWXsxw+ggNlJEpa6tZ/Fdx4IAK8FOHHieWxJceX6ogXMpEy3cUIYfaJMb3i 5SvNiegmrPV5OdqwDwIgXjNtmLYq6/LSWRATdleFU9wvOPB1xVLUJIL2U7EfIo7G1GQ== 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=M17whCW7; 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 2CC9B606A31A for ; Wed, 28 Oct 2026 11:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=M17whCW7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 636E61F01825; Wed, 28 Oct 2026 11:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187627; bh=1V1JNvQkhpb660SWa6De3FV85Sv59MHqBa8RbjxG6sg=; h=From:To:Cc:Subject:Date:Reply-To; b=M17whCW77oMGOV/pXl7/RKScSFYGSjiqoUvojjhZqJKzkizN1OCj2NxEsZAGbRONj cMGZbjIBWempGzl8NRZhK1qPcvuSEgHW9e5PH3lJnWq5htaaffruMNQDLbQFzcEnKI 7+lzFv/6AGhogtuYPzEHfoWw/oVlHZyyGpncCMys= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99177: KVM: SEV: Fix page dirtying in sev_gmem_post_populate() Date: Wed, 28 Oct 2026 11:36:04 +0100 Message-ID: <2026102809-CVE-2026-99177-67d6@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=2021; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RJ6eatG8x8oYpzWsOX+S1POW8nBVXRtlaeVne7a0gmY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz99tfsx4/8L219dNLY5en/l22tS4J3f2hdXN63xmw Po19B/7jo5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYiLMUw4Jjh4yfx6/cfVCF 9/ehJwxps+09bTUYFqzzsZtQq3H/V7/+YpnfM+dl3zPI+wQA 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: SEV: Fix page dirtying in sev_gmem_post_populate() set_page_dirty() requires that the caller holds some kind of lock to ensure that the page's mapping does not concurrently go away. That is not the case for a random page we got from get_user_pages_fast(), so use set_page_dirty_lock(). [sean: tag for stable] The Linux kernel CVE team has assigned CVE-2026-99177 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit 97cd21d57e9bd2da79845178d9250cfd19289cd4 and fixed in 7.2.13 with commit 184382f9852d433af21de96c334ecf43b8414ed8 Issue introduced in 7.2 with commit 97cd21d57e9bd2da79845178d9250cfd19289cd4 and fixed in 7.3 with commit 97818b2fa7082e940ddd36dab12a68615300e798 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-99177 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/svm/sev.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/184382f9852d433af21de96c334ecf43b8414ed8 https://git.kernel.org/stable/c/97818b2fa7082e940ddd36dab12a68615300e798