NFSD: Complete a cld upcall when the daemon closes the pipe
Summary
| CVE | CVE-2026-142884 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 04:18:27 UTC |
| Updated | 2026-12-03 04:18:27 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 80833ea9970a7f05ea2dcb69b66930aad3acf4cf git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 6cfab37aca4570642d90470baaf3c05958cb764c git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 8a69b607434503c8c5a59d05fcd9e53f2d4fabf3 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 23961f907e16df5f0681979e03b2a266f8f741e9 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 5be823bedc67f9babb856d24c3370b23bc9b1f6b git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 51ad0a04107f509cbc640564e0075cbed4ff9f71 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 5c9944dc69356a8fa4dcad0254fa62e488e950b3 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 2a83fcb50f3c25c493cc4389619340fefe9d6ac4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.4 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.4 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.118 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.64 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.5 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/23961f907e16df5f0681979e03b2a266f8f741e9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/80833ea9970a7f05ea2dcb69b66930aad3acf4cf |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5be823bedc67f9babb856d24c3370b23bc9b1f6b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6cfab37aca4570642d90470baaf3c05958cb764c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8a69b607434503c8c5a59d05fcd9e53f2d4fabf3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5c9944dc69356a8fa4dcad0254fa62e488e950b3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2a83fcb50f3c25c493cc4389619340fefe9d6ac4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/51ad0a04107f509cbc640564e0075cbed4ff9f71 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.