<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 14:44:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-52969 — KVM: Reject wrapped offset in kvm_reset_dirty_gfn()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-52969</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;KVM: Reject wrapped offset in kvm_reset_dirty_gfn()&lt;/p&gt;
&lt;p&gt;kvm_reset_dirty_gfn() guards the gfn range with&lt;/p&gt;
&lt;p&gt;if (!memslot || (offset + __fls(mask)) &amp;gt;= memslot-&amp;gt;npages)
		return;&lt;/p&gt;
&lt;p&gt;but offset is u64 and the addition is unchecked.  The check can be
silently bypassed by a u64 wrap.&lt;/p&gt;
&lt;p&gt;The dirty ring backing those entries is MAP_SHARED at
KVM_DIRTY_LOG_PAGE_OFFSET of the vcpu fd, so the VMM can rewrite the
slot and offset fields of any entry between when the kernel pushes
them and when KVM_RESET_DIRTY_RINGS consumes them.  On reset,
kvm_dirty_ring_reset() re-reads the values via READ_ONCE() and feeds
them straight back into this check; only the flags handshake is
treated as the handover, the slot/offset payload is taken on trust.&lt;/p&gt;
&lt;p&gt;Crafting two entries&lt;/p&gt;
&lt;p&gt;entry[i].offset   = 0xffffffffffffffc1
	entry[i+1].offset = 0&lt;/p&gt;
&lt;p&gt;makes the coalescing loop in kvm_dirty_ring_reset() compute&lt;/p&gt;
&lt;p&gt;delta = (s64)(0 - 0xffffffffffffffc1) = 63&lt;/p&gt;
&lt;p&gt;which falls in [0, BITS_PER_LONG), so it folds entry[i+1] into the
existing mask by setting bit 63.  The trailing kvm_reset_dirty_gfn()
call then sees offset = 0xffffffffffffffc1 and __fls(mask) = 63;
the sum is 0 in u64 and the bounds check passes.&lt;/p&gt;
&lt;p&gt;That offset propagates into kvm_arch_mmu_enable_log_dirty_pt_masked()
unchanged.  On the legacy MMU path -- kvm_memslots_have_rmaps() ==
true, i.e. shadow paging, any VM that has allocated shadow roots, or
a write-tracked slot -- it reaches gfn_to_rmap(), whi…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;KVM: Reject wrapped offset in kvm_reset_dirty_gfn()&lt;/p&gt;
&lt;p&gt;kvm_reset_dirty_gfn() guards the gfn range with&lt;/p&gt;
&lt;p&gt;if (!memslot || (offset + __fls(mask)) &amp;gt;= memslot-&amp;gt;npages)
		return;&lt;/p&gt;
&lt;p&gt;but offset is u64 and the addition is unchecked.  The check can be
silently bypassed by a u64 wrap.&lt;/p&gt;
&lt;p&gt;The dirty ring backing those entries is MAP_SHARED at
KVM_DIRTY_LOG_PAGE_OFFSET of the vcpu fd, so the VMM can rewrite the
slot and offset fields of any entry between when the kernel pushes
them and when KVM_RESET_DIRTY_RINGS consumes them.  On reset,
kvm_dirty_ring_reset() re-reads the values via READ_ONCE() and feeds
them straight back into this check; only the flags handshake is
treated as the handover, the slot/offset payload is taken on trust.&lt;/p&gt;
&lt;p&gt;Crafting two entries&lt;/p&gt;
&lt;p&gt;entry[i].offset   = 0xffffffffffffffc1
	entry[i+1].offset = 0&lt;/p&gt;
&lt;p&gt;makes the coalescing loop in kvm_dirty_ring_reset() compute&lt;/p&gt;
&lt;p&gt;delta = (s64)(0 - 0xffffffffffffffc1) = 63&lt;/p&gt;
&lt;p&gt;which falls in [0, BITS_PER_LONG), so it folds entry[i+1] into the
existing mask by setting bit 63.  The trailing kvm_reset_dirty_gfn()
call then sees offset = 0xffffffffffffffc1 and __fls(mask) = 63;
the sum is 0 in u64 and the bounds check passes.&lt;/p&gt;
&lt;p&gt;That offset propagates into kvm_arch_mmu_enable_log_dirty_pt_masked()
unchanged.  On the legacy MMU path -- kvm_memslots_have_rmaps() ==
true, i.e. shadow paging, any VM that has allocated shadow roots, or
a write-tracked slot -- it reaches gfn_to_rmap(), whi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-52969</guid>
    </item>
  </channel>
</rss>
