<?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 15:08:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47366 — afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2021-47366</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;afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server&lt;/p&gt;
&lt;p&gt;AFS-3 has two data fetch RPC variants, FS.FetchData and FS.FetchData64, and
Linux&amp;#39;s afs client switches between them when talking to a non-YFS server
if the read size, the file position or the sum of the two have the upper 32
bits set of the 64-bit value.&lt;/p&gt;
&lt;p&gt;This is a problem, however, since the file position and length fields of
FS.FetchData are *signed* 32-bit values.&lt;/p&gt;
&lt;p&gt;Fix this by capturing the capability bits obtained from the fileserver when
it&amp;#39;s sent an FS.GetCapabilities RPC, rather than just discarding them, and
then picking out the VICED_CAPABILITY_64BITFILES flag.  This can then be
used to decide whether to use FS.FetchData or FS.FetchData64 - and also
FS.StoreData or FS.StoreData64 - rather than using upper_32_bits() to
switch on the parameter values.&lt;/p&gt;
&lt;p&gt;This capabilities flag could also be used to limit the maximum size of the
file, but all servers must be checked for that.&lt;/p&gt;
&lt;p&gt;Note that the issue does not exist with FS.StoreData - that uses *unsigned*
32-bit values.  It&amp;#39;s also not a problem with Auristor servers as its
YFS.FetchData64 op uses unsigned 64-bit values.&lt;/p&gt;
&lt;p&gt;This can be tested by cloning a git repo through an OpenAFS client to an
OpenAFS server and then doing &amp;#34;git status&amp;#34; on it from a Linux afs
client[1].  Provided the clone has a pack file that&amp;#39;s in the 2G-4G range,
the git status will show errors like:&lt;/p&gt;
&lt;p&gt;error: packfile .git/…&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;afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server&lt;/p&gt;
&lt;p&gt;AFS-3 has two data fetch RPC variants, FS.FetchData and FS.FetchData64, and
Linux&amp;#39;s afs client switches between them when talking to a non-YFS server
if the read size, the file position or the sum of the two have the upper 32
bits set of the 64-bit value.&lt;/p&gt;
&lt;p&gt;This is a problem, however, since the file position and length fields of
FS.FetchData are *signed* 32-bit values.&lt;/p&gt;
&lt;p&gt;Fix this by capturing the capability bits obtained from the fileserver when
it&amp;#39;s sent an FS.GetCapabilities RPC, rather than just discarding them, and
then picking out the VICED_CAPABILITY_64BITFILES flag.  This can then be
used to decide whether to use FS.FetchData or FS.FetchData64 - and also
FS.StoreData or FS.StoreData64 - rather than using upper_32_bits() to
switch on the parameter values.&lt;/p&gt;
&lt;p&gt;This capabilities flag could also be used to limit the maximum size of the
file, but all servers must be checked for that.&lt;/p&gt;
&lt;p&gt;Note that the issue does not exist with FS.StoreData - that uses *unsigned*
32-bit values.  It&amp;#39;s also not a problem with Auristor servers as its
YFS.FetchData64 op uses unsigned 64-bit values.&lt;/p&gt;
&lt;p&gt;This can be tested by cloning a git repo through an OpenAFS client to an
OpenAFS server and then doing &amp;#34;git status&amp;#34; on it from a Linux afs
client[1].  Provided the clone has a pack file that&amp;#39;s in the 2G-4G range,
the git status will show errors like:&lt;/p&gt;
&lt;p&gt;error: packfile .git/…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2021-47366</guid>
    </item>
  </channel>
</rss>
