Impact
In the Linux kernel, the function nlmsvc_match_ip() was comparing the wrong arguments when attempting to unlock NFS locks by server IP via /proc/fs/nfsd/unlock_ip. The server sockaddr was mistakenly compared against the lock owner's nlm_host instead of vice versa, so the comparison never matched and locks were not released for the requested IP. This logical bug allows locks to persist indefinitely, potentially blocking resources, causing service disruptions, and making NFS operations unreliable for clients that rely on timely lock release.
Affected Systems
The issue affects all Linux kernel versions before the fix commit (0d72e78c9d38d5). It applies to every kernel that implements the lockd unlock‑by‑IP feature in the NFS server. Users running any kernel older than the commit that swaps the arguments in nlmsvc_match_ip() are impacted.
Risk and Exploitability
The CVSS score is not available, and the EPSS score is not reported. The vulnerability is not listed in CISA's KEV catalog, suggesting no documented exploitation. It is inferred that any entity that can cause the NFS server to attempt an unlock for a specific IP address might be able to trigger this logic error. Because the flaw resides in kernel code, it is inferred that local or root privileges may be required to fully trigger the vulnerability, which could result in a denial‑of‑service condition by preventing lock release.
OpenCVE Enrichment