<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T05:14:03.700061+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2025-71194</id>
    <title>CVE-2025-71194 — btrfs: fix deadlock in wait_current_trans() due to ignored transaction type</title>
    <updated>2026-10-02T05:14:04.374914+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>btrfs: fix deadlock in wait_current_trans() due to ignored transaction type</p>
<p>When wait_current_trans() is called during start_transaction(), it
currently waits for a blocked transaction without considering whether
the given transaction type actually needs to wait for that particular
transaction state. The btrfs_blocked_trans_types[] array already defines
which transaction types should wait for which transaction states, but
this check was missing in wait_current_trans().</p>
<p>This can lead to a deadlock scenario involving two transactions and
pending ordered extents:</p>
<p>1. Transaction A is in TRANS_STATE_COMMIT_DOING state</p>
<p>2. A worker processing an ordered extent calls start_transaction()
     with TRANS_JOIN</p>
<p>3. join_transaction() returns -EBUSY because Transaction A is in
     TRANS_STATE_COMMIT_DOING</p>
<p>4. Transaction A moves to TRANS_STATE_UNBLOCKED and completes</p>
<p>5. A new Transaction B is created (TRANS_STATE_RUNNING)</p>
<p>6. The ordered extent from step 2 is added to Transaction B's
     pending ordered extents</p>
<p>7. Transaction B immediately starts commit by another task and
     enters TRANS_STATE_COMMIT_START</p>
<p>8. The worker finally reaches wait_current_trans(), sees Transaction B
     in TRANS_STATE_COMMIT_START (a blocked state), and waits
     unconditionally</p>
<p>9. However, TRANS_JOIN should NOT wait for TRANS_STATE_COMMIT_START
     according to btrfs_blocked_trans_types[]</p>
<p>10. Transaction B…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-71194"/>
  </entry>
</feed>
