Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C17B3A0E99 for ; Sun, 19 Jul 2026 15:00:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473221; cv=none; b=hauYkNrI6U+bwVg9pK1qx8JJZaq/0dW+y5awu9Sf+Ot6JAMcGvNsNxPtf3fgVmOo8YqoP83Zj2qNndmaRojJ1ol8kHJsT/Y9NDlkLI48xGTBi6tL27HTzKxUgp1oV6AVM5J7kIjTH8qdNk7B5BceneyJ4oG6uUjv5ZpwQAPSA1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473221; c=relaxed/simple; bh=ViR6B9fgiwRrOqtbU3f9/9yhY9Kv/PmQ246sgs7/bbA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b2lLtui5nm8ZSTuXHXb21/0yfIc32ofxW81HztAIWJs7bYyPfzjbTqWEOOwIr+qXt1IKG/9kgK3IBnZj/EWdeYm23VLZiwXFzVd2KvKUA9/wPVS3Oo+/Vt1GKAvG4wwqRIFmZ8QFtcV6wN/semJYmG8c1ZcjPEIzlnqngXHeOAQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Tz0BH7Xo; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Tz0BH7Xo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6ACDA1F000E9; Sun, 19 Jul 2026 15:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473220; bh=89t5RNlPAaonBxNwbf4pA1jMnMsHNYr8uvgIALISSIk=; h=From:To:Cc:Subject:Date:Reply-To; b=Tz0BH7XoNutz6FsslzYwXtiHfOHle9kk6lviyloa/fbPOkPItNmLHQPBG4SeF0+dr 7aYqCEITwdbK30fiSsRcqYCe3S4o+ZoBLi/By6F/+JsXi/uJD0kKuCa/TW7iGQlnG4 XOHkKjGUr4dHI8Wt6O1VenpROaEt+qNcCMCgaaBk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63937: KVM: SEV: Use READ_ONCE() when reading entries/indices from PSC buffer Date: Sun, 19 Jul 2026 16:56:37 +0200 Message-ID: <2026071951-CVE-2026-63937-80da@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2625; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BzST4IglrmGiV1J80YTqFXpT2DG3Lw4n/Ul1y0aVknA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxTytuXo2w+Dw79oydxLlr6gzXXs198lW3do9pWL/rq 1M/vvp+74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJVNcyLFg8V8xOXW52+ov+ b+t/rLL+U3Zl2xSGBa3B84o2O98pWSv99bx/aLOYu1ZTAgA= 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: Use READ_ONCE() when reading entries/indices from PSC buffer Use READ_ONCE() when reading entries/indices from the guest-accessible Page State Change buffer to defend against TOCTOU bugs. Don't bother with READ_ONCE()/WRITE_ONCE() for cases where KVM is writing (and not consuming the result!), as the guest isn't supposed to touch the buffer while it's being processed. I.e. using READ_ONCE() is all about protecting against misbehaving guests. The Linux kernel CVE team has assigned CVE-2026-63937 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 9b54e248d2644be71cb394eb85f31ad99e023a05 and fixed in 6.12.93 with commit bd232801ef1d1fd985d2d4ca3cd1d888303ca86f Issue introduced in 6.11 with commit 9b54e248d2644be71cb394eb85f31ad99e023a05 and fixed in 6.18.35 with commit b1dfaa6f7a957726a6800135be3659fbe4bbf2a4 Issue introduced in 6.11 with commit 9b54e248d2644be71cb394eb85f31ad99e023a05 and fixed in 7.0.12 with commit edbbe88f83b524434974e84808d3093199d67c24 Issue introduced in 6.11 with commit 9b54e248d2644be71cb394eb85f31ad99e023a05 and fixed in 7.1 with commit c8cc238093ca6c99267032f6cfe78f59389f3157 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-63937 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/bd232801ef1d1fd985d2d4ca3cd1d888303ca86f https://git.kernel.org/stable/c/b1dfaa6f7a957726a6800135be3659fbe4bbf2a4 https://git.kernel.org/stable/c/edbbe88f83b524434974e84808d3093199d67c24 https://git.kernel.org/stable/c/c8cc238093ca6c99267032f6cfe78f59389f3157