<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 24 Oct 2026 17:11:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98927 — KVM: arm64: nv: Fix life cycle of the nested_mmus array</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98927</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;KVM: arm64: nv: Fix life cycle of the nested_mmus array&lt;/p&gt;
&lt;p&gt;The nested_mmus array holds the shadow page tables that are used when
a guest is running a nested context. These structures are allocated on
VCPU_INIT for whole guest, which implies that they may have to be
relocated as the array grows.&lt;/p&gt;
&lt;p&gt;Should a VCPU_INIT occur whilst a vcpu is actively running an L2 and
that the allocation requires relocation, that vcpu will still be
running with a pointer to the previous structure, which will have been
freed.&lt;/p&gt;
&lt;p&gt;Fix this by turning the array of structures to an array of pointers,
which is now allocated at VM creation, sized to the absolute maximum
that KVM can handle.&lt;/p&gt;
&lt;p&gt;In turn, each VCPU_INIT contributes S2_MMU_PER_VCPU to the pool. No
reallocation is ever performed, and the life cycle of each object is
much clearer:&lt;/p&gt;
&lt;p&gt;- the nested_mmus array is allocated in kvm_init_nested(), and freed
  in kvm_arch_destroy_vm()&lt;/p&gt;
&lt;p&gt;- s2_mmu structures are allocated in kvm_vcpu_init_nested(), and freed
  on kvm_arch_flush_shadow_all()&lt;/p&gt;
&lt;p&gt;Finally, the freeing of vcpu-&amp;gt;arch.vncr_array is made consistent
rather than being done on some failure paths, but not others.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;KVM: arm64: nv: Fix life cycle of the nested_mmus array&lt;/p&gt;
&lt;p&gt;The nested_mmus array holds the shadow page tables that are used when
a guest is running a nested context. These structures are allocated on
VCPU_INIT for whole guest, which implies that they may have to be
relocated as the array grows.&lt;/p&gt;
&lt;p&gt;Should a VCPU_INIT occur whilst a vcpu is actively running an L2 and
that the allocation requires relocation, that vcpu will still be
running with a pointer to the previous structure, which will have been
freed.&lt;/p&gt;
&lt;p&gt;Fix this by turning the array of structures to an array of pointers,
which is now allocated at VM creation, sized to the absolute maximum
that KVM can handle.&lt;/p&gt;
&lt;p&gt;In turn, each VCPU_INIT contributes S2_MMU_PER_VCPU to the pool. No
reallocation is ever performed, and the life cycle of each object is
much clearer:&lt;/p&gt;
&lt;p&gt;- the nested_mmus array is allocated in kvm_init_nested(), and freed
  in kvm_arch_destroy_vm()&lt;/p&gt;
&lt;p&gt;- s2_mmu structures are allocated in kvm_vcpu_init_nested(), and freed
  on kvm_arch_flush_shadow_all()&lt;/p&gt;
&lt;p&gt;Finally, the freeing of vcpu-&amp;gt;arch.vncr_array is made consistent
rather than being done on some failure paths, but not others.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98927</guid>
    </item>
  </channel>
</rss>
