<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T06:08:06.426687+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-52969</id>
    <title>CVE-2026-52969 — KVM: Reject wrapped offset in kvm_reset_dirty_gfn()</title>
    <updated>2026-09-28T06:08:06.758548+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> 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</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>KVM: Reject wrapped offset in kvm_reset_dirty_gfn()</p>
<p>kvm_reset_dirty_gfn() guards the gfn range with</p>
<p>if (!memslot || (offset + __fls(mask)) &gt;= memslot-&gt;npages)
		return;</p>
<p>but offset is u64 and the addition is unchecked.  The check can be
silently bypassed by a u64 wrap.</p>
<p>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.</p>
<p>Crafting two entries</p>
<p>entry[i].offset   = 0xffffffffffffffc1
	entry[i+1].offset = 0</p>
<p>makes the coalescing loop in kvm_dirty_ring_reset() compute</p>
<p>delta = (s64)(0 - 0xffffffffffffffc1) = 63</p>
<p>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.</p>
<p>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…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-52969"/>
  </entry>
</feed>
