* [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
@ 2026-06-26 17:46 Paolo Bonzini
2026-06-27 16:35 ` Sasha Levin
0 siblings, 1 reply; 8+ messages in thread
From: Paolo Bonzini @ 2026-06-26 17:46 UTC (permalink / raw)
To: linux-kernel, kvm, stable
Sasha, Greg,
this is the backport to 5.15 for the above CVE. The fix was relatively
simple upstream but only due to years of refactoring and cleaning up
of the code; fixing from scratch is not really feasible so start by
applying the patches that are needed.
Please apply this instead of v1, due to a missing line in the last
patch. Sorry about that.
Paolo
David Matlack (2):
KVM: x86/mmu: Use a bool for direct
KVM: x86/mmu: Stop passing "direct" to mmu_alloc_root()
Paolo Bonzini (5):
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 (2):
KVM: x86: Fix shadow paging use-after-free due to unexpected GFN
KVM: x86/mmu: Ensure hugepage is in by slot before checking max
mapping level
arch/x86/kvm/mmu/mmu.c | 192 +++++++++++++++++++++------------
arch/x86/kvm/mmu/paging_tmpl.h | 30 +++---
arch/x86/kvm/mmu/spte.h | 5 +
arch/x86/kvm/vmx/vmx_ops.h | 3 +-
include/linux/kvm_host.h | 7 +-
5 files changed, 147 insertions(+), 90 deletions(-)
--
2.54.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
2026-06-26 17:46 Paolo Bonzini
@ 2026-06-27 16:35 ` Sasha Levin
2026-07-10 5:52 ` Kenta Akagi
0 siblings, 1 reply; 8+ messages in thread
From: Sasha Levin @ 2026-06-27 16:35 UTC (permalink / raw)
To: linux-kernel, kvm, stable; +Cc: Sasha Levin, Paolo Bonzini
On Fri, 26 Jun 2026 19:46 +0200, Paolo Bonzini <pbonzini@redhat.com> wrote:
> [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
> Please apply this instead of v1, due to a missing line in the last patch.
Queued the v2 series for 5.15.
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
2026-06-27 16:35 ` Sasha Levin
@ 2026-07-10 5:52 ` Kenta Akagi
2026-07-10 21:24 ` Sasha Levin
0 siblings, 1 reply; 8+ messages in thread
From: Kenta Akagi @ 2026-07-10 5:52 UTC (permalink / raw)
To: sashal, linux-kernel, kvm, stable; +Cc: Paolo Bonzini
On 2026/06/28 1:35, Sasha Levin wrote:
> On Fri, 26 Jun 2026 19:46 +0200, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
>> Please apply this instead of v1, due to a missing line in the last patch.
>
> Queued the v2 series for 5.15.
Hi Sasha,
It looks like 5.15.211 (released on July 4th) does not include this patch
series, and I don't see it in stable-queue/queue-5.15 either.
stable-queue$ rg -l "KVM: x86: Fix shadow paging use-after-free due to unexpected role" | sort -V
releases/6.1.177/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
releases/6.6.144/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
releases/6.12.95/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
releases/6.18.38/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
releases/7.1.3/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
Could you please take a look?
Thanks,
Akagi
>
> --
> Thanks,
> Sasha
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
2026-07-10 5:52 ` Kenta Akagi
@ 2026-07-10 21:24 ` Sasha Levin
0 siblings, 0 replies; 8+ messages in thread
From: Sasha Levin @ 2026-07-10 21:24 UTC (permalink / raw)
To: Kenta Akagi; +Cc: linux-kernel, kvm, stable, Paolo Bonzini
On Fri, Jul 10, 2026 at 05:52:30AM +0000, Kenta Akagi wrote:
>On 2026/06/28 1:35, Sasha Levin wrote:
>> On Fri, 26 Jun 2026 19:46 +0200, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>> [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
>>> Please apply this instead of v1, due to a missing line in the last patch.
>>
>> Queued the v2 series for 5.15.
>
>Hi Sasha,
>
>It looks like 5.15.211 (released on July 4th) does not include this patch
>series, and I don't see it in stable-queue/queue-5.15 either.
>
>stable-queue$ rg -l "KVM: x86: Fix shadow paging use-after-free due to unexpected role" | sort -V
>releases/6.1.177/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
>releases/6.6.144/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
>releases/6.12.95/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
>releases/6.18.38/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
>releases/7.1.3/kvm-x86-fix-shadow-paging-use-after-free-due-to-unex.patch
>
>Could you please take a look?
There were some issues found in this series, so we're waiting for a v2.
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
@ 2026-07-23 6:36 Sergey Senozhatsky
2026-07-23 9:36 ` Paolo Bonzini
0 siblings, 1 reply; 8+ messages in thread
From: Sergey Senozhatsky @ 2026-07-23 6:36 UTC (permalink / raw)
To: pbonzini; +Cc: kvm, linux-kernel, stable, senozhatsky
> Sasha, Greg,
>
> this is the backport to 5.15 for the above CVE. The fix was relatively
> simple upstream but only due to years of refactoring and cleaning up
> of the code; fixing from scratch is not really feasible so start by
> applying the patches that are needed.
>
> Please apply this instead of v1, due to a missing line in the last
> patch. Sorry about that.
Sorry for the noise, has this series stuck?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
2026-06-26 11:26 [PATCH 5.10.y 00/17] " Paolo Bonzini
@ 2026-07-23 6:39 ` Sergey Senozhatsky
2026-07-23 7:43 ` Greg KH
0 siblings, 1 reply; 8+ messages in thread
From: Sergey Senozhatsky @ 2026-07-23 6:39 UTC (permalink / raw)
To: Sergey Senozhatsky; +Cc: pbonzini, kvm, linux-kernel, stable
On (26/07/23 15:36), Sergey Senozhatsky wrote:
> > Sasha, Greg,
> >
> > this is the backport to 5.15 for the above CVE. The fix was relatively
> > simple upstream but only due to years of refactoring and cleaning up
> > of the code; fixing from scratch is not really feasible so start by
> > applying the patches that are needed.
> >
> > Please apply this instead of v1, due to a missing line in the last
> > patch. Sorry about that.
>
> Sorry for the noise, has this series stuck?
Sorry, forgot to set proper In-Reply-To [1]
https://lore.kernel.org/stable/20260626174620.1819772-1-pbonzini@redhat.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
2026-07-23 6:39 ` [PATCH 5.15.y v2 0/8] " Sergey Senozhatsky
@ 2026-07-23 7:43 ` Greg KH
0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2026-07-23 7:43 UTC (permalink / raw)
To: Sergey Senozhatsky; +Cc: pbonzini, kvm, linux-kernel, stable
On Thu, Jul 23, 2026 at 03:39:15PM +0900, Sergey Senozhatsky wrote:
> On (26/07/23 15:36), Sergey Senozhatsky wrote:
> > > Sasha, Greg,
> > >
> > > this is the backport to 5.15 for the above CVE. The fix was relatively
> > > simple upstream but only due to years of refactoring and cleaning up
> > > of the code; fixing from scratch is not really feasible so start by
> > > applying the patches that are needed.
> > >
> > > Please apply this instead of v1, due to a missing line in the last
> > > patch. Sorry about that.
> >
> > Sorry for the noise, has this series stuck?
>
> Sorry, forgot to set proper In-Reply-To [1]
>
> https://lore.kernel.org/stable/20260626174620.1819772-1-pbonzini@redhat.com/
>
It needs backports for newer kernels first, right? These seem to have
gotten stuck somewhere, they are gone from our review queues and so need
to be fixed up based on the review and resent if anyone wants them
applied.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues
2026-07-23 6:36 [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues Sergey Senozhatsky
@ 2026-07-23 9:36 ` Paolo Bonzini
0 siblings, 0 replies; 8+ messages in thread
From: Paolo Bonzini @ 2026-07-23 9:36 UTC (permalink / raw)
To: Sergey Senozhatsky; +Cc: kvm, Kernel Mailing List, Linux, stable
Il gio 23 lug 2026, 08:36 Sergey Senozhatsky
<senozhatsky@chromium.org> ha scritto:
>
> > Sasha, Greg,
> >
> > this is the backport to 5.15 for the above CVE. The fix was relatively
> > simple upstream but only due to years of refactoring and cleaning up
> > of the code; fixing from scratch is not really feasible so start by
> > applying the patches that are needed.
> >
> > Please apply this instead of v1, due to a missing line in the last
> > patch. Sorry about that.
>
> Sorry for the noise, has this series stuck?
It had a regression and while there was a suggestion about how to fix
it, nobody had time to verify it.
(https://lore.kernel.org/kvm/20260630223723.83727-1-zcgao@amazon.com/)
Stable releases, especially the older ones, are best effort. If you
want them to be free of these vulnerabilities, please contribute to
that effort with backports and tests.
Paolo
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-07-23 9:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 6:36 [PATCH 5.15.y v2 0/8] KVM: fixes for CVE-2026-46113 and related issues Sergey Senozhatsky
2026-07-23 9:36 ` Paolo Bonzini
-- strict thread matches above, loose matches on Subject: below --
2026-06-26 17:46 Paolo Bonzini
2026-06-27 16:35 ` Sasha Levin
2026-07-10 5:52 ` Kenta Akagi
2026-07-10 21:24 ` Sasha Levin
2026-06-26 11:26 [PATCH 5.10.y 00/17] " Paolo Bonzini
2026-07-23 6:39 ` [PATCH 5.15.y v2 0/8] " Sergey Senozhatsky
2026-07-23 7:43 ` Greg KH
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.