# CVE-2026-99375: NFSv4/flexfiles: fail I/O to the data server once a lock is lost

- **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-28)
- **Published:** 2026-11-19T14:23:11.576Z
- **Modified:** 2026-11-23T08:17:42.160Z

## Who should check

- Anyone running Linux \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< f7956dbc775af2a2456e53cdb189155c7b6cc146; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< d2b4f986c3367a17ec1a8b1b5be1485228a79ea0; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 68d807d65c479fc4bea3aba2b82fcc6eedcbe552; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 4232b03065752e0ae1a8544c587577067960f91a; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 88f3916a239fc945362eaac13ca2e29f59539f42; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 938f374ec83912d1383810a1d31aa7ac1940b11e; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< fe52fa5319458d3d5f04046422b4cf954024a26f; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 7fa2ad367abe6d3155daefb57331e7fce1a17afd
- Anyone running Linux 4.0

## Description

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

NFSv4/flexfiles: fail I/O to the data server once a lock is lost

When a client loses a byte-range lock, because its lease expired and it
may not recover the lock (nfs.recover\_lost\_locks=0) or because reclaim
failed, it marks the lock state NFS\_LOCK\_LOST and fails further I/O by
that lock owner.  Otherwise an application that believes it holds a
lock over a range is never told that the lock is gone, and can
overwrite data that another client has since written under its own
lock on that range.

The NFSv4 READ/WRITE and file layout I/O paths apply this in
rpc\_call\_prepare, where nfs4\_set\_rw\_stateid() returns -EIO for a lost
lock.  The flexfiles data server I/O path does not: the NFSv3 data
server path never checked, and the check on the NFSv4 path was removed
when the data server stateid began to be taken from the layout.

Fail read and write RPCs to the data server in rpc\_call\_prepare when the
lock is lost.  The data server path has no use for the stateid that
nfs4\_set\_rw\_stateid() selects, and selecting it looks up a delegation
or open stateid on every I/O.
Instead add nfs4\_lock\_context\_lost(), which only tests NFS\_LOCK\_LOST,
and check it alongside the open state.  Its lookup,
\_\_nfs4\_lookup\_lock\_state(), is split out of \_\_nfs4\_find\_lock\_state()
and takes no reference: a lock state is only unlinked from
state-\>lock\_states under state-\>state\_lock, so one found while holding
that lock cannot be freed before it is released.  Use it in
nfs4\_copy\_lock\_stateid() as well, which only reads the lock state under
that lock.  That drops a reference get and put from stateid selection
for all NFSv4 I/O without changing the stateid selected.

Terminating the RPC in rpc\_call\_prepare is not enough on its own.  The
done callback reads the -EIO as a data server connection error, forgets
the device ID, and resets the I/O to pNFS (or, for an NFSv4 data
server, possibly to the MDS).  After a reset to pNFS a new LAYOUTGET is
granted and rpc\_call\_prepare fails the I/O again, without end.  The
existing NFS\_CONTEXT\_BAD check does not loop, since the open state is
then invalid and pnfs\_update\_layout() fails the reset I/O, but it still
forgets the device ID.

So when an RPC that was never sent fails and the open context is bad,
the open state is invalid, or the lock is lost, complete it with -EIO
without error handling.  An RPC that was sent and failed is handled as
before, so a real data server error is still reported to the MDS.

## Affected and fixed versions

- Linux: \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< f7956dbc775af2a2456e53cdb189155c7b6cc146; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< d2b4f986c3367a17ec1a8b1b5be1485228a79ea0; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 68d807d65c479fc4bea3aba2b82fcc6eedcbe552; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 4232b03065752e0ae1a8544c587577067960f91a; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 88f3916a239fc945362eaac13ca2e29f59539f42; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 938f374ec83912d1383810a1d31aa7ac1940b11e; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< fe52fa5319458d3d5f04046422b4cf954024a26f; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 7fa2ad367abe6d3155daefb57331e7fce1a17afd (cvelist)
- Linux: 4.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7fa2ad367abe6d3155daefb57331e7fce1a17afd or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99375.md
Affected: Linux >= d67ae825a59d639e4d8b82413af84d854617a87e, < f7956dbc775af2a2456e53cdb189155c7b6cc146; >= d67ae825a59d639e4d8b82413af84d854617a87e, < d2b4f986c3367a17ec1a8b1b5be1485228a79ea0; >= d67ae825a59d639e4d8b82413af84d854617a87e, < 68d807d65c479fc4bea3aba2b82fcc6eedcbe552; >= d67ae825a59d639e4d8b824…
Fixed in: Linux 68d807d65c479fc4bea3aba2b82fcc6eedcbe552, Linux 4232b03065752e0ae1a8544c587577067960f91a, Linux 88f3916a239fc945362eaac13ca2e29f59539f42, Linux 938f374ec83912d1383810a1d31aa7ac1940b11e, Linux 7fa2ad367abe6d3155daefb57331e7fce1a17afd

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-99375 being exploited?

There is no confirmed exploitation: CVE-2026-99375 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< f7956dbc775af2a2456e53cdb189155c7b6cc146; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< d2b4f986c3367a17ec1a8b1b5be1485228a79ea0; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 68d807d65c479fc4bea3aba2b82fcc6eedcbe552; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 4232b03065752e0ae1a8544c587577067960f91a; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 88f3916a239fc945362eaac13ca2e29f59539f42; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 938f374ec83912d1383810a1d31aa7ac1940b11e; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< fe52fa5319458d3d5f04046422b4cf954024a26f; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 7fa2ad367abe6d3155daefb57331e7fce1a17afd; Linux 4.0.

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

Yes. Fixed in Linux 68d807d65c479fc4bea3aba2b82fcc6eedcbe552, Linux 4232b03065752e0ae1a8544c587577067960f91a, Linux 88f3916a239fc945362eaac13ca2e29f59539f42, Linux 938f374ec83912d1383810a1d31aa7ac1940b11e, Linux 7fa2ad367abe6d3155daefb57331e7fce1a17afd. Upgrade Linux to 7fa2ad367abe6d3155daefb57331e7fce1a17afd or later.

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

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/f7956dbc775af2a2456e53cdb189155c7b6cc146>
- other: <https://git.kernel.org/stable/c/d2b4f986c3367a17ec1a8b1b5be1485228a79ea0>
- other: <https://git.kernel.org/stable/c/68d807d65c479fc4bea3aba2b82fcc6eedcbe552>
- other: <https://git.kernel.org/stable/c/4232b03065752e0ae1a8544c587577067960f91a>
- other: <https://git.kernel.org/stable/c/88f3916a239fc945362eaac13ca2e29f59539f42>
- other: <https://git.kernel.org/stable/c/938f374ec83912d1383810a1d31aa7ac1940b11e>
- other: <https://git.kernel.org/stable/c/fe52fa5319458d3d5f04046422b4cf954024a26f>
- other: <https://git.kernel.org/stable/c/7fa2ad367abe6d3155daefb57331e7fce1a17afd>

## 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-99375>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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