<?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://vulnerability.circl.lu</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 03:51:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-27058 — tmpfs: fix race on handling dquot rbtree</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-27058</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;tmpfs: fix race on handling dquot rbtree&lt;/p&gt;
&lt;p&gt;A syzkaller reproducer found a race while attempting to remove dquot
information from the rb tree.&lt;/p&gt;
&lt;p&gt;Fetching the rb_tree root node must also be protected by the
dqopt-&amp;gt;dqio_sem, otherwise, giving the right timing, shmem_release_dquot()
will trigger a warning because it couldn&amp;#39;t find a node in the tree, when
the real reason was the root node changing before the search starts:&lt;/p&gt;
&lt;p&gt;Thread 1				Thread 2
- shmem_release_dquot()			- shmem_{acquire,release}_dquot()&lt;/p&gt;
&lt;p&gt;- fetch ROOT				- Fetch ROOT&lt;/p&gt;
&lt;p&gt;- acquire dqio_sem
- wait dqio_sem&lt;/p&gt;
&lt;p&gt;- do something, triger a tree rebalance
					- release dqio_sem&lt;/p&gt;
&lt;p&gt;- acquire dqio_sem
- start searching for the node, but
  from the wrong location, missing
  the node, and triggering a warning.&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;tmpfs: fix race on handling dquot rbtree&lt;/p&gt;
&lt;p&gt;A syzkaller reproducer found a race while attempting to remove dquot
information from the rb tree.&lt;/p&gt;
&lt;p&gt;Fetching the rb_tree root node must also be protected by the
dqopt-&amp;gt;dqio_sem, otherwise, giving the right timing, shmem_release_dquot()
will trigger a warning because it couldn&amp;#39;t find a node in the tree, when
the real reason was the root node changing before the search starts:&lt;/p&gt;
&lt;p&gt;Thread 1				Thread 2
- shmem_release_dquot()			- shmem_{acquire,release}_dquot()&lt;/p&gt;
&lt;p&gt;- fetch ROOT				- Fetch ROOT&lt;/p&gt;
&lt;p&gt;- acquire dqio_sem
- wait dqio_sem&lt;/p&gt;
&lt;p&gt;- do something, triger a tree rebalance
					- release dqio_sem&lt;/p&gt;
&lt;p&gt;- acquire dqio_sem
- start searching for the node, but
  from the wrong location, missing
  the node, and triggering a warning.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-27058</guid>
    </item>
  </channel>
</rss>
