<?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-12-04T19:53:59.021982+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-139508</id>
    <title>CVE-2026-139508 — ocfs2: defer suballocator block group reclaim to workqueue</title>
    <updated>2026-12-04T19:53:59.022963+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: defer suballocator block group reclaim to workqueue</p>
<p>When the last bit in a suballocator block group is freed,
_ocfs2_free_suballoc_bits() reclaims the group back to the global bitmap. 
The reclaim takes inode_lock() on the global bitmap inode while running
inside the freeing transaction, adding a lock dependency of</p>
<p>j_trans_barrier -&gt; global bitmap inode i_rwsem</p>
<p>This forms a circular dependency with paths such as
ocfs2_shutdown_local_alloc(), which take the global bitmap inode lock
before starting a transaction:</p>
<p>Task1 (dealloc):
    ocfs2_run_deallocs
      ocfs2_free_cached_blocks
        ocfs2_start_trans
          down_read(j_trans_barrier)
        _ocfs2_free_suballoc_bits
          _ocfs2_reclaim_suballoc_to_main
            inode_lock(main_bm_inode)  &lt;- wait on Task2</p>
<p>Task2 (dismount):
    ocfs2_shutdown_local_alloc
      inode_lock(main_bm_inode)
      ocfs2_start_trans
        down_read(j_trans_barrier)  &lt;- wait on Task3</p>
<p>Task3 (ocfs2cmt):
    ocfs2_commit_cache
      down_write(j_trans_barrier)  &lt;- wait on Task1's handle
      jbd2_journal_flush</p>
<p>Task1 waits for Task2's inode_lock(), Task2 waits for the j_trans_barrier
down_write() held by ocfs2cmt, and ocfs2cmt waits for Task1's running
transaction to commit - a real deadlock, observed with aio-stress direct
IO writes racing dismount.</p>
<p>Fix it by deferring the reclaim to the per-superblock ocfs2_wq workqueue,
so the freeing transa…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139508"/>
  </entry>
</feed>
