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 F1B80374A08 for ; Sun, 18 Oct 2026 15:20:26 +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=1792336828; cv=none; b=N7eQAkO7bGUF3gqHre1mFRarasRfLQtHmiJ3YnhPT3b6o6uOW1GR7AvgfwmpPSzSKicQf1je411P4eJSjycO+qig9D6tmXX8iy2DgivqIFwWoQQ6DIPU/kEXemEM1DJdJMGbXyB8gsMl7T9b1CR9NWEUbRSv81tK9tMWO7qszfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336828; c=relaxed/simple; bh=mc/5afn9J08uCs5fasod5tKSFP2ft5tlMNCpcoD3Wkc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JBrKI8FM7N6zXTUBeLUpW9g6bocoSDU9KClSpu8+vSN9HxvFETkYPrq5A0IdphhY9l7blhoslv8xzRujIWSNUZMCjliVDeKiONVUc1CuxWMIxajWdE+TD4UP04X/R5+LnlTOVJgoHz9KfloUIlh+16ZRGVYt455Z09hKQxXGIvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=U1/SphzT; 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="U1/SphzT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 072E61F000C4; Sun, 18 Oct 2026 15:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336826; bh=RUVaL3u4aq+dJZfAo6GPI0F3hDizjG1IBYG+sKAbeW0=; h=From:To:Cc:Subject:Date:Reply-To; b=U1/SphzTZT8NeCDV86Rb8Uw0PfUMtyJfkWr6vcVmf0iWou5t7qY0E+4s2+dFOZgHs bHlASr1N/9PFy1TpuMbaJtzlh7Z7X7A+rwawAYT22Kwy39RA0rzAtBSN0qHsvOcuNS tLvOBBr3Z5LxjPUu2PTvuI+C8HJfzPAdgPVgb+3s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98471: KVM: SEV: Do cache maintenance on the source VM during intra-host migration Date: Sun, 18 Oct 2026 17:15:35 +0200 Message-ID: <2026101812-CVE-2026-98471-4389@gregkh> X-Mailer: git-send-email 2.56.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=2813; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=E5d92UGMqmVD29f6CWr/BQ+C4IHb6dJW4X/G1Nm/wtc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHjU4RKcG7Vqo1nOfxb0i5Xp59pkdGZM/Fap5vbzxt LB33/+SjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAbjIW4b5Di/sjLKvTJ9+35g9 Y67xs6ezG3bGM8wVmRYSwZ/5vsHn6KeHrKcvnQhlvtAHAA== 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: Do cache maintenance on the source VM during intra-host migration Manually perform cache maintenance on the source VM during intra-host migration to ensure no stale data is left in CPU caches after the VM is destroyed. Because the source VM is "converted" to a non-SEV VM, KVM's memory reclaim flows won't trigger cache maintenance, e.g. when all guest memory is reclaimed in response to detaching from the mmu_notifier. Note, relying on the destination VM to do cache maintenance isn't an option as KVM doesn't require identical guest memory configurations, i.e. the source VM may have access to memory that the destination VM does not. Enforcing equivalent memory configurations is infeasible, as it would require a *deep* comparison of memslots, e.g. to verify that not only are the memslot identical, but what the memslots point at is also identical. The Linux kernel CVE team has assigned CVE-2026-98471 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit b56639318bb2be66aceba92836279714488709b4 and fixed in 6.18.55 with commit 37dfb676fafd1eef36fe0bb649607afbb0d5521b Issue introduced in 5.16 with commit b56639318bb2be66aceba92836279714488709b4 and fixed in 7.2.9 with commit d4cc2dff12116a700add601c0262132cc26e1b2c Issue introduced in 5.16 with commit b56639318bb2be66aceba92836279714488709b4 and fixed in 7.3-rc5 with commit 93de2a6a4b91b72607136dd656edf03fb399d27f 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-98471 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/37dfb676fafd1eef36fe0bb649607afbb0d5521b https://git.kernel.org/stable/c/d4cc2dff12116a700add601c0262132cc26e1b2c https://git.kernel.org/stable/c/93de2a6a4b91b72607136dd656edf03fb399d27f