<?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>Tue, 29 Sep 2026 23:03:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53526 — jbd2: check 'jh-&gt;b_transaction' before removing it from checkpoint</title>
      <link>https://db.gcve.eu/vuln/cve-2023-53526</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;jbd2: check &amp;#39;jh-&amp;gt;b_transaction&amp;#39; before removing it from checkpoint&lt;/p&gt;
&lt;p&gt;Following process will corrupt ext4 image:
Step 1:
jbd2_journal_commit_transaction
 __jbd2_journal_insert_checkpoint(jh, commit_transaction)
 // Put jh into trans1-&amp;gt;t_checkpoint_list
 journal-&amp;gt;j_checkpoint_transactions = commit_transaction
 // Put trans1 into journal-&amp;gt;j_checkpoint_transactions&lt;/p&gt;
&lt;p&gt;Step 2:
do_get_write_access
 test_clear_buffer_dirty(bh) // clear buffer dirty，set jbd dirty
 __jbd2_journal_file_buffer(jh, transaction) // jh belongs to trans2&lt;/p&gt;
&lt;p&gt;Step 3:
drop_cache
 journal_shrink_one_cp_list
  jbd2_journal_try_remove_checkpoint
   if (!trylock_buffer(bh))  // lock bh, true
   if (buffer_dirty(bh))     // buffer is not dirty
   __jbd2_journal_remove_checkpoint(jh)
   // remove jh from trans1-&amp;gt;t_checkpoint_list&lt;/p&gt;
&lt;p&gt;Step 4:
jbd2_log_do_checkpoint
 trans1 = journal-&amp;gt;j_checkpoint_transactions
 // jh is not in trans1-&amp;gt;t_checkpoint_list
 jbd2_cleanup_journal_tail(journal)  // trans1 is done&lt;/p&gt;
&lt;p&gt;Step 5: Power cut, trans2 is not committed, jh is lost in next mounting.&lt;/p&gt;
&lt;p&gt;Fix it by checking &amp;#39;jh-&amp;gt;b_transaction&amp;#39; before remove it from checkpoint.&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;jbd2: check &amp;#39;jh-&amp;gt;b_transaction&amp;#39; before removing it from checkpoint&lt;/p&gt;
&lt;p&gt;Following process will corrupt ext4 image:
Step 1:
jbd2_journal_commit_transaction
 __jbd2_journal_insert_checkpoint(jh, commit_transaction)
 // Put jh into trans1-&amp;gt;t_checkpoint_list
 journal-&amp;gt;j_checkpoint_transactions = commit_transaction
 // Put trans1 into journal-&amp;gt;j_checkpoint_transactions&lt;/p&gt;
&lt;p&gt;Step 2:
do_get_write_access
 test_clear_buffer_dirty(bh) // clear buffer dirty，set jbd dirty
 __jbd2_journal_file_buffer(jh, transaction) // jh belongs to trans2&lt;/p&gt;
&lt;p&gt;Step 3:
drop_cache
 journal_shrink_one_cp_list
  jbd2_journal_try_remove_checkpoint
   if (!trylock_buffer(bh))  // lock bh, true
   if (buffer_dirty(bh))     // buffer is not dirty
   __jbd2_journal_remove_checkpoint(jh)
   // remove jh from trans1-&amp;gt;t_checkpoint_list&lt;/p&gt;
&lt;p&gt;Step 4:
jbd2_log_do_checkpoint
 trans1 = journal-&amp;gt;j_checkpoint_transactions
 // jh is not in trans1-&amp;gt;t_checkpoint_list
 jbd2_cleanup_journal_tail(journal)  // trans1 is done&lt;/p&gt;
&lt;p&gt;Step 5: Power cut, trans2 is not committed, jh is lost in next mounting.&lt;/p&gt;
&lt;p&gt;Fix it by checking &amp;#39;jh-&amp;gt;b_transaction&amp;#39; before remove it from checkpoint.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2023-53526</guid>
    </item>
  </channel>
</rss>
