<?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:51:38 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-93231 — lockd: fix swapped arguments in nlmsvc_match_ip()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-93231</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;lockd: fix swapped arguments in nlmsvc_match_ip()&lt;/p&gt;
&lt;p&gt;When releasing locks by server IP address via /proc/fs/nfsd/unlock_ip,
nlmsvc_unlock_all_by_ip() calls nlm_traverse_files() with the server
sockaddr as the opaque @data argument:&lt;/p&gt;
&lt;p&gt;nlm_traverse_files(server_addr, nlmsvc_match_ip, NULL);&lt;/p&gt;
&lt;p&gt;The match callback is later invoked from nlm_traverse_locks() as:&lt;/p&gt;
&lt;p&gt;match(lockhost, host);&lt;/p&gt;
&lt;p&gt;where the first argument is the nlm_host that owns the lock, and the
second argument is the @data that was originally passed down (here the
server sockaddr).  This is the convention every other match callback
relies on (nlmsvc_mark_host(), nlmsvc_same_host(), nlmsvc_is_client()):
arg1 is the real nlm_host, arg2 is the caller-supplied reference value.&lt;/p&gt;
&lt;p&gt;nlmsvc_match_ip() has had these two arguments reversed ever since the
unlock-by-IP feature was introduced in commit 4373ea84c84d (&amp;#34;lockd:
unlock lockd locks associated with a given server ip&amp;#34;):&lt;/p&gt;
&lt;p&gt;return rpc_cmp_addr(nlm_srcaddr(host), datap);&lt;/p&gt;
&lt;p&gt;Here @host is actually the server sockaddr, so nlm_srcaddr(host)
dereferences a struct sockaddr as a struct nlm_host and reads garbage
at the offset of h_srcaddr; meanwhile @datap is actually the lock
owner&amp;#39;s nlm_host but is compared as a sockaddr.  As a result the
comparison practically never matches and locks are not released for the
requested IP.&lt;/p&gt;
&lt;p&gt;Swap the arguments so the lock owner&amp;#39;s source address is compared
against the requested server add…&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;lockd: fix swapped arguments in nlmsvc_match_ip()&lt;/p&gt;
&lt;p&gt;When releasing locks by server IP address via /proc/fs/nfsd/unlock_ip,
nlmsvc_unlock_all_by_ip() calls nlm_traverse_files() with the server
sockaddr as the opaque @data argument:&lt;/p&gt;
&lt;p&gt;nlm_traverse_files(server_addr, nlmsvc_match_ip, NULL);&lt;/p&gt;
&lt;p&gt;The match callback is later invoked from nlm_traverse_locks() as:&lt;/p&gt;
&lt;p&gt;match(lockhost, host);&lt;/p&gt;
&lt;p&gt;where the first argument is the nlm_host that owns the lock, and the
second argument is the @data that was originally passed down (here the
server sockaddr).  This is the convention every other match callback
relies on (nlmsvc_mark_host(), nlmsvc_same_host(), nlmsvc_is_client()):
arg1 is the real nlm_host, arg2 is the caller-supplied reference value.&lt;/p&gt;
&lt;p&gt;nlmsvc_match_ip() has had these two arguments reversed ever since the
unlock-by-IP feature was introduced in commit 4373ea84c84d (&amp;#34;lockd:
unlock lockd locks associated with a given server ip&amp;#34;):&lt;/p&gt;
&lt;p&gt;return rpc_cmp_addr(nlm_srcaddr(host), datap);&lt;/p&gt;
&lt;p&gt;Here @host is actually the server sockaddr, so nlm_srcaddr(host)
dereferences a struct sockaddr as a struct nlm_host and reads garbage
at the offset of h_srcaddr; meanwhile @datap is actually the lock
owner&amp;#39;s nlm_host but is compared as a sockaddr.  As a result the
comparison practically never matches and locks are not released for the
requested IP.&lt;/p&gt;
&lt;p&gt;Swap the arguments so the lock owner&amp;#39;s source address is compared
against the requested server add…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-93231</guid>
    </item>
  </channel>
</rss>
