<?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 19:18:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139013 — f2fs: force out-place update for all writes on compressed file</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139013</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;f2fs: force out-place update for all writes on compressed file&lt;/p&gt;
&lt;p&gt;For compressed file, compressed write may fail and fall back to raw
write.&lt;/p&gt;
&lt;p&gt;-Thread A                                         - Thread B
  - f2fs_write_multi_pages                          - f2fs_down_write(&amp;amp;sbi-&amp;gt;cp_rwsem);
   - f2fs_write_compressed_pages                    - ...
    - f2fs_trylock_op                               - ...
     - f2fs_down_read_trylock(&amp;amp;sbi-&amp;gt;cp_rwsem);      - ...
   - f2fs_write_raw_pages                           - ...&lt;/p&gt;
&lt;p&gt;Thread B acquires the lock first, which causes Thread A to fail lock
acquisition and fall back to raw-data write.
IPU_FORCE is enabled on small-capacity storage devices (&amp;lt; 16GB),
so f2fs_write_raw_pages() overwrites the original compressed data
in-place.&lt;/p&gt;
&lt;p&gt;The in-memory node has been updated with raw-data addresses, while the
node metadata stored on eMMC still remains in compressed state.
If a power-cut occurs before the node is flushed to disk, on-disk
inconsistency arises: disk data is raw, yet metadata treats it as a
compressed cluster, leading to decompression failure.&lt;/p&gt;
&lt;p&gt;To eliminate this risk completely, force out-place update for all
write operations on compressed file.&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;f2fs: force out-place update for all writes on compressed file&lt;/p&gt;
&lt;p&gt;For compressed file, compressed write may fail and fall back to raw
write.&lt;/p&gt;
&lt;p&gt;-Thread A                                         - Thread B
  - f2fs_write_multi_pages                          - f2fs_down_write(&amp;amp;sbi-&amp;gt;cp_rwsem);
   - f2fs_write_compressed_pages                    - ...
    - f2fs_trylock_op                               - ...
     - f2fs_down_read_trylock(&amp;amp;sbi-&amp;gt;cp_rwsem);      - ...
   - f2fs_write_raw_pages                           - ...&lt;/p&gt;
&lt;p&gt;Thread B acquires the lock first, which causes Thread A to fail lock
acquisition and fall back to raw-data write.
IPU_FORCE is enabled on small-capacity storage devices (&amp;lt; 16GB),
so f2fs_write_raw_pages() overwrites the original compressed data
in-place.&lt;/p&gt;
&lt;p&gt;The in-memory node has been updated with raw-data addresses, while the
node metadata stored on eMMC still remains in compressed state.
If a power-cut occurs before the node is flushed to disk, on-disk
inconsistency arises: disk data is raw, yet metadata treats it as a
compressed cluster, leading to decompression failure.&lt;/p&gt;
&lt;p&gt;To eliminate this risk completely, force out-place update for all
write operations on compressed file.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139013</guid>
    </item>
  </channel>
</rss>
