NFSD: Complete a cld upcall when the daemon closes the pipe

Summary

CVECVE-2026-142884
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 04:18:27 UTC
Updated2026-12-03 04:18:27 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report