<?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-30T03:09:22.626393+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-89493</id>
    <title>CVE-2026-89493 — ocfs2: validate rl_used against rl_count in refcount block validator</title>
    <updated>2026-09-30T03:09:22.812455+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>ocfs2: validate rl_used against rl_count in refcount block validator</p>
<p>ocfs2_find_refcount_rec_in_rl() walks the on-disk refcount record array
with:</p>
<p>for (; i &lt; le16_to_cpu(rb-&gt;rf_records.rl_used); i++) {
		rec = &amp;rb-&gt;rf_records.rl_recs[i];
		...</p>
<p>rl_recs[] lives in a single metadata block (4096 bytes on the common
configuration), so its real capacity is fixed by
ocfs2_refcount_recs_per_rb(sb) (247 records for a 4K block with the
16-byte ocfs2_refcount_rec).  rl_used and rl_count are both read directly
off disk by ocfs2_validate_refcount_block() and are never checked against
that capacity, nor against each other, before any refcount/reflink/CoW
operation walks the array.</p>
<p>A crafted (or corrupted) refcount block with rl_used == 0xffff makes the
loop above walk far past the end of the block, dereferencing rl_recs[i]
for i up to 65534.  The resulting index is then handed to the sibling
ocfs2_insert_refcount_rec(), whose insert-shift does:</p>
<p>if (index &lt; le16_to_cpu(rf_list-&gt;rl_used))
		memmove(&amp;rf_list-&gt;rl_recs[index + 1],
			&amp;rf_list-&gt;rl_recs[index],
			(le16_to_cpu(rf_list-&gt;rl_used) - index) *
			 sizeof(struct ocfs2_refcount_rec));</p>
<p>i.e.  a memmove() of up to (0xffff - index) * 16 bytes (~1 MiB) from an
offset already past the block.  This is reachable from an ordinary reflink
(FICLONE) against a crafted/corrupted ocfs2 image: attaching an extent
whose cpos sorts past every real record in the leaf forces the…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89493"/>
  </entry>
</feed>
