CVE-2026-143127

Source
https://cve.org/CVERecord?id=CVE-2026-143127
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143127.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143127
Downstream
Published
2026-12-03T09:19:36Z
Modified
2026-12-03T11:01:24Z
Summary
NFSv4: Prevent indefinite waits for out-of-order OPEN stateids
Details

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

NFSv4: Prevent indefinite waits for out-of-order OPEN stateids

When processing an out-of-order OPEN stateid on an NFSv4.1 or later mount, nfs_set_open_stateid_locked() waits for stateid updates to be processed in order. A five-second timeout is intended to prevent indefinite waits when preceding updates never arrive.

However, each iteration calls schedule_timeout() with a fresh five-second timeout. An update to the shared open state can wake the caller without satisfying its ordering check. The remaining timeout is then discarded, and the next iteration starts another full wait.

Under sustained concurrent OPEN/CLOSE activity on the same open state, repeated wakeups can prevent the timeout from ever expiring. Some tasks can remain stuck in update_open_stateid() while others continue making progress.

Compute a single deadline on entry and pass only the remaining time to schedule_timeout(). Once the deadline expires, take the existing timeout path rather than starting another wait. This prevents wakeups from extending the wait indefinitely.

Observed on Linux 6.8.0 and reproduced on 7.3.0 with 96 concurrent O_RDWR|O_TRUNC open/close loops on one NFSv4.1/TCP file (nconnect=16). Ten workers made no progress for over 300 seconds while others ran. With the fix, all workers resumed after transient stalls.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143127.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c9399f21c215453b414702758b8c4b7d66605eac
Fixed
9a57195a80fd822470fecfa3d005fa0f08b5a79b
Fixed
fa5f4113912baf113fc851e005d25506fbed1961
Fixed
1188e813f397866ebf557bf55ef9cfddd2025317
Fixed
151d95a1e696979a7d54b23c96338754be2fcc1f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143127.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143127.json"