<?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>Sun, 04 Oct 2026 10:00:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47408 — netfilter: conntrack: serialize hash resizes and cleanups</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2021-47408</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: conntrack: serialize hash resizes and cleanups&lt;/p&gt;
&lt;p&gt;Syzbot was able to trigger the following warning [1]&lt;/p&gt;
&lt;p&gt;No repro found by syzbot yet but I was able to trigger similar issue
by having 2 scripts running in parallel, changing conntrack hash sizes,
and:&lt;/p&gt;
&lt;p&gt;for j in `seq 1 1000` ; do unshare -n /bin/true &amp;gt;/dev/null ; done&lt;/p&gt;
&lt;p&gt;It would take more than 5 minutes for net_namespace structures
to be cleaned up.&lt;/p&gt;
&lt;p&gt;This is because nf_ct_iterate_cleanup() has to restart everytime
a resize happened.&lt;/p&gt;
&lt;p&gt;By adding a mutex, we can serialize hash resizes and cleanups
and also make get_next_corpse() faster by skipping over empty
buckets.&lt;/p&gt;
&lt;p&gt;Even without resizes in the picture, this patch considerably
speeds up network namespace dismantles.&lt;/p&gt;
&lt;p&gt;[1]
INFO: task syz-executor.0:8312 can&amp;#39;t die for more than 144 seconds.
task:syz-executor.0  state:R  running task     stack:25672 pid: 8312 ppid:  6573 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4955 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6236
 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6408
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35
 __local_bh_enable_ip+0x109/0x120 kernel/softirq.c:390
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 get_next_corpse net/netfilter/nf_conntrack_core.c:2252 [inline]
 nf_ct_iterate_cleanup+0x15a/0x450 net/netfilter/nf_conntrack_core.c:2275
 nf_conntrack_cleanup_net_list+0x14c/0x4f0 n…&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: conntrack: serialize hash resizes and cleanups&lt;/p&gt;
&lt;p&gt;Syzbot was able to trigger the following warning [1]&lt;/p&gt;
&lt;p&gt;No repro found by syzbot yet but I was able to trigger similar issue
by having 2 scripts running in parallel, changing conntrack hash sizes,
and:&lt;/p&gt;
&lt;p&gt;for j in `seq 1 1000` ; do unshare -n /bin/true &amp;gt;/dev/null ; done&lt;/p&gt;
&lt;p&gt;It would take more than 5 minutes for net_namespace structures
to be cleaned up.&lt;/p&gt;
&lt;p&gt;This is because nf_ct_iterate_cleanup() has to restart everytime
a resize happened.&lt;/p&gt;
&lt;p&gt;By adding a mutex, we can serialize hash resizes and cleanups
and also make get_next_corpse() faster by skipping over empty
buckets.&lt;/p&gt;
&lt;p&gt;Even without resizes in the picture, this patch considerably
speeds up network namespace dismantles.&lt;/p&gt;
&lt;p&gt;[1]
INFO: task syz-executor.0:8312 can&amp;#39;t die for more than 144 seconds.
task:syz-executor.0  state:R  running task     stack:25672 pid: 8312 ppid:  6573 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4955 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6236
 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6408
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35
 __local_bh_enable_ip+0x109/0x120 kernel/softirq.c:390
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 get_next_corpse net/netfilter/nf_conntrack_core.c:2252 [inline]
 nf_ct_iterate_cleanup+0x15a/0x450 net/netfilter/nf_conntrack_core.c:2275
 nf_conntrack_cleanup_net_list+0x14c/0x4f0 n…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2021-47408</guid>
    </item>
  </channel>
</rss>
