<?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:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72472 — nfs: use nfsi-&gt;rwsem to protect traversal of the file lock list</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72472</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: use nfsi-&amp;gt;rwsem to protect traversal of the file lock list&lt;/p&gt;
&lt;p&gt;Lingfeng identified a bug and suggested two solutions, but both appear
to have issues.&lt;/p&gt;
&lt;p&gt;Generally, we cannot release flc_lock while iterating over the file lock
list to avoid use-after-free (UAF) problems with file locks. However,
functions like nfs_delegation_claim_locks and nfs4_reclaim_locks cannot
adhere to this rule because recover_lock or nfs4_lock_delegation_recall
may take a long time. To resolve this, NFS switches to using nfsi-&amp;gt;rwsem
for the same protection, and nfs_reclaim_locks follows this approach.
Although nfs_delegation_claim_locks uses so_delegreturn_mutex instead,
this is inadequate since a single inode can have multiple nfs4_state
instances. Therefore, the fix is to also use nfsi-&amp;gt;rwsem in this case.&lt;/p&gt;
&lt;p&gt;Furthermore, after commit c69899a17ca4 (&amp;#34;NFSv4: Update of VFS byte range
lock must be atomic with the stateid update&amp;#34;), the functions
nfs4_locku_done and nfs4_lock_done also break this rule because they
call locks_lock_inode_wait without holding nfsi-&amp;gt;rwsem. Simply adding
this protection could cause many deadlocks, so instead, the call to
locks_lock_inode_wait is moved into _nfs4_proc_setlk. Regarding the bug
fixed by commit c69899a17ca4 (&amp;#34;NFSv4: Update of VFS byte range
lock must be atomic with the stateid update&amp;#34;), it has been resolved
after commit 0460253913e5 (&amp;#34;NFSv4: nfs4_do_open() is incorrectly triggering
state recovery&amp;#34;…&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: use nfsi-&amp;gt;rwsem to protect traversal of the file lock list&lt;/p&gt;
&lt;p&gt;Lingfeng identified a bug and suggested two solutions, but both appear
to have issues.&lt;/p&gt;
&lt;p&gt;Generally, we cannot release flc_lock while iterating over the file lock
list to avoid use-after-free (UAF) problems with file locks. However,
functions like nfs_delegation_claim_locks and nfs4_reclaim_locks cannot
adhere to this rule because recover_lock or nfs4_lock_delegation_recall
may take a long time. To resolve this, NFS switches to using nfsi-&amp;gt;rwsem
for the same protection, and nfs_reclaim_locks follows this approach.
Although nfs_delegation_claim_locks uses so_delegreturn_mutex instead,
this is inadequate since a single inode can have multiple nfs4_state
instances. Therefore, the fix is to also use nfsi-&amp;gt;rwsem in this case.&lt;/p&gt;
&lt;p&gt;Furthermore, after commit c69899a17ca4 (&amp;#34;NFSv4: Update of VFS byte range
lock must be atomic with the stateid update&amp;#34;), the functions
nfs4_locku_done and nfs4_lock_done also break this rule because they
call locks_lock_inode_wait without holding nfsi-&amp;gt;rwsem. Simply adding
this protection could cause many deadlocks, so instead, the call to
locks_lock_inode_wait is moved into _nfs4_proc_setlk. Regarding the bug
fixed by commit c69899a17ca4 (&amp;#34;NFSv4: Update of VFS byte range
lock must be atomic with the stateid update&amp;#34;), it has been resolved
after commit 0460253913e5 (&amp;#34;NFSv4: nfs4_do_open() is incorrectly triggering
state recovery&amp;#34;…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72472</guid>
    </item>
  </channel>
</rss>
