NFSD: validate transport name in listener_set before serv creation
Summary
| CVE | CVE-2026-99359 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-19 15:17:47 UTC |
| Updated | 2026-11-19 15:17:47 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
NFSD: validate transport name in listener_set before serv creation
nfsd_nl_listener_set_doit() holds nfsd_mutex for the whole listener
teardown and rebuild. The code checks NFSD_A_SOCK_TRANSPORT_NAME for
presence only, and not for content. An arbitrary name therefore reaches
svc_xprt_create_from_sa(). There, a name that matches no registered class
calls request_module("svc%s", name). That call is a TASK_KILLABLE usermode
helper upcall, and it runs under nfsd_mutex.
Check the name against the classes that NFSD can create: tcp, udp and
rdma. The check goes in nfsd_nl_validate_listeners(), which runs before
the code takes nfsd_mutex. 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 request_module("svcrdma") under nfsd_mutex. That is
necessary for the modular case, where the autoload is legitimate. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 16a471177496c8e04a9793812c187a2c1a2192fa 90202cf720f47d4183b4da8ef43bed7dfec0c572 git |
Not specified |
| CNA |
Linux |
Linux |
affected 16a471177496c8e04a9793812c187a2c1a2192fa f5a336ad931afdd609c809cea4b3d910e781bd6f git |
Not specified |
| CNA |
Linux |
Linux |
affected 16a471177496c8e04a9793812c187a2c1a2192fa 49f6570e1a8989268cfb71448e3d301c5c850c2d git |
Not specified |
| CNA |
Linux |
Linux |
affected 16a471177496c8e04a9793812c187a2c1a2192fa 421becdc5cf4d7d2fbda393e78ca76d25d277c0f git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.10 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.10 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.61 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.2 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/90202cf720f47d4183b4da8ef43bed7dfec0c572 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/49f6570e1a8989268cfb71448e3d301c5c850c2d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/421becdc5cf4d7d2fbda393e78ca76d25d277c0f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f5a336ad931afdd609c809cea4b3d910e781bd6f |
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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.