From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 086BB3EF0A8 for ; Fri, 8 May 2026 14:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250226; cv=none; b=gseTsVLum5I7U/evsKTS4W8qsVArwkJR2UFpZJ4+3JFii7QL9fH9pf5Vz8Lu6nOVxPewLPs1qQQ5Q67z7TGz5z01ZFlEo1X0+Ic2FqMvHe23IE/ueDsFYjclQOCmRFU3V2RqLVNrx2xaq3zj9Rv2jtNCA4zhkZx5L60eH6W4U7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250226; c=relaxed/simple; bh=LlFP5MjCBhJGs6dhsEUOIMokgBprOa5Iml3mynqV21U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ng8Qp2GiSmSxn5iCycz44OzsEydrrShjgDs9NYFCvyhtAeKXp5t25cLluoZMEShzmXEEowgWxDIOhAOVsW/Y0suWt0GZLAyWIVXDqqxJjGH2PdS18qxL2FnahHbCrJD5rxB+FLrMOkqMqJV4DGwSu84E6TxcKOXA5Y3qEy/AWQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CLjm0krZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CLjm0krZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95F19C2BCB0; Fri, 8 May 2026 14:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778250225; bh=LlFP5MjCBhJGs6dhsEUOIMokgBprOa5Iml3mynqV21U=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CLjm0krZLtorjCOLf7FW7qvBVWpzmYCKBaynaGuvdEdSsLMAKL19m0RP9Haa704nK fdAtpOtrHO2tYAB/eitrFjQhTVkEQ/Wkux5a/b48EbrvBoJyjWJ4btjsN0a32p+uAM IybdHu4S4VhGH+M9l1w6VsLqCWxPqrRObDtv9evg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43394: nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit(). Date: Fri, 8 May 2026 16:22:03 +0200 Message-ID: <2026050837-CVE-2026-43394-974b@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2558; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=965PSCUDMLnzaMLbObr1PFHxtxIh8u/wEh9yQNOcn/0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/PxZeys/8xGfy5Ha3/TSv65OK1R6fE/1/KVu6qJVj9 u6HyU8vdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEsj8zLLimE7FU8uEduUw+ 62SbNuajh8JLJzAs2DKt1H/uY/GPEY++8OZkTm/2nMU7BQA= 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: Fix cred ref leak in nfsd_nl_listener_set_doit(). nfsd_nl_listener_set_doit() uses get_current_cred() without put_cred(). As we can see from other callers, svc_xprt_create_from_sa() does not require the extra refcount. nfsd_nl_listener_set_doit() is always in the process context, sendmsg(), and current->cred does not go away. Let's use current_cred() in nfsd_nl_listener_set_doit(). The Linux kernel CVE team has assigned CVE-2026-43394 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 6.12.78 with commit 02e87ec0bc706cb93fa47b43d18c4d10102c7d54 Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 6.18.19 with commit 019debe5851d7355bea9ff0248cc317878924d8f Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 6.19.9 with commit cba413765376bb466035c9160fa3130402971e2c Issue introduced in 6.10 with commit 16a471177496c8e04a9793812c187a2c1a2192fa and fixed in 7.0 with commit 92978c83bb4eef55d02a6c990c01c423131eefa7 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-43394 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/02e87ec0bc706cb93fa47b43d18c4d10102c7d54 https://git.kernel.org/stable/c/019debe5851d7355bea9ff0248cc317878924d8f https://git.kernel.org/stable/c/cba413765376bb466035c9160fa3130402971e2c https://git.kernel.org/stable/c/92978c83bb4eef55d02a6c990c01c423131eefa7