CVE-2026-142884
Description
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Complete a cld upcall when the daemon closes the pipe
Once nfsdcld has read a whole upcall, rpc_pipe_read() unlinks the message from every pipe list, so the purges in rpc_pipe_release() and rpc_close_pipes() no longer reach it. cld_upcall_ops supplies no .release_pipe callback, and cld_pipe_destroy_msg() returns without completing the upcall because a downcall is expected to follow. A daemon that exits between the read and the write therefore strands its waiter: the nfsd thread sleeps in TASK_UNINTERRUPTIBLE in __cld_pipe_upcall() and never returns, hung task warnings follow, and the server cannot be shut down.
Add a .release_pipe that completes every upcall the daemon has consumed. cu_inflight distinguishes those from upcalls still queued on the pipe, which the framework purges before it calls this callback; cld_pipe_downcall() removes an upcall it accepts from cn_list under the same lock. Neither can be completed twice.
Fail the stranded upcall with -EPIPE rather than the -EAGAIN that makes cld_pipe_upcall() retry. The daemon consumed the request, so whether it acted on it before exiting is unknown.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/23961f907e16df5f0681979e03b2a266f8f741e9nvd
- git.kernel.org/stable/c/2a83fcb50f3c25c493cc4389619340fefe9d6ac4nvd
- git.kernel.org/stable/c/51ad0a04107f509cbc640564e0075cbed4ff9f71nvd
- git.kernel.org/stable/c/5be823bedc67f9babb856d24c3370b23bc9b1f6bnvd
- git.kernel.org/stable/c/5c9944dc69356a8fa4dcad0254fa62e488e950b3nvd
- git.kernel.org/stable/c/6cfab37aca4570642d90470baaf3c05958cb764cnvd
- git.kernel.org/stable/c/80833ea9970a7f05ea2dcb69b66930aad3acf4cfnvd
- git.kernel.org/stable/c/8a69b607434503c8c5a59d05fcd9e53f2d4fabf3nvd
News mentions
0No linked articles in our index yet.