<?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-03T09:17:49.901249+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-142941</id>
    <title>CVE-2026-142941 — ocfs2: fix deadlock in inline-data truncate transactions</title>
    <updated>2026-12-03T09:17:49.903861+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: fix deadlock in inline-data truncate transactions</p>
<p>Updating an inode xattr can cause an ABBA deadlock with inline file
truncation:</p>
<p>ocfs2_truncate_file()
    down_write(&amp;oi-&gt;ip_alloc_sem)
    ocfs2_truncate_inline()
      ocfs2_start_trans()</p>
<p>ocfs2_xattr_set()
    ocfs2_start_trans()
    ocfs2_xattr_ibody_set()
      down_write(&amp;oi-&gt;ip_alloc_sem)</p>
<p>The xattr set path starts the merged transaction before the inode-body
xattr helper acquires ip_alloc_sem, reversing the ip_alloc_sem -&gt;
transaction order used by the allocation and truncate paths.  The
transaction merge in commit 85db90e77806 ("ocfs2/xattr: Merge xattr set
transaction.") introduced this ordering.</p>
<p>Fix it by acquiring ip_alloc_sem once in ocfs2_xattr_set(), before xattr
preparation, allocation reservations and ocfs2_start_trans(), and removing
the per-helper acquisition from ocfs2_xattr_ibody_find(),
ocfs2_xattr_ibody_set() and ocfs2_xattr_create_index_block().  These
helpers now assert via lockdep that the caller holds ip_alloc_sem.</p>
<p>ocfs2_xattr_set_handle(), which only sets initial ACL or security xattrs
on unpublished inodes inside the create transaction, takes ip_alloc_sem
under a dedicated lockdep subclass so that the assertions hold without
creating a transaction -&gt; ip_alloc_sem cycle against the ip_alloc_sem -&gt;
transaction order.  The inode is unpublished, so the acquisition can never
contend.</p>
<p>This keeps the established ip_alloc…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-142941"/>
  </entry>
</feed>
