<?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>Sat, 10 Oct 2026 04:56:34 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-41042 — netfilter: nf_tables: prefer nft_chain_validate</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-41042</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: prefer nft_chain_validate&lt;/p&gt;
&lt;p&gt;nft_chain_validate already performs loop detection because a cycle will
result in a call stack overflow (ctx-&amp;gt;level &amp;gt;= NFT_JUMP_STACK_SIZE).&lt;/p&gt;
&lt;p&gt;It also follows maps via -&amp;gt;validate callback in nft_lookup, so there
appears no reason to iterate the maps again.&lt;/p&gt;
&lt;p&gt;nf_tables_check_loops() and all its helper functions can be removed.
This improves ruleset load time significantly, from 23s down to 12s.&lt;/p&gt;
&lt;p&gt;This also fixes a crash bug. Old loop detection code can result in
unbounded recursion:&lt;/p&gt;
&lt;p&gt;BUG: TASK stack guard page was hit at ....
Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN
CPU: 4 PID: 1539 Comm: nft Not tainted 6.10.0-rc5+ #1
[..]&lt;/p&gt;
&lt;p&gt;with a suitable ruleset during validation of register stores.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see any actual reason to attempt to check for this from
nft_validate_register_store(), at this point the transaction is still in
progress, so we don&amp;#39;t have a full picture of the rule graph.&lt;/p&gt;
&lt;p&gt;For nf-next it might make sense to either remove it or make this depend
on table-&amp;gt;validate_state in case we could catch an error earlier
(for improved error reporting to userspace).&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: prefer nft_chain_validate&lt;/p&gt;
&lt;p&gt;nft_chain_validate already performs loop detection because a cycle will
result in a call stack overflow (ctx-&amp;gt;level &amp;gt;= NFT_JUMP_STACK_SIZE).&lt;/p&gt;
&lt;p&gt;It also follows maps via -&amp;gt;validate callback in nft_lookup, so there
appears no reason to iterate the maps again.&lt;/p&gt;
&lt;p&gt;nf_tables_check_loops() and all its helper functions can be removed.
This improves ruleset load time significantly, from 23s down to 12s.&lt;/p&gt;
&lt;p&gt;This also fixes a crash bug. Old loop detection code can result in
unbounded recursion:&lt;/p&gt;
&lt;p&gt;BUG: TASK stack guard page was hit at ....
Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN
CPU: 4 PID: 1539 Comm: nft Not tainted 6.10.0-rc5+ #1
[..]&lt;/p&gt;
&lt;p&gt;with a suitable ruleset during validation of register stores.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see any actual reason to attempt to check for this from
nft_validate_register_store(), at this point the transaction is still in
progress, so we don&amp;#39;t have a full picture of the rule graph.&lt;/p&gt;
&lt;p&gt;For nf-next it might make sense to either remove it or make this depend
on table-&amp;gt;validate_state in case we could catch an error earlier
(for improved error reporting to userspace).&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-41042</guid>
    </item>
  </channel>
</rss>
