{"id":"CVE-2026-142884","summary":"NFSD: Complete a cld upcall when the daemon closes the pipe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Complete a cld upcall when the daemon closes the pipe\n\nOnce nfsdcld has read a whole upcall, rpc_pipe_read() unlinks the\nmessage from every pipe list, so the purges in rpc_pipe_release()\nand rpc_close_pipes() no longer reach it. cld_upcall_ops supplies no\n.release_pipe callback, and cld_pipe_destroy_msg() returns without\ncompleting the upcall because a downcall is expected to follow. A\ndaemon that exits between the read and the write therefore strands\nits waiter: the nfsd thread sleeps in TASK_UNINTERRUPTIBLE in\n__cld_pipe_upcall() and never returns, hung task warnings follow,\nand the server cannot be shut down.\n\nAdd a .release_pipe that completes every upcall the daemon has\nconsumed. cu_inflight distinguishes those from upcalls still queued\non the pipe, which the framework purges before it calls this\ncallback; cld_pipe_downcall() removes an upcall it accepts from\ncn_list under the same lock. Neither can be completed twice.\n\nFail the stranded upcall with -EPIPE rather than the -EAGAIN that\nmakes cld_pipe_upcall() retry. The daemon consumed the request, so\nwhether it acted on it before exiting is unknown.","modified":"2026-12-03T05:00:57.829614497Z","published":"2026-12-03T03:23:38.689Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142884.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23961f907e16df5f0681979e03b2a266f8f741e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a83fcb50f3c25c493cc4389619340fefe9d6ac4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51ad0a04107f509cbc640564e0075cbed4ff9f71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5be823bedc67f9babb856d24c3370b23bc9b1f6b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5c9944dc69356a8fa4dcad0254fa62e488e950b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cfab37aca4570642d90470baaf3c05958cb764c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80833ea9970a7f05ea2dcb69b66930aad3acf4cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a69b607434503c8c5a59d05fcd9e53f2d4fabf3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142884.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142884"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6"},{"fixed":"80833ea9970a7f05ea2dcb69b66930aad3acf4cf"},{"fixed":"6cfab37aca4570642d90470baaf3c05958cb764c"},{"fixed":"8a69b607434503c8c5a59d05fcd9e53f2d4fabf3"},{"fixed":"23961f907e16df5f0681979e03b2a266f8f741e9"},{"fixed":"5be823bedc67f9babb856d24c3370b23bc9b1f6b"},{"fixed":"51ad0a04107f509cbc640564e0075cbed4ff9f71"},{"fixed":"5c9944dc69356a8fa4dcad0254fa62e488e950b3"},{"fixed":"2a83fcb50f3c25c493cc4389619340fefe9d6ac4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142884.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142884.json"}}],"schema_version":"1.9.2"}