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 DFB5036A369 for ; Sat, 15 Aug 2026 06:20:38 +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=1786774840; cv=none; b=g5nsaBep9m2JW2MyBGxNas/7xKUIdyDfnprjHUTWSia+FOWssNuWWxNd777fnLqwihjdtaqushrFgFkwiGRhCBV8uEiH+4VTmXdMGk9YzmCRrzqjJWHDvTI5S1mtjD2/vLPk6jaEw2qE6PVBd55j9FwuE5EQ7mohJwGMjdKXiII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774840; c=relaxed/simple; bh=6MF7eG5pgxg7OfPNstmCNgDw+7t0ve3cVeKEHCEBpzQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qZjWVBrNSJauFOFD11bvUyGv8oTPNyE2y1gXx22NPdtbOxKBG3kwfCKHf55t+iBcwV6CjB+DCDM5vIwBrX+gV9tOnSQV/1w4uH1EcBX/QPPy6nxmScNDwGZjMSmrmETLfzIO3xuZI56jb39vGh+IehxUD96mvqr9skchLbsn7do= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z9xaOPLN; 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="Z9xaOPLN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43FFB1F000E9; Sat, 15 Aug 2026 06:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774838; bh=4hcjwmaF+vzXFUYc3+0yCeqd0M/A+u2LgnS8YpVBV+o=; h=From:To:Cc:Subject:Date:Reply-To; b=Z9xaOPLNr900johuAQOAqA2W8e92hIszpgxgtbFIfqnpGZD30GoqcfII51tJIwS1O HYD5gOs+1S/RvFPlR5VsQVm8YJKjeXFi7DFwm5WxAe4oUm6d7J86/8tuKu3xiscTNC Yde0VIGS9LQu4/PiKPQYpltz0jQzBjmmgK82UwQg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72287: KVM: nVMX: Move vTPR vs. TPR Threshold consistency check into "normal" checks Date: Sat, 15 Aug 2026 15:06:06 +0900 Message-ID: <2026081500-CVE-2026-72287-f076@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=3126; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MFNttLc194KjxGrMHnLjmM2+AON3+rBoYn8UrKIDIJY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDDeSV5/uOriuUkPqc6hAscbmN9f3pho/Enfxur70k MBkN+38jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYjDDPAu+xff0jvSuZBe8 dfFGCMvG13NaXzLMlXqdVrVdUMTj78lnSTIZLld6DWyUAQ== 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: nVMX: Move vTPR vs. TPR Threshold consistency check into "normal" checks Move the off-by-default consistency check for vmcs12.tpr_threshold vs. the virtual APIC vTPR into the "normal" controls checks, as waiting until KVM has loaded some amount of state is unnecessary and actively dangerous. Specifically, failure to unwind vmcs01.GUEST_CR3 to KVM's value when EPT is disabled results in KVM running L1 with an L1-controlled CR3, not with KVM's CR3! Alternatively, KVM could simply reset the MMU to force a reload of vmcs01.GUEST_CR3, but the _only_ reason the check was shoved into a "late" flow was to wait until the vmcs12 pages were retrieved. Rather than build up more crusty code, simply access vTPR using a regular guest memory access (performance isn't a concern). To circumvent the restrictions that led to KVM deferring nested_get_vmcs12_pages(), (a) use a VM-scoped API to read guest memory so that it always hits non-SMM memslots (for RSM), and (b) skip the check (since its off-by-default anyways) when the vCPU doesn't want to run, i.e. when userspace is restoring/stuffing state. If reading guest memory fails, simply skip the consistency check, as KVM's de facto ABI is that VMX instruction accesses to non-existent memory get PCI Bus Error semantics, where reads return 0xFFs. And if vTPR=0xFF, then the vTPR is guaranteed to be greater than or equal to TPR_THRESHOLD. The Linux kernel CVE team has assigned CVE-2026-72287 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 1100e4910ad207bc00aedc8dfdb228dd1b81f310 and fixed in 7.1.5 with commit 7d066368f72e6192af7e21c5817626f6da666991 Issue introduced in 6.19 with commit 1100e4910ad207bc00aedc8dfdb228dd1b81f310 and fixed in 7.2-rc4 with commit ebdac7554abb347ca4197be241116842161acd9b 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-72287 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/vmx/nested.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/7d066368f72e6192af7e21c5817626f6da666991 https://git.kernel.org/stable/c/ebdac7554abb347ca4197be241116842161acd9b