CVE-2026-142884

Source
https://cve.org/CVERecord?id=CVE-2026-142884
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142884.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142884
Published
2026-12-03T03:23:38Z
Modified
2026-12-03T05:00:57Z
Summary
NFSD: Complete a cld upcall when the daemon closes the pipe
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142884.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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
Show 3 more events Show fewer events
Fixed
51ad0a04107f509cbc640564e0075cbed4ff9f71
Fixed
5c9944dc69356a8fa4dcad0254fa62e488e950b3
Fixed
2a83fcb50f3c25c493cc4389619340fefe9d6ac4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142884.json"

Linux / Kernel

Package

Name
Kernel

Affected 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"