<?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://db.gcve.eu</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>Fri, 04 Dec 2026 20:01:32 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139234 — exfat: fix used_clusters accounting during cluster allocation</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139234</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;exfat: fix used_clusters accounting during cluster allocation&lt;/p&gt;
&lt;p&gt;In the current exfat_alloc_cluster(), p_chain-&amp;gt;size is incremented as
each cluster is allocated so that the partially allocated chain can
be freed by __exfat_free_cluster() on the error path.&lt;/p&gt;
&lt;p&gt;However, sbi-&amp;gt;used_clusters is still updated only after all clusters
have been allocated, while __exfat_free_cluster() unconditionally
subtracts the number of freed clusters from sbi-&amp;gt;used_clusters.
Therefore, when allocation fails partway through, the partially
allocated clusters are subtracted from sbi-&amp;gt;used_clusters even
though they were never added to it. This corrupts the free-space
accounting and can cause sbi-&amp;gt;used_clusters to underflow.&lt;/p&gt;
&lt;p&gt;Increment sbi-&amp;gt;used_clusters together with p_chain-&amp;gt;size as each
cluster is allocated. This keeps the accounting consistent with
__exfat_free_cluster() on both the success and error paths.&lt;/p&gt;
&lt;p&gt;This issue is caught by generic/476 with 256k cluster size:&lt;/p&gt;
&lt;p&gt;Ran: generic/476
    Failures: generic/476
    Failed 1 of 1 tests&lt;/p&gt;
&lt;p&gt;*** fsck.exfat output ***
    ERROR: &amp;lt;path&amp;gt;: more clusters are allocated. truncate to N bytes
    ...
    /dev/vdc: corrupted. directories 331, files 526
    /dev/vdc: files corrupted 9, files fixed 0
    *** end fsck.exfat output ***&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;exfat: fix used_clusters accounting during cluster allocation&lt;/p&gt;
&lt;p&gt;In the current exfat_alloc_cluster(), p_chain-&amp;gt;size is incremented as
each cluster is allocated so that the partially allocated chain can
be freed by __exfat_free_cluster() on the error path.&lt;/p&gt;
&lt;p&gt;However, sbi-&amp;gt;used_clusters is still updated only after all clusters
have been allocated, while __exfat_free_cluster() unconditionally
subtracts the number of freed clusters from sbi-&amp;gt;used_clusters.
Therefore, when allocation fails partway through, the partially
allocated clusters are subtracted from sbi-&amp;gt;used_clusters even
though they were never added to it. This corrupts the free-space
accounting and can cause sbi-&amp;gt;used_clusters to underflow.&lt;/p&gt;
&lt;p&gt;Increment sbi-&amp;gt;used_clusters together with p_chain-&amp;gt;size as each
cluster is allocated. This keeps the accounting consistent with
__exfat_free_cluster() on both the success and error paths.&lt;/p&gt;
&lt;p&gt;This issue is caught by generic/476 with 256k cluster size:&lt;/p&gt;
&lt;p&gt;Ran: generic/476
    Failures: generic/476
    Failed 1 of 1 tests&lt;/p&gt;
&lt;p&gt;*** fsck.exfat output ***
    ERROR: &amp;lt;path&amp;gt;: more clusters are allocated. truncate to N bytes
    ...
    /dev/vdc: corrupted. directories 331, files 526
    /dev/vdc: files corrupted 9, files fixed 0
    *** end fsck.exfat output ***&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139234</guid>
    </item>
  </channel>
</rss>
