{"id":"CVE-2026-99359","aliases":["CVE-2026-99359"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: validate transport name in listener_set before serv creation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: validate transport name in listener_set before serv creation\n\nnfsd_nl_listener_set_doit() holds nfsd_mutex for the whole listener\nteardown and rebuild. The code checks NFSD_A_SOCK_TRANSPORT_NAME for\npresence only, and not for content. An arbitrary name therefore reaches\nsvc_xprt_create_from_sa(). There, a name that matches no registered class\ncalls request_module(\"svc%s\", name). That call is a TASK_KILLABLE usermode\nhelper upcall, and it runs under nfsd_mutex.\n\nCheck the name against the classes that NFSD can create: tcp, udp and\nrdma. The check goes in nfsd_nl_validate_listeners(), which runs before\nthe code takes nfsd_mutex. The rejection names the offending attribute\nthrough extack, since -EPROTONOSUPPORT on its own does not say which\nentry carried the bad name.\n\nThis narrows the upcall. It does not remove it. NFSD accepts \"rdma\"\nwithout a condition, so on a kernel that does not build svcrdma the name\nstill reaches request_module(\"svcrdma\") under nfsd_mutex. That is\nnecessary for the modular case, where the autoload is legitimate.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: validate transport name in listener_set before serv creation\n\nnfsd_nl_listener_set_doit() holds nfsd_mutex for the whole listener\nteardown and rebuild. The code checks NFSD_A_SOCK_TRANSPORT_NAME for\npresence only, and not for content. An arbitrary name therefore reaches\nsvc_xprt_create_from_sa(). There, a name that matches no registered class\ncalls request_module(\"svc%s\", name). That call is a TASK_KILLABLE usermode\nhelper upcall, and it runs under nfsd_mutex.\n\nCheck the name against the classes that NFSD can create: tcp, udp and\nrdma. The check goes in nfsd_nl_validate_listeners(), which runs before\nthe code takes nfsd_mutex. The rejection names the offending attribute\nthrough extack, since -EPROTONOSUPPORT on its own does not say which\nentry carried the bad name.\n\nThis narrows the upcall. It does not remove it. NFSD accepts \"rdma\"\nwithout a condition, so on a kernel that does not build svcrdma the name\nstill reaches request_module(\"svcrdma\") under nfsd_mutex. That is\nnecessary for the modular case, where the autoload is legitimate.","source":"cvelist"}],"published":"2026-11-19T14:22:25.507Z","modified":"2026-11-19T15:17:47.443Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"16a471177496c8e04a9793812c187a2c1a2192fa","fixed":"90202cf720f47d4183b4da8ef43bed7dfec0c572","status":"affected"},{"type":"git","introduced":"16a471177496c8e04a9793812c187a2c1a2192fa","fixed":"f5a336ad931afdd609c809cea4b3d910e781bd6f","status":"affected"},{"type":"git","introduced":"16a471177496c8e04a9793812c187a2c1a2192fa","fixed":"49f6570e1a8989268cfb71448e3d301c5c850c2d","status":"affected"},{"type":"git","introduced":"16a471177496c8e04a9793812c187a2c1a2192fa","fixed":"421becdc5cf4d7d2fbda393e78ca76d25d277c0f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/90202cf720f47d4183b4da8ef43bed7dfec0c572","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5a336ad931afdd609c809cea4b3d910e781bd6f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49f6570e1a8989268cfb71448e3d301c5c850c2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/421becdc5cf4d7d2fbda393e78ca76d25d277c0f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99359","url":"https://www.cve.org/CVERecord?id=CVE-2026-99359","licence":"CVE Terms of Use","modified":"2026-11-19T14:37:22.713Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99359","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99359","licence":"Public domain","modified":"2026-11-19T15:17:47.443Z"}],"updatedAt":"2026-11-25T22:59:52.042Z","epss":{"score":0.00209,"percentile":0.11759,"date":"2026-12-02T12:00:21.000Z"}}