<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:17:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138996 — seccomp: restore knotif-&gt;state when SECCOMP_ADDFD_FLAG_SEND is interrupted</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138996</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: restore knotif-&amp;gt;state when SECCOMP_ADDFD_FLAG_SEND is interrupted&lt;/p&gt;
&lt;p&gt;In seccomp_notify_addfd(), when SECCOMP_ADDFD_FLAG_SEND is set in
addfd.flags, knotif-&amp;gt;state is optimistically transitioned from
SECCOMP_NOTIFY_SENT to SECCOMP_NOTIFY_REPLIED before waking the tracee
and waiting on kaddfd.completion:&lt;/p&gt;
&lt;p&gt;if (addfd.flags &amp;amp; SECCOMP_ADDFD_FLAG_SEND) {
		knotif-&amp;gt;state = SECCOMP_NOTIFY_REPLIED;
		...
	}&lt;/p&gt;
&lt;p&gt;If wait_for_completion_interruptible(&amp;amp;kaddfd.completion) is interrupted
by a signal before the tracee dequeues the kaddfd request
(!list_empty(&amp;amp;kaddfd.list)), seccomp_notify_addfd() removes kaddfd from
knotif-&amp;gt;addfd and returns -EINTR to the supervisor without having
installed the file descriptor.&lt;/p&gt;
&lt;p&gt;However, knotif-&amp;gt;state is left as SECCOMP_NOTIFY_REPLIED (with
knotif-&amp;gt;error == 0 and knotif-&amp;gt;val == 0). This causes two problems:&lt;/p&gt;
&lt;p&gt;1. When the tracee runs in do_user_notif(), it checks
   if (knotif.state != SECCOMP_NOTIFY_REPLIED) after calling
   seccomp_handle_addfd(). Because knotif-&amp;gt;state is already
   SECCOMP_NOTIFY_REPLIED, the tracee exits the notification wait loop
   prematurely and returns 0 from the trapped syscall without the file
   descriptor ever having been installed.&lt;/p&gt;
&lt;p&gt;2. If the supervisor retries SECCOMP_IOCTL_NOTIF_ADDFD or
   SECCOMP_IOCTL_NOTIF_SEND before the tracee runs, it fails with
   -EINPROGRESS because knotif-&amp;gt;state is no longer SECCOMP_NOTIFY_SENT.&lt;/p&gt;
&lt;p&gt;Fix this by restoring knotif-&amp;gt;st…&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: restore knotif-&amp;gt;state when SECCOMP_ADDFD_FLAG_SEND is interrupted&lt;/p&gt;
&lt;p&gt;In seccomp_notify_addfd(), when SECCOMP_ADDFD_FLAG_SEND is set in
addfd.flags, knotif-&amp;gt;state is optimistically transitioned from
SECCOMP_NOTIFY_SENT to SECCOMP_NOTIFY_REPLIED before waking the tracee
and waiting on kaddfd.completion:&lt;/p&gt;
&lt;p&gt;if (addfd.flags &amp;amp; SECCOMP_ADDFD_FLAG_SEND) {
		knotif-&amp;gt;state = SECCOMP_NOTIFY_REPLIED;
		...
	}&lt;/p&gt;
&lt;p&gt;If wait_for_completion_interruptible(&amp;amp;kaddfd.completion) is interrupted
by a signal before the tracee dequeues the kaddfd request
(!list_empty(&amp;amp;kaddfd.list)), seccomp_notify_addfd() removes kaddfd from
knotif-&amp;gt;addfd and returns -EINTR to the supervisor without having
installed the file descriptor.&lt;/p&gt;
&lt;p&gt;However, knotif-&amp;gt;state is left as SECCOMP_NOTIFY_REPLIED (with
knotif-&amp;gt;error == 0 and knotif-&amp;gt;val == 0). This causes two problems:&lt;/p&gt;
&lt;p&gt;1. When the tracee runs in do_user_notif(), it checks
   if (knotif.state != SECCOMP_NOTIFY_REPLIED) after calling
   seccomp_handle_addfd(). Because knotif-&amp;gt;state is already
   SECCOMP_NOTIFY_REPLIED, the tracee exits the notification wait loop
   prematurely and returns 0 from the trapped syscall without the file
   descriptor ever having been installed.&lt;/p&gt;
&lt;p&gt;2. If the supervisor retries SECCOMP_IOCTL_NOTIF_ADDFD or
   SECCOMP_IOCTL_NOTIF_SEND before the tracee runs, it fails with
   -EINPROGRESS because knotif-&amp;gt;state is no longer SECCOMP_NOTIFY_SENT.&lt;/p&gt;
&lt;p&gt;Fix this by restoring knotif-&amp;gt;st…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138996</guid>
    </item>
  </channel>
</rss>
