<?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>Sun, 25 Oct 2026 22:46:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99040 — KEYS: Fix add_key() race with keyring restriction</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99040</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;KEYS: Fix add_key() race with keyring restriction&lt;/p&gt;
&lt;p&gt;__key_create_or_update() snapshots keyring-&amp;gt;restrict_link before taking
the destination keyring&amp;#39;s semaphore.  keyring_restrict() installs a
restriction while holding that semaphore.&lt;/p&gt;
&lt;p&gt;This allows a writer to observe no restriction, wait for the keyring
owner to install a reject-all restriction and return successfully, and
then link a key using the stale NULL snapshot.  The writer only needs
write permission on the destination keyring.&lt;/p&gt;
&lt;p&gt;Move the restrict_link read after __key_link_lock() and
__key_link_begin().  The read and the subsequent restriction check are
then serialized with restriction installation by keyring-&amp;gt;sem.&lt;/p&gt;
&lt;p&gt;The race was reproduced on v7.2.8 in 19 executions where restriction
installation returned before the link completed.  All 19 linked the key
despite the reject-all restriction.  With this change, 312 executions
reached the same ordering and every add_key() call failed with -EPERM.&lt;/p&gt;
&lt;p&gt;The issue was found by manual concurrency analysis assisted by AI-based
analysis and independently verified with a QEMU reproducer and kernel
instrumentation.&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;KEYS: Fix add_key() race with keyring restriction&lt;/p&gt;
&lt;p&gt;__key_create_or_update() snapshots keyring-&amp;gt;restrict_link before taking
the destination keyring&amp;#39;s semaphore.  keyring_restrict() installs a
restriction while holding that semaphore.&lt;/p&gt;
&lt;p&gt;This allows a writer to observe no restriction, wait for the keyring
owner to install a reject-all restriction and return successfully, and
then link a key using the stale NULL snapshot.  The writer only needs
write permission on the destination keyring.&lt;/p&gt;
&lt;p&gt;Move the restrict_link read after __key_link_lock() and
__key_link_begin().  The read and the subsequent restriction check are
then serialized with restriction installation by keyring-&amp;gt;sem.&lt;/p&gt;
&lt;p&gt;The race was reproduced on v7.2.8 in 19 executions where restriction
installation returned before the link completed.  All 19 linked the key
despite the reject-all restriction.  With this change, 312 executions
reached the same ordering and every add_key() call failed with -EPERM.&lt;/p&gt;
&lt;p&gt;The issue was found by manual concurrency analysis assisted by AI-based
analysis and independently verified with a QEMU reproducer and kernel
instrumentation.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99040</guid>
    </item>
  </channel>
</rss>
