Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795099024; b=xRE7rYTmQMxhk6sleAwiK7KjbkoiEuo272Q1uDmiLfjuyZYSSs9EAA74hzBVRtOoJkjh aZNxH2YjjE0RJABEl210S6V85dyqsfLMX2myHhjrkmLqsTncnl4hfWykmAuCDqkeQyRnd hJJPzXqAv7CLNsV5Sr60xEueiy07EsEcDv60Ug2JH6Nu2dkmm5WI+HWi0VlwsQMFzPraF gU74NH2JaRkLxzv2OjMD5ZSNyv7/d5+4Bbhjo6GoRdWzWljL20zqvP51V6prHdiiCauG9 Laxg41nCslTGqZabnSs81I1oUjHpoWWEeiy1+nkjZdvl0sPjLAmK92JX2/Nib2zKMlw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099024; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=0TBBTqwpewmzr10zkPb2Xs8pWDNher6ciXEW6lILVcY=; b=OT8EkF52yAAu1qbCukRpBl0grI7U2YrBfRpykU31KokEd/5pCMTVKhj5O2FM18M60/+Z ovHd3MFPggZEBSdkPWj1DvbqtHV1JRYK1jlnCmaIfS56GcyuVsKJsVmtl/6+HTvS5z5og AVsQLZOIOgC/doJIP5VGWA2wFUsu1vhIGZqlCBhHORpBDhZZor6gkwh8yqWXmWvSgwGwH 4TbF5Et4YIR7iJdcd27dzuJ0MfqGS48tOAFXjQ9hTh1arZxwpIlqHKpxXdT6nBKuuk3ad w3CenpcLhEctvrzFSZdnWwUeb1BfO+meSUV1/vgOmR3Ke0F1rPUYwO1KIui3XFpOT6w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ei9NsLBX; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE3B8606A320 for ; Thu, 19 Nov 2026 14:37:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ei9NsLBX Received: by smtp.kernel.org (Postfix) with ESMTPSA id A08951F000CA; Thu, 19 Nov 2026 14:37:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099024; bh=0TBBTqwpewmzr10zkPb2Xs8pWDNher6ciXEW6lILVcY=; h=From:To:Cc:Subject:Date:Reply-To; b=ei9NsLBXjC0t4xbHPTG4IDr+9KdCue6IQQ89H5rsk36eRk7d6AzHv7FvZHIul/CX8 lSKt6aaYBNhQMYHJc+ycXiHkk/slmBwcHEI3EgJ8URideT4L5yPbpmEkA4bgvj+eYX opF78rYwb5bIBhCpdL5QN49i4XY95RDndaCR95/U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99359: NFSD: validate transport name in listener_set before serv creation Date: Thu, 19 Nov 2026 15:24:17 +0100 Message-ID: <2026111949-CVE-2026-99359-d7da@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3230; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LelqHIK6Uv0BSqdaGY5zMfjtL9x2TvLSsri4UHOUJu4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Up/37q88UPUJK9ZyZxyn8Sri/276uayyghtquy6d upz1UOejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhITBfDgnXLlwcVbOKSaJqg mtnhKvDA7avmN4b5lSyRCUeu+IqJfWk0YuhRea6nODsJAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99359 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 6.12.117 with commit 90202cf720f47d4183b4da8ef43bed7dfec0c572 Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 6.18.61 with commit f5a336ad931afdd609c809cea4b3d910e781bd6f Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 7.3.2 with commit 49f6570e1a8989268cfb71448e3d301c5c850c2d Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 7.4-rc1 with commit 421becdc5cf4d7d2fbda393e78ca76d25d277c0f Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99359 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/nfsd/nfsctl.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/90202cf720f47d4183b4da8ef43bed7dfec0c572 https://git.kernel.org/stable/c/f5a336ad931afdd609c809cea4b3d910e781bd6f https://git.kernel.org/stable/c/49f6570e1a8989268cfb71448e3d301c5c850c2d https://git.kernel.org/stable/c/421becdc5cf4d7d2fbda393e78ca76d25d277c0f