{"id":"CVE-2026-99359","summary":"NFSD: validate transport name in listener_set before serv creation","details":"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.","modified":"2026-11-20T21:02:30.173143245Z","published":"2026-11-19T14:22:25.507Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99359.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/421becdc5cf4d7d2fbda393e78ca76d25d277c0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49f6570e1a8989268cfb71448e3d301c5c850c2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90202cf720f47d4183b4da8ef43bed7dfec0c572"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5a336ad931afdd609c809cea4b3d910e781bd6f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99359.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99359"},{"type":"PACKAGE","url":"https://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":"16a471177496c8e04a9793812c187a2c1a2192fa"},{"fixed":"90202cf720f47d4183b4da8ef43bed7dfec0c572"},{"fixed":"f5a336ad931afdd609c809cea4b3d910e781bd6f"},{"fixed":"49f6570e1a8989268cfb71448e3d301c5c850c2d"},{"fixed":"421becdc5cf4d7d2fbda393e78ca76d25d277c0f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99359.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99359.json"}}],"schema_version":"1.9.2"}