AZL-118148: CVE-2026-143127 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the NFSv4 out-of-order OPEN stateid wait, compute a single deadline on entry, pass only the remaining time to schedule_timeout() on each iteration, and take the existing timeout path once the deadline expires.
Event History
Frequently Asked Questions
Which systems are exposed to the indefinite wait condition?
The condition applies to NFSv4.1 or later mounts when out-of-order OPEN stateids are processed. It is associated with sustained concurrent OPEN/CLOSE activity on the same open state.
What behavior could indicate that a system is affected?
Some tasks may remain stuck in update_open_stateid() while other tasks continue making progress. Repeated wakeups during concurrent activity can keep restarting the wait rather than allowing its intended timeout to expire.
What does the resolved behavior change?
The fix computes one deadline when entering the wait and supplies only the remaining time for each sleep. Once that deadline expires, the existing timeout path is taken instead of beginning another full wait.