<?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 19:19:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40212 — nfsd: fix refcount leak in nfsd_set_fh_dentry()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40212</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;nfsd: fix refcount leak in nfsd_set_fh_dentry()&lt;/p&gt;
&lt;p&gt;nfsd exports a &amp;#34;pseudo root filesystem&amp;#34; which is used by NFSv4 to find
the various exported filesystems using LOOKUP requests from a known root
filehandle.  NFSv3 uses the MOUNT protocol to find those exported
filesystems and so is not given access to the pseudo root filesystem.&lt;/p&gt;
&lt;p&gt;If a v3 (or v2) client uses a filehandle from that filesystem,
nfsd_set_fh_dentry() will report an error, but still stores the export
in &amp;#34;struct svc_fh&amp;#34; even though it also drops the reference (exp_put()).
This means that when fh_put() is called an extra reference will be dropped
which can lead to use-after-free and possible denial of service.&lt;/p&gt;
&lt;p&gt;Normal NFS usage will not provide a pseudo-root filehandle to a v3
client.  This bug can only be triggered by the client synthesising an
incorrect filehandle.&lt;/p&gt;
&lt;p&gt;To fix this we move the assignments to the svc_fh later, after all
possible error cases have been detected.&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;nfsd: fix refcount leak in nfsd_set_fh_dentry()&lt;/p&gt;
&lt;p&gt;nfsd exports a &amp;#34;pseudo root filesystem&amp;#34; which is used by NFSv4 to find
the various exported filesystems using LOOKUP requests from a known root
filehandle.  NFSv3 uses the MOUNT protocol to find those exported
filesystems and so is not given access to the pseudo root filesystem.&lt;/p&gt;
&lt;p&gt;If a v3 (or v2) client uses a filehandle from that filesystem,
nfsd_set_fh_dentry() will report an error, but still stores the export
in &amp;#34;struct svc_fh&amp;#34; even though it also drops the reference (exp_put()).
This means that when fh_put() is called an extra reference will be dropped
which can lead to use-after-free and possible denial of service.&lt;/p&gt;
&lt;p&gt;Normal NFS usage will not provide a pseudo-root filehandle to a v3
client.  This bug can only be triggered by the client synthesising an
incorrect filehandle.&lt;/p&gt;
&lt;p&gt;To fix this we move the assignments to the svc_fh later, after all
possible error cases have been detected.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40212</guid>
    </item>
  </channel>
</rss>
