<?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>Tue, 29 Sep 2026 03:05:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89715 — NFS/localio: fix ref leak on nfs_uuid_add_file failure</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89715</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;NFS/localio: fix ref leak on nfs_uuid_add_file failure&lt;/p&gt;
&lt;p&gt;When nfs_uuid_add_file() races with nfs_uuid_put() tearing down
uuid-&amp;gt;net, it returns -ENXIO without publishing nfl-&amp;gt;nfs_uuid via
rcu_assign_pointer().  nfs_open_local_fh() then enters its error
branch and only releases the slot&amp;#39;s file ref and its paired net
ref plus its own entry-time net ref, while the close path is a
no-op:&lt;/p&gt;
&lt;p&gt;nfs_close_local_fh()
      nfs_uuid = rcu_dereference(nfl-&amp;gt;nfs_uuid);
      if (!nfs_uuid) { rcu_read_unlock(); return; }  /* always */&lt;/p&gt;
&lt;p&gt;nfsd_open_local_fh() returns localio holding a caller-owned +1
nfsd_file reference (from nfsd_file_get() after
nfsd_file_acquire_local()) and an entry-time nfsd_net reference
(from its first nfsd_net_try_get()) embedded as nf-&amp;gt;nf_net.  Both
are leaked on the failure path, pinning one nfsd_file (and the
underlying struct file, dentry, inode) and one nfsd_net_ref per
occurrence, which blocks nfsd_net and netns teardown.&lt;/p&gt;
&lt;p&gt;Fix by releasing the caller-owned file ref and its net ref through
the existing helper, using a stack-local RCU pointer so the helper
can xchg it out, then returning -ENXIO so callers do not
dereference a localio whose slot has been cleared:&lt;/p&gt;
&lt;p&gt;struct nfsd_file __rcu *tmp = RCU_INITIALIZER(localio);&lt;/p&gt;
&lt;p&gt;nfs_to_nfsd_file_put_local(pnf);
    nfs_to_nfsd_file_put_local(&amp;amp;tmp);
    localio = ERR_PTR(-ENXIO);&lt;/p&gt;
&lt;p&gt;The trailing nfs_to_nfsd_net_put(net) continues to release the
outer…&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;NFS/localio: fix ref leak on nfs_uuid_add_file failure&lt;/p&gt;
&lt;p&gt;When nfs_uuid_add_file() races with nfs_uuid_put() tearing down
uuid-&amp;gt;net, it returns -ENXIO without publishing nfl-&amp;gt;nfs_uuid via
rcu_assign_pointer().  nfs_open_local_fh() then enters its error
branch and only releases the slot&amp;#39;s file ref and its paired net
ref plus its own entry-time net ref, while the close path is a
no-op:&lt;/p&gt;
&lt;p&gt;nfs_close_local_fh()
      nfs_uuid = rcu_dereference(nfl-&amp;gt;nfs_uuid);
      if (!nfs_uuid) { rcu_read_unlock(); return; }  /* always */&lt;/p&gt;
&lt;p&gt;nfsd_open_local_fh() returns localio holding a caller-owned +1
nfsd_file reference (from nfsd_file_get() after
nfsd_file_acquire_local()) and an entry-time nfsd_net reference
(from its first nfsd_net_try_get()) embedded as nf-&amp;gt;nf_net.  Both
are leaked on the failure path, pinning one nfsd_file (and the
underlying struct file, dentry, inode) and one nfsd_net_ref per
occurrence, which blocks nfsd_net and netns teardown.&lt;/p&gt;
&lt;p&gt;Fix by releasing the caller-owned file ref and its net ref through
the existing helper, using a stack-local RCU pointer so the helper
can xchg it out, then returning -ENXIO so callers do not
dereference a localio whose slot has been cleared:&lt;/p&gt;
&lt;p&gt;struct nfsd_file __rcu *tmp = RCU_INITIALIZER(localio);&lt;/p&gt;
&lt;p&gt;nfs_to_nfsd_file_put_local(pnf);
    nfs_to_nfsd_file_put_local(&amp;amp;tmp);
    localio = ERR_PTR(-ENXIO);&lt;/p&gt;
&lt;p&gt;The trailing nfs_to_nfsd_net_put(net) continues to release the
outer…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89715</guid>
    </item>
  </channel>
</rss>
