<?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>Thu, 01 Oct 2026 19:57:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56655 — netfilter: nf_tables: do not defer rule destruction via call_rcu</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56655</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;netfilter: nf_tables: do not defer rule destruction via call_rcu&lt;/p&gt;
&lt;p&gt;nf_tables_chain_destroy can sleep, it can&amp;#39;t be used from call_rcu
callbacks.&lt;/p&gt;
&lt;p&gt;Moreover, nf_tables_rule_release() is only safe for error unwinding,
while transaction mutex is held and the to-be-desroyed rule was not
exposed to either dataplane or dumps, as it deactives+frees without
the required synchronize_rcu() in-between.&lt;/p&gt;
&lt;p&gt;nft_rule_expr_deactivate() callbacks will change -&amp;gt;use counters
of other chains/sets, see e.g. nft_lookup .deactivate callback, these
must be serialized via transaction mutex.&lt;/p&gt;
&lt;p&gt;Also add a few lockdep asserts to make this more explicit.&lt;/p&gt;
&lt;p&gt;Calling synchronize_rcu() isn&amp;#39;t ideal, but fixing this without is hard
and way more intrusive.  As-is, we can get:&lt;/p&gt;
&lt;p&gt;WARNING: .. net/netfilter/nf_tables_api.c:5515 nft_set_destroy+0x..
Workqueue: events nf_tables_trans_destroy_work
RIP: 0010:nft_set_destroy+0x3fe/0x5c0
Call Trace:
 &amp;lt;TASK&amp;gt;
 nf_tables_trans_destroy_work+0x6b7/0xad0
 process_one_work+0x64a/0xce0
 worker_thread+0x613/0x10d0&lt;/p&gt;
&lt;p&gt;In case the synchronize_rcu becomes an issue, we can explore alternatives.&lt;/p&gt;
&lt;p&gt;One way would be to allocate nft_trans_rule objects + one nft_trans_chain
object, deactivate the rules + the chain and then defer the freeing to the
nft destroy workqueue.  We&amp;#39;d still need to keep the synchronize_rcu path as
a fallback to handle -ENOMEM corner cases though.&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;netfilter: nf_tables: do not defer rule destruction via call_rcu&lt;/p&gt;
&lt;p&gt;nf_tables_chain_destroy can sleep, it can&amp;#39;t be used from call_rcu
callbacks.&lt;/p&gt;
&lt;p&gt;Moreover, nf_tables_rule_release() is only safe for error unwinding,
while transaction mutex is held and the to-be-desroyed rule was not
exposed to either dataplane or dumps, as it deactives+frees without
the required synchronize_rcu() in-between.&lt;/p&gt;
&lt;p&gt;nft_rule_expr_deactivate() callbacks will change -&amp;gt;use counters
of other chains/sets, see e.g. nft_lookup .deactivate callback, these
must be serialized via transaction mutex.&lt;/p&gt;
&lt;p&gt;Also add a few lockdep asserts to make this more explicit.&lt;/p&gt;
&lt;p&gt;Calling synchronize_rcu() isn&amp;#39;t ideal, but fixing this without is hard
and way more intrusive.  As-is, we can get:&lt;/p&gt;
&lt;p&gt;WARNING: .. net/netfilter/nf_tables_api.c:5515 nft_set_destroy+0x..
Workqueue: events nf_tables_trans_destroy_work
RIP: 0010:nft_set_destroy+0x3fe/0x5c0
Call Trace:
 &amp;lt;TASK&amp;gt;
 nf_tables_trans_destroy_work+0x6b7/0xad0
 process_one_work+0x64a/0xce0
 worker_thread+0x613/0x10d0&lt;/p&gt;
&lt;p&gt;In case the synchronize_rcu becomes an issue, we can explore alternatives.&lt;/p&gt;
&lt;p&gt;One way would be to allocate nft_trans_rule objects + one nft_trans_chain
object, deactivate the rules + the chain and then defer the freeing to the
nft destroy workqueue.  We&amp;#39;d still need to keep the synchronize_rcu path as
a fallback to handle -ENOMEM corner cases though.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56655</guid>
    </item>
  </channel>
</rss>
