<?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://cve.radiocsirt.org</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 16:01:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50661 — seccomp: Move copy_seccomp() to no failure path.</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-50661</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;seccomp: Move copy_seccomp() to no failure path.&lt;/p&gt;
&lt;p&gt;Our syzbot instance reported memory leaks in do_seccomp() [0], similar
to the report [1].  It shows that we miss freeing struct seccomp_filter
and some objects included in it.&lt;/p&gt;
&lt;p&gt;We can reproduce the issue with the program below [2] which calls one
seccomp() and two clone() syscalls.&lt;/p&gt;
&lt;p&gt;The first clone()d child exits earlier than its parent and sends a
signal to kill it during the second clone(), more precisely before the
fatal_signal_pending() test in copy_process().  When the parent receives
the signal, it has to destroy the embryonic process and return -EINTR to
user space.  In the failure path, we have to call seccomp_filter_release()
to decrement the filter&amp;#39;s refcount.&lt;/p&gt;
&lt;p&gt;Initially, we called it in free_task() called from the failure path, but
the commit 3a15fb6ed92c (&amp;#34;seccomp: release filter after task is fully
dead&amp;#34;) moved it to release_task() to notify user space as early as possible
that the filter is no longer used.&lt;/p&gt;
&lt;p&gt;To keep the change and current seccomp refcount semantics, let&amp;#39;s move
copy_seccomp() just after the signal check and add a WARN_ON_ONCE() in
free_task() for future debugging.&lt;/p&gt;
&lt;p&gt;[0]:
unreferenced object 0xffff8880063add00 (size 256):
  comm &amp;#34;repro_seccomp&amp;#34;, pid 230, jiffies 4294687090 (age 9.914s)
  hex dump (first 32 bytes):
    01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00  ................
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff…&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;seccomp: Move copy_seccomp() to no failure path.&lt;/p&gt;
&lt;p&gt;Our syzbot instance reported memory leaks in do_seccomp() [0], similar
to the report [1].  It shows that we miss freeing struct seccomp_filter
and some objects included in it.&lt;/p&gt;
&lt;p&gt;We can reproduce the issue with the program below [2] which calls one
seccomp() and two clone() syscalls.&lt;/p&gt;
&lt;p&gt;The first clone()d child exits earlier than its parent and sends a
signal to kill it during the second clone(), more precisely before the
fatal_signal_pending() test in copy_process().  When the parent receives
the signal, it has to destroy the embryonic process and return -EINTR to
user space.  In the failure path, we have to call seccomp_filter_release()
to decrement the filter&amp;#39;s refcount.&lt;/p&gt;
&lt;p&gt;Initially, we called it in free_task() called from the failure path, but
the commit 3a15fb6ed92c (&amp;#34;seccomp: release filter after task is fully
dead&amp;#34;) moved it to release_task() to notify user space as early as possible
that the filter is no longer used.&lt;/p&gt;
&lt;p&gt;To keep the change and current seccomp refcount semantics, let&amp;#39;s move
copy_seccomp() just after the signal check and add a WARN_ON_ONCE() in
free_task() for future debugging.&lt;/p&gt;
&lt;p&gt;[0]:
unreferenced object 0xffff8880063add00 (size 256):
  comm &amp;#34;repro_seccomp&amp;#34;, pid 230, jiffies 4294687090 (age 9.914s)
  hex dump (first 32 bytes):
    01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00  ................
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-50661</guid>
    </item>
  </channel>
</rss>
