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

Published Dec 3, 2026
·
Updated

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, nfssetopenstateidlocked() 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 scheduletimeout() 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 updateopenstateid() while others continue making progress.

Compute a single deadline on entry and pass only the remaining time to scheduletimeout(). 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 ORDWR|OTRUNC 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In nfs_set_open_stateid_locked(), compute a single deadline on entry and pass only the remaining time to schedule_timeout(); once the deadline expires, take the existing timeout path instead of starting another wait.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

The issue affects Linux kernel systems using NFSv4.1 or later mounts. The described condition involves concurrent OPEN and CLOSE activity on the same open state.

2

What conditions are needed to trigger the indefinite wait?

An out-of-order OPEN stateid must be processed while preceding stateid updates do not arrive in the required order. Sustained concurrent activity can repeatedly wake a waiting task without satisfying its ordering check, continually resetting its effective five-second wait.

3

How can I tell whether a system is affected in practice?

Affected behavior presents as tasks remaining stuck in update_open_stateid() while other tasks continue to make progress. The issue was observed on Linux 6.8.0 and reproduced on 7.3.0 with 96 concurrent O_RDWR operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203