CVE-2026-99359: NFSD: validate transport name in listener_set before serv creation
In the Linux kernel, the following vulnerability has been resolved:
NFSD: validate transport name in listenerset before serv creation
nfsdnllistenersetdoit() holds nfsdmutex for the whole listener teardown and rebuild. The code checks NFSDASOCKTRANSPORTNAME for presence only, and not for content. An arbitrary name therefore reaches svcxprtcreatefromsa(). There, a name that matches no registered class calls requestmodule("svc%s", name). That call is a TASKKILLABLE usermode helper upcall, and it runs under nfsdmutex.
Check the name against the classes that NFSD can create: tcp, udp and rdma. The check goes in nfsdnlvalidatelisteners(), which runs before the code takes nfsdmutex. The rejection names the offending attribute through extack, since -EPROTONOSUPPORT on its own does not say which entry carried the bad name.
This narrows the upcall. It does not remove it. NFSD accepts "rdma" without a condition, so on a kernel that does not build svcrdma the name still reaches requestmodule("svcrdma") under nfsdmutex. That is necessary for the modular case, where the autoload is legitimate.
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