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 6CDAD5158AC for ; Tue, 29 Sep 2026 12:02: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=1790683341; cv=none; b=oWXlqxcNxtqjbXBTyKu1yLgstzHnRtfoGCtDeymTfS4N195nSGAzcV0DYIkPhXp0MM3kEYzgBKTK8/kv7wnIEkc9LFQ83ScUSZOBxGGt7Cni3ilw9relGutfn+ciV5ZbRzk1JW0jRJqp6TFzeU4erleZ9lbD4eQ2rKcXMYeYE0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790683341; c=relaxed/simple; bh=zMuEWuiIkxSRArw6/p8LiCxPKJ5laIE7+CIzCbTpcr4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AEGpkqiVnqzs0mp+KfV/A97of8ZQjitgHriQYLYah8nQHP+GrXX3x77vHldP1o59GI28t1CfangKPA5xmkyv9vdC358VvLGjp7hbpOMwChDhU3k7Lyr5/jqbsQLnApv4nmsx7GPFBwr3wsX7qggwvTlWNiaeZk9cD4XEHzW/VLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rMWlB19l; 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="rMWlB19l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8D341F000FF; Tue, 29 Sep 2026 12:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790683340; bh=Cw3qnMg7AuNBziwuq+FjoSSPldOZgAg7Ng92oTOsI6E=; h=From:To:Cc:Subject:Date:Reply-To; b=rMWlB19l468sZaNGvidSfokFLkELxmBbuCx79267cJVLtq4x+gNvK5e6t5eTvdzT2 8g7IINfj6btsbYlPcjpG7fYCxSqFCVafaCNsJ14P87MdOzt9fe4cCIuXn6ukfIm41H AfxyEmkrIDEt47eeksfejTmBhff8bNzpXkbYfaco= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98164: KVM: x86/mmu: Check write tracking in all address spaces Date: Tue, 29 Sep 2026 14:02:13 +0200 Message-ID: <2026092912-CVE-2026-98164-5b58@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=3319; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CKu7ha0tYZeFl53fJVTZhBdyrNORlYEYOMkhh8A38Js=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm7Vxz5JmLQLCTRecUy63ZTWXLNkqK/Gx4aNunZvGF8/ kZNadbnjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI7gqGBQvaDFOyzTiTbfNF O2YkP3VMk5bTZZjvbWuVxmUqWlez0nqlxbd4y1vtbxUB 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/mmu: Check write tracking in all address spaces kvm_gfn_is_write_tracked() checks only the supplied memslot, but page tracking is per-address-space and shadow pages are shared across all address spaces. With SMM, a GFN can therefore be write-tracked in one address space and appear untracked through the other. Check the supplied slot first, then the slot for the other address space. This ensures all callers honor write tracking regardless of the active address space. In particular, it prevents mmu_try_to_unsync_pages() from marking an upper-level shadow page unsync and eventually triggering the BUG in pte_list_remove(). [invert direction of the conditional. - Paolo] The Linux kernel CVE team has assigned CVE-2026-98164 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 699023e239658e62da6f42f47d31b54788521ec1 and fixed in 6.1.187 with commit 09aa68552d2542cc6c23edd1568ac265dc5d886f Issue introduced in 4.2 with commit 699023e239658e62da6f42f47d31b54788521ec1 and fixed in 6.6.156 with commit 429b6f43b4d8c98988fdca99e02dc156134e3d77 Issue introduced in 4.2 with commit 699023e239658e62da6f42f47d31b54788521ec1 and fixed in 6.12.108 with commit d8636c8f9f95d0fd1e2f6f1cad0d5757aa6f212a Issue introduced in 4.2 with commit 699023e239658e62da6f42f47d31b54788521ec1 and fixed in 6.18.49 with commit c0a9bd5fca0b5f2dea32b0fc31350e71e8648112 Issue introduced in 4.2 with commit 699023e239658e62da6f42f47d31b54788521ec1 and fixed in 7.1.13 with commit ec8fcaf354c1cbb36755d48e9f5a00c9591349e5 Issue introduced in 4.2 with commit 699023e239658e62da6f42f47d31b54788521ec1 and fixed in 7.2 with commit 0f38453cdb2e17566ccb7c0f3dabd5bd21caca26 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-98164 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/mmu/page_track.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/09aa68552d2542cc6c23edd1568ac265dc5d886f https://git.kernel.org/stable/c/429b6f43b4d8c98988fdca99e02dc156134e3d77 https://git.kernel.org/stable/c/d8636c8f9f95d0fd1e2f6f1cad0d5757aa6f212a https://git.kernel.org/stable/c/c0a9bd5fca0b5f2dea32b0fc31350e71e8648112 https://git.kernel.org/stable/c/ec8fcaf354c1cbb36755d48e9f5a00c9591349e5 https://git.kernel.org/stable/c/0f38453cdb2e17566ccb7c0f3dabd5bd21caca26