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.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 80833ea9970a7f05ea2dcb69b66930aad3acf4cf; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 6cfab37aca4570642d90470baaf3c05958cb764c; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 8a69b607434503c8c5a59d05fcd9e53f2d4fabf3; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 23961f907e16df5f0681979e03b2a266f8f741e9; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 5be823bedc67f9babb856d24c3370b23bc9b1f6b; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 51ad0a04107f509cbc640564e0075cbed4ff9f71; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 5c9944dc69356a8fa4dcad0254fa62e488e950b3; >= f3f8014862d813cca81a597c83bd1dbf0fb2b8f6, < 2a83fcb50f3c25c493cc4389619340fefe9d6ac4 |
| Linux | Linux | 3.4 |
References
- https://git.kernel.org/stable/c/23961f907e16df5f0681979e03b2a266f8f741e9
- https://git.kernel.org/stable/c/2a83fcb50f3c25c493cc4389619340fefe9d6ac4
- https://git.kernel.org/stable/c/51ad0a04107f509cbc640564e0075cbed4ff9f71
- https://git.kernel.org/stable/c/5be823bedc67f9babb856d24c3370b23bc9b1f6b
- https://git.kernel.org/stable/c/5c9944dc69356a8fa4dcad0254fa62e488e950b3
- https://git.kernel.org/stable/c/6cfab37aca4570642d90470baaf3c05958cb764c
- https://git.kernel.org/stable/c/80833ea9970a7f05ea2dcb69b66930aad3acf4cf
- https://git.kernel.org/stable/c/8a69b607434503c8c5a59d05fcd9e53f2d4fabf3
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received