<?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>Wed, 30 Sep 2026 17:29:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-22980 — nfsd: provide locking for v4_end_grace</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-22980</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;nfsd: provide locking for v4_end_grace&lt;/p&gt;
&lt;p&gt;Writing to v4_end_grace can race with server shutdown and result in
memory being accessed after it was freed - reclaim_str_hashtbl in
particularly.&lt;/p&gt;
&lt;p&gt;We cannot hold nfsd_mutex across the nfsd4_end_grace() call as that is
held while client_tracking_op-&amp;gt;init() is called and that can wait for
an upcall to nfsdcltrack which can write to v4_end_grace, resulting in a
deadlock.&lt;/p&gt;
&lt;p&gt;nfsd4_end_grace() is also called by the landromat work queue and this
doesn&amp;#39;t require locking as server shutdown will stop the work and wait
for it before freeing anything that nfsd4_end_grace() might access.&lt;/p&gt;
&lt;p&gt;However, we must be sure that writing to v4_end_grace doesn&amp;#39;t restart
the work item after shutdown has already waited for it.  For this we
add a new flag protected with nn-&amp;gt;client_lock.  It is set only while it
is safe to make client tracking calls, and v4_end_grace only schedules
work while the flag is set with the spinlock held.&lt;/p&gt;
&lt;p&gt;So this patch adds a nfsd_net field &amp;#34;client_tracking_active&amp;#34; which is
set as described.  Another field &amp;#34;grace_end_forced&amp;#34;, is set when
v4_end_grace is written.  After this is set, and providing
client_tracking_active is set, the laundromat is scheduled.
This &amp;#34;grace_end_forced&amp;#34; field bypasses other checks for whether the
grace period has finished.&lt;/p&gt;
&lt;p&gt;This resolves a race which can result in use-after-free.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;nfsd: provide locking for v4_end_grace&lt;/p&gt;
&lt;p&gt;Writing to v4_end_grace can race with server shutdown and result in
memory being accessed after it was freed - reclaim_str_hashtbl in
particularly.&lt;/p&gt;
&lt;p&gt;We cannot hold nfsd_mutex across the nfsd4_end_grace() call as that is
held while client_tracking_op-&amp;gt;init() is called and that can wait for
an upcall to nfsdcltrack which can write to v4_end_grace, resulting in a
deadlock.&lt;/p&gt;
&lt;p&gt;nfsd4_end_grace() is also called by the landromat work queue and this
doesn&amp;#39;t require locking as server shutdown will stop the work and wait
for it before freeing anything that nfsd4_end_grace() might access.&lt;/p&gt;
&lt;p&gt;However, we must be sure that writing to v4_end_grace doesn&amp;#39;t restart
the work item after shutdown has already waited for it.  For this we
add a new flag protected with nn-&amp;gt;client_lock.  It is set only while it
is safe to make client tracking calls, and v4_end_grace only schedules
work while the flag is set with the spinlock held.&lt;/p&gt;
&lt;p&gt;So this patch adds a nfsd_net field &amp;#34;client_tracking_active&amp;#34; which is
set as described.  Another field &amp;#34;grace_end_forced&amp;#34;, is set when
v4_end_grace is written.  After this is set, and providing
client_tracking_active is set, the laundromat is scheduled.
This &amp;#34;grace_end_forced&amp;#34; field bypasses other checks for whether the
grace period has finished.&lt;/p&gt;
&lt;p&gt;This resolves a race which can result in use-after-free.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-22980</guid>
    </item>
  </channel>
</rss>
