All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Kenta Akagi <k@mgml.me>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	stable@vger.kernel.org,  Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH 5.15.y v4 00/11] KVM: fixes for CVE-2026-46113 and related issues
Date: Mon, 28 Sep 2026 11:28:42 -0700	[thread overview]
Message-ID: <arqx2imW1-OL9IU6@google.com> (raw)
In-Reply-To: <20260928164427.4699-1-k@mgml.me>

On Tue, Sep 29, 2026, Kenta Akagi wrote:
> This is a backport of the CVE-2026-46113 and CVE-2026-53359 fixes to 5.15.y.
> 
> v2: https://lore.kernel.org/all/20260626174620.1819772-1-pbonzini@redhat.com/
> v3: https://lore.kernel.org/stable/20260913155523.7423-1-k@mgml.me/
> 
> Changes from v3:
> - Added patches 3-6 to backport the change from gpte_is_8_bytes to has_4_byte_gpte.
> - Adjusted patches 7-8 (patches 3/7 and 4/7 in v3) accordingly.
> 
> A regression has been reported in the backport of commit 0cb2af2ea66a
> ("KVM: x86: Fix shadow paging use-after-free due to unexpected GFN")
> [1], but the corresponding fix has already been merged into 5.15.218 [2].
> 
> [1] https://lore.kernel.org/kvm/20260630223723.83727-1-zcgao@amazon.com/
> [2] https://lore.kernel.org/stable/20260825132543.573783299@linuxfoundation.org/
> 
> David Matlack (2):
>   KVM: x86/mmu: Use a bool for direct
>   KVM: x86/mmu: Stop passing "direct" to mmu_alloc_root()
> 
> Lai Jiangshan (3):
>   KVM: X86: Remove useless code to set role.gpte_is_8_bytes when
>     role.direct
>   KVM: X86: Calculate quadrant when !role.gpte_is_8_bytes
>   KVM: X86: Rename gpte_is_8_bytes to has_4_byte_gpte and invert the
>     direction
> 
> Paolo Bonzini (5):
>   KVM: MMU: update comment on the number of page role combinations
>   KVM: x86/mmu: Derive shadow MMU page role from parent
>   KVM: x86/mmu: Always pass 0 for @quadrant when gptes are 8 bytes
>   KVM: x86/mmu: pull call to drop_large_spte() into __link_shadow_page()
>   KVM: x86: Fix shadow paging use-after-free due to unexpected role
> 
> Sean Christopherson (1):
>   KVM: x86: Fix shadow paging use-after-free due to unexpected GFN
> 
>  Documentation/virt/kvm/mmu.rst  |   8 +-
>  arch/x86/include/asm/kvm_host.h |  32 +++---
>  arch/x86/kvm/mmu/mmu.c          | 184 ++++++++++++++++++++------------
>  arch/x86/kvm/mmu/mmutrace.h     |   2 +-
>  arch/x86/kvm/mmu/paging_tmpl.h  |  32 +++---
>  arch/x86/kvm/mmu/spte.h         |   5 +
>  arch/x86/kvm/mmu/tdp_mmu.c      |   2 +-
>  7 files changed, 159 insertions(+), 106 deletions(-)

With the disclaimer that I didn't do extensive testing...

Acked-by: Sean Christopherson <seanjc@google.com>

  parent reply	other threads:[~2026-09-28 18:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28 16:44 [PATCH 5.15.y v4 00/11] KVM: fixes for CVE-2026-46113 and related issues Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 01/11] KVM: x86/mmu: Use a bool for direct Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 02/11] KVM: x86/mmu: Stop passing "direct" to mmu_alloc_root() Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 03/11] KVM: MMU: update comment on the number of page role combinations Kenta Akagi
2026-09-28 16:52   ` sashiko-bot
2026-09-28 16:44 ` [PATCH 5.15.y v4 04/11] KVM: X86: Remove useless code to set role.gpte_is_8_bytes when role.direct Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 05/11] KVM: X86: Calculate quadrant when !role.gpte_is_8_bytes Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 06/11] KVM: X86: Rename gpte_is_8_bytes to has_4_byte_gpte and invert the direction Kenta Akagi
2026-09-28 16:55   ` sashiko-bot
2026-09-28 16:44 ` [PATCH 5.15.y v4 07/11] KVM: x86/mmu: Derive shadow MMU page role from parent Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 08/11] KVM: x86/mmu: Always pass 0 for @quadrant when gptes are 8 bytes Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 09/11] KVM: x86/mmu: pull call to drop_large_spte() into __link_shadow_page() Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 10/11] KVM: x86: Fix shadow paging use-after-free due to unexpected GFN Kenta Akagi
2026-09-28 16:44 ` [PATCH 5.15.y v4 11/11] KVM: x86: Fix shadow paging use-after-free due to unexpected role Kenta Akagi
2026-09-28 18:28 ` Sean Christopherson [this message]
2026-09-28 22:39 ` [PATCH 5.15.y v4 00/11] KVM: fixes for CVE-2026-46113 and related issues Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=arqx2imW1-OL9IU6@google.com \
    --to=seanjc@google.com \
    --cc=k@mgml.me \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.