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 8920A2472A7 for ; Wed, 16 Apr 2025 10:25:00 +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=1744799100; cv=none; b=XnAoXGfZcRiGZgL0owya0s2jajqGh4rm0fKf7XiULzwA61L9oYYymxAwl9Z/3Fa3NOeVjw5zyX4KhjiJAhpDULGU2QipV/Qzxz9t1jZJ5ZrpMIFreLJpI6xMXl2vaOkk99hOYk7T1w9NjXaRV60fpi6+FTzpAJGhHhJIwhL2sDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744799100; c=relaxed/simple; bh=dpIkNtHg6eDmI5Vw4rpTVGOfMIuuvRrjL7WiSph80WM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bfVx9x83Cy65U6pUeyjNnkh3ysnhSJUk/ro/RnzW8YJWz/LVpW3YKPTpnj06Hd4hR8/HuwZPm89ajRTNd5L3Ovkk6gsINIwfyghHHOQsRSRLqLIh03r+t4MhoDsutfpoVDgz0nPOYgnYPbePhYLFxSoGZQa6PI9sVswn4kwL/XM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zzRa5nr5; 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="zzRa5nr5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEFE8C4CEE2; Wed, 16 Apr 2025 10:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744799100; bh=dpIkNtHg6eDmI5Vw4rpTVGOfMIuuvRrjL7WiSph80WM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zzRa5nr56udZctkw0q/jgBQV0t54iZOu4qIXQNYSXU+sYS6LH/Su/LmkPRKectaU6 +5f9fUCs1NpBqpOQtgNKTzihv2Do1mzOXxR+uCIHZKheQOzdRvizP6RtkNDZiiudbE RzGHbJStaX9XI+tMVcK1/psWIVZEoqDR4ehPBsgg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58092: nfsd: fix legacy client tracking initialization Date: Wed, 16 Apr 2025 12:24:56 +0200 Message-ID: <2025041656-CVE-2024-58092-0938@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2281; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dpIkNtHg6eDmI5Vw4rpTVGOfMIuuvRrjL7WiSph80WM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/WyuO7nG1MVrnoX4rhvXCmdLbr8wMXJ9+qvz4fnev1 MuZU9undsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZLoY5ucs2yUn37czw+Dx pjP9Bkt+ThLjD2ZYcNl+Cl9U587cGc07Fh5hfXxudemycgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: nfsd: fix legacy client tracking initialization Get rid of the nfsd4_legacy_tracking_ops->init() call in check_for_legacy_methods(). That will be handled in the caller (nfsd4_client_tracking_init()). Otherwise, we'll wind up calling nfsd4_legacy_tracking_ops->init() twice, and the second time we'll trigger the BUG_ON() in nfsd4_init_recdir(). The Linux kernel CVE team has assigned CVE-2024-58092 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 74fd48739d0488e39ae18b0168720f449a06690c and fixed in 6.12.22 with commit 95407304253a4bf03494d921c6913e220c26cc63 Issue introduced in 6.8 with commit 74fd48739d0488e39ae18b0168720f449a06690c and fixed in 6.13.10 with commit cdd66082b227eb695cbf54b7c121ea032e869981 Issue introduced in 6.8 with commit 74fd48739d0488e39ae18b0168720f449a06690c and fixed in 6.14 with commit de71d4e211eddb670b285a0ea477a299601ce1ca 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-2024-58092 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/nfs4recover.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/95407304253a4bf03494d921c6913e220c26cc63 https://git.kernel.org/stable/c/cdd66082b227eb695cbf54b7c121ea032e869981 https://git.kernel.org/stable/c/de71d4e211eddb670b285a0ea477a299601ce1ca