<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-24T22:11:11.330469+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-98974</id>
    <title>CVE-2026-98974 — xfs: fix exchange-range-to-eof file size exchange</title>
    <updated>2026-10-24T22:11:11.332441+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>xfs: fix exchange-range-to-eof file size exchange</p>
<p>Norbert Szetei posted a patch containing an incomplete description of a
bug in XFS_IOC_EXCHANGE_RANGE's TO_EOF flag.  The bug tricks
exchange-range into modifying a file so that it has shared blocks
starting beyond EOF, which is never allowed because files never have
written data beyond EOF, and you can only share written data blocks.
This is key to all the incorrect behavior that follows.</p>
<p>Eventually I got from Norbert a description of what's going wrong:</p>
<p>&gt; Fair. Here it is with physical block numbers, 4k blocks. peer is the file
&gt; that gets rewritten and file1 is the one that ends up with the flag
&gt; cleared.
&gt;
&gt; Start, nothing shared:
&gt;
&gt;	peer size 4096   -&gt; [100]
&gt;	file1 size 12288 -&gt; [200] [201] [202]
&gt;	donor1 size 4096 -&gt; [300]
&gt;	donor2 size 4096 -&gt; [400]
&gt;
&gt; 1. FICLONERANGE peer's block into file1's middle slot:
&gt;
&gt;	peer size 4096   -&gt; [100]
&gt;	file1 size 12288 -&gt; [200] [100] [202] reflink flag set
&gt;                             ^^^^^ both files own block 100
&gt;
&gt; 2. XFS_IOC_EXCHANGE_RANGE file1 against donor1, file1_offset 0,
&gt; file2_offset 8192, length 0, TO_EOF. One block is exchanged, and the sizes
&gt; are exchanged with it:
&gt;
&gt;	file1 size 4096   -&gt; [200] [100] [300] reflink flag set
&gt;                              ^^^^^^^^^^^ still owned, now past the size
&gt;	donor1 size 12288 -&gt; [202]
&gt;
&gt; file1 says it is one block long while it still owns three. Noth…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-98974"/>
  </entry>
</feed>
