# CVE-2026-93231: lockd: fix swapped arguments in nlmsvc\_match\_ip()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T15:29:19.786Z
- **Modified:** 2026-10-30T13:21:00.820Z

## Who should check

- Anyone running Linux \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< e7124d223c5a2dfb4c1a7b2eea24375edc355a10; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 68282cbc197b280711f66c4cf05165f911785bcc; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< cfbf21d21aea1a83d5ff38d50466a655e0a6a31d; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 4fe2db296c9cd897dd1fe06cc0ae9cbc13beefc5; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< d34c2ac447fe0490ede828e0143e2cbcb59e6c77; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 0d72e78c9d38d5377a059a4837f82b65b91cdcf6; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 21bcb609e0ab1dd60f39ca3498f85808933bcc9f; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< b9060689f49dc663e9a3d069c4a65ff63a836e66
- Anyone running Linux 2.6.26

## Description

In the Linux kernel, the following vulnerability has been resolved:

lockd: fix swapped arguments in nlmsvc\_match\_ip()

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:

	nlm\_traverse\_files(server\_addr, nlmsvc\_match\_ip, NULL);

The match callback is later invoked from nlm\_traverse\_locks() as:

	match(lockhost, host);

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.

nlmsvc\_match\_ip() has had these two arguments reversed ever since the
unlock-by-IP feature was introduced in commit 4373ea84c84d ("lockd:
unlock lockd locks associated with a given server ip"):

	return rpc\_cmp\_addr(nlm\_srcaddr(host), datap);

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'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.

Swap the arguments so the lock owner's source address is compared
against the requested server address:

	return rpc\_cmp\_addr(nlm\_srcaddr(datap), (struct sockaddr \*)host);

\[ cel: fix the misleading typedef parameter names too \]

## Affected and fixed versions

- Linux: \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< e7124d223c5a2dfb4c1a7b2eea24375edc355a10; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 68282cbc197b280711f66c4cf05165f911785bcc; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< cfbf21d21aea1a83d5ff38d50466a655e0a6a31d; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 4fe2db296c9cd897dd1fe06cc0ae9cbc13beefc5; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< d34c2ac447fe0490ede828e0143e2cbcb59e6c77; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 0d72e78c9d38d5377a059a4837f82b65b91cdcf6; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 21bcb609e0ab1dd60f39ca3498f85808933bcc9f; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< b9060689f49dc663e9a3d069c4a65ff63a836e66 (cvelist)
- Linux: 2.6.26 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93231. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93231.md
Affected: Linux >= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, < e7124d223c5a2dfb4c1a7b2eea24375edc355a10; >= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, < 68282cbc197b280711f66c4cf05165f911785bcc; >= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, < cfbf21d21aea1a83d5ff38d50466a655e0a6a31d; >= 4373ea84c84d8a96e99d3da…
Fixed in: Linux 68282cbc197b280711f66c4cf05165f911785bcc, Linux 4fe2db296c9cd897dd1fe06cc0ae9cbc13beefc5, Linux 0d72e78c9d38d5377a059a4837f82b65b91cdcf6, Linux 21bcb609e0ab1dd60f39ca3498f85808933bcc9f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93231 being exploited?

There is no confirmed exploitation: CVE-2026-93231 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93231?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93231?

Linux \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< e7124d223c5a2dfb4c1a7b2eea24375edc355a10; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 68282cbc197b280711f66c4cf05165f911785bcc; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< cfbf21d21aea1a83d5ff38d50466a655e0a6a31d; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 4fe2db296c9cd897dd1fe06cc0ae9cbc13beefc5; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< d34c2ac447fe0490ede828e0143e2cbcb59e6c77; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 0d72e78c9d38d5377a059a4837f82b65b91cdcf6; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< 21bcb609e0ab1dd60f39ca3498f85808933bcc9f; \>= 4373ea84c84d8a96e99d3da99e813d3e36d1bd11, \< b9060689f49dc663e9a3d069c4a65ff63a836e66; Linux 2.6.26.

### Is there a fix for CVE-2026-93231?

Yes. Fixed in Linux 68282cbc197b280711f66c4cf05165f911785bcc, Linux 4fe2db296c9cd897dd1fe06cc0ae9cbc13beefc5, Linux 0d72e78c9d38d5377a059a4837f82b65b91cdcf6, Linux 21bcb609e0ab1dd60f39ca3498f85808933bcc9f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-93231?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e7124d223c5a2dfb4c1a7b2eea24375edc355a10>
- other: <https://git.kernel.org/stable/c/68282cbc197b280711f66c4cf05165f911785bcc>
- other: <https://git.kernel.org/stable/c/cfbf21d21aea1a83d5ff38d50466a655e0a6a31d>
- other: <https://git.kernel.org/stable/c/4fe2db296c9cd897dd1fe06cc0ae9cbc13beefc5>
- other: <https://git.kernel.org/stable/c/d34c2ac447fe0490ede828e0143e2cbcb59e6c77>
- other: <https://git.kernel.org/stable/c/0d72e78c9d38d5377a059a4837f82b65b91cdcf6>
- other: <https://git.kernel.org/stable/c/21bcb609e0ab1dd60f39ca3498f85808933bcc9f>
- other: <https://git.kernel.org/stable/c/b9060689f49dc663e9a3d069c4a65ff63a836e66>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93231>

HTML: <https://flawdb.com/CVE-2026-93231> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93231>
