<?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:50:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99847 — apparmor: don't revalidate inherited files under files-&gt;file_lock</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99847</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;apparmor: don&amp;#39;t revalidate inherited files under files-&amp;gt;file_lock&lt;/p&gt;
&lt;p&gt;aa_inherit_files() revalidates inherited files on exec using
iterate_fd(), which calls the callback with files-&amp;gt;file_lock held,
so the revalidation is done with IN_ATOMIC. However the unix socket
mediation path can sleep: aa_unix_file_perm() drops a ref on the
peer&amp;#39;s path with path_put(), and unix_fs_perm() -&amp;gt; aa_path_perm()
allocates a buffer with aa_get_buffer(false), resulting in&lt;/p&gt;
&lt;p&gt;BUG: sleeping function called from invalid context at fs/dcache.c:1039
  ...
   dput.part.0+0x24/0x180
   path_put+0x2c/0x60
   aa_unix_file_perm+0x42a/0x17b0
   aa_file_perm+0xcd3/0x1060
   match_file+0x10b/0x190
   iterate_fd+0xe6/0x280
   aa_inherit_files+0x250/0x4f0&lt;/p&gt;
&lt;p&gt;Only grab a ref on each file under iterate_fd(), and revalidate it
after the lock is dropped, so revalidation is done with no locks held
and does not need to be atomic. Denied fds are still replaced with
/dev/null, or closed if it can not be opened.&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;apparmor: don&amp;#39;t revalidate inherited files under files-&amp;gt;file_lock&lt;/p&gt;
&lt;p&gt;aa_inherit_files() revalidates inherited files on exec using
iterate_fd(), which calls the callback with files-&amp;gt;file_lock held,
so the revalidation is done with IN_ATOMIC. However the unix socket
mediation path can sleep: aa_unix_file_perm() drops a ref on the
peer&amp;#39;s path with path_put(), and unix_fs_perm() -&amp;gt; aa_path_perm()
allocates a buffer with aa_get_buffer(false), resulting in&lt;/p&gt;
&lt;p&gt;BUG: sleeping function called from invalid context at fs/dcache.c:1039
  ...
   dput.part.0+0x24/0x180
   path_put+0x2c/0x60
   aa_unix_file_perm+0x42a/0x17b0
   aa_file_perm+0xcd3/0x1060
   match_file+0x10b/0x190
   iterate_fd+0xe6/0x280
   aa_inherit_files+0x250/0x4f0&lt;/p&gt;
&lt;p&gt;Only grab a ref on each file under iterate_fd(), and revalidate it
after the lock is dropped, so revalidation is done with no locks held
and does not need to be atomic. Denied fds are still replaced with
/dev/null, or closed if it can not be opened.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99847</guid>
    </item>
  </channel>
</rss>
