CVE-2026-99375
NFSv4/flexfiles: fail I/O to the data server once a lock is lost
Check your servers for CVE-2026-99375
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99375 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.29% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d67ae825a59d639e4d8b82413af84d854617a87e, before f7956dbc775af2a2456e53cdb189155c7b6cc146 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before d2b4f986c3367a17ec1a8b1b5be1485228a79ea0 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 68d807d65c479fc4bea3aba2b82fcc6eedcbe552 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 4232b03065752e0ae1a8544c587577067960f91a affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 88f3916a239fc945362eaac13ca2e29f59539f42 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 938f374ec83912d1383810a1d31aa7ac1940b11e affected from d67ae825a59d639e4d8b82413af84d854617a87e, before fe52fa5319458d3d5f04046422b4cf954024a26f affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 7fa2ad367abe6d3155daefb57331e7fce1a17afd
Other versions: unaffected
|
| Linux |
affected 4.0 unaffected before 4.0 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99375 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99375
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99375
trivy image --scanners vuln IMAGE | grep CVE-2026-99375
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f7956dbc775af2a2456e53cdb189155c7b6cc146 git.kernel.org
- https://git.kernel.org/stable/c/d2b4f986c3367a17ec1a8b1b5be1485228a79ea0 git.kernel.org
- https://git.kernel.org/stable/c/68d807d65c479fc4bea3aba2b82fcc6eedcbe552 git.kernel.org
- https://git.kernel.org/stable/c/4232b03065752e0ae1a8544c587577067960f91a git.kernel.org
- https://git.kernel.org/stable/c/88f3916a239fc945362eaac13ca2e29f59539f42 git.kernel.org
- https://git.kernel.org/stable/c/938f374ec83912d1383810a1d31aa7ac1940b11e git.kernel.org
- https://git.kernel.org/stable/c/fe52fa5319458d3d5f04046422b4cf954024a26f git.kernel.org
- https://git.kernel.org/stable/c/7fa2ad367abe6d3155daefb57331e7fce1a17afd git.kernel.org
Source: the record CVE-2026-99375 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse