CVE-2026-99367: NFSD: Don't complete a cld upcall the daemon has not read
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Don't complete a cld upcall the daemon has not read
cldpipedowncall() matches a reply to its upcall on the xid alone. A write that arrives before the daemon has read that upcall completes cldpipeupcall() while its struct rpcpipemsg is still queued on the pipe. The waiter returns, its stack frame goes away, and the pipe keeps a listhead that points into it. The next rpcqueueupcall() walks that pointer:
BUG: KASAN: vmalloc-out-of-bounds in listaddvalidorreport Read of size 8 at addr ffffc90007027950 by task syz.0.96/13066 listaddvalidorreport+0x6a/0x130 rpcqueueupcall cldpipeupcall nfsd4cldgracestart nfsd4cldtrackinginit
The pipe is mode 0600 in rpcpipefs, so the trigger is a broken or hostile nfsdcld rather than an unprivileged task.
Record whether the daemon has consumed the whole message and complete only when it has. cldpipedestroymsg() runs on every path by which the pipe releases a message, so it can maintain that flag under cnlock. nfsdcld sends its -EINPROGRESS downcalls only after reading the upcall, so the new check does not break the GraceStart record stream.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2