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 76BB834D939 for ; Tue, 16 Dec 2025 15:07: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=1765897666; cv=none; b=IgxQbg97phI3JBabDabnq1YolFb0aXDA4mdV1BPii3gh08N/Oi3h0BJYrazwqYJJFA7yZttP8owXsPJOVnA5OY/NKeg+q0BaqsKawFCDrFNWQ84ow/y1awPp/mjiio36jk2gL1zRQqvhwh76WHlGkAgQIhdnYTEzu41JCokrYTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765897666; c=relaxed/simple; bh=VrqtXCr3AiFZmgcQcuB8B1Mqg2H8ebIV6KtNPu9YGoc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q50qziSmj7ZJ5ZsDBaAhkVLAci5JdLo1yvd9M/SfQiZYz8ib6UZnNDma0m65dgRjGDRNRgzBm0uW/pt5uS3UeQ9s4VJN0f22ClBu7GIDpeOZVJ2X9PBfNi2eQeUic66I4TnXtSIz7XnoCuv6vVm8OQ1Nx/OsyvzYLN5GjZHkP/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cbB/kgIA; 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="cbB/kgIA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D56AEC4CEF1; Tue, 16 Dec 2025 15:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765897666; bh=VrqtXCr3AiFZmgcQcuB8B1Mqg2H8ebIV6KtNPu9YGoc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cbB/kgIAhVd3PJMzTG2d28KP4Xmu6sJRQ9VdLCwPOAtAOTCordzEa+7d00JxoMnsu Br9OGgQhUdtK0V0wkheUu641scEE36YyxmJYtyADq2JaHXBUrgUiUD+jayn7vFzUv8 +KlHfC19c0yoSJSL8ZwTLZQ7dWMVDNB/uq6fWOis= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68300: fs/namespace: fix reference leak in grab_requested_mnt_ns Date: Tue, 16 Dec 2025 16:06:54 +0100 Message-ID: <2025121643-CVE-2025-68300-ec22@gregkh> X-Mailer: git-send-email 2.52.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=1957; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ytwrjJhMSnxTZBUgZmrGnJPPhct4s22G/V0kYvDYI30=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOpc0v1W7/Tz9UefVVT3VO35fizpCPNXf1U2cvyUtn5 6gRehnfEcPCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZEciw4GL93ctHF2U1Nm/b obTrsgCjbXmcH8OMeSf+u//1iJirrafLqfjvMLvxynsA 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: fs/namespace: fix reference leak in grab_requested_mnt_ns lookup_mnt_ns() already takes a reference on mnt_ns. grab_requested_mnt_ns() doesn't need to take an extra reference. The Linux kernel CVE team has assigned CVE-2025-68300 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.59 with commit ba306daa7fa8ae0be5d64c215e9d43a88b4bc8bf and fixed in 6.12.61 with commit 4a16b2a0c1f033f95f5d0b98b9e40e8bf7c4c2c5 Issue introduced in 6.17.9 with commit 8ff97ade912dcfc5ac1783c4b8d615aacd26fd17 and fixed in 6.17.11 with commit fe256e59b8e7f126b2464ee32bd9fee131f0a883 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-2025-68300 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/namespace.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/4a16b2a0c1f033f95f5d0b98b9e40e8bf7c4c2c5 https://git.kernel.org/stable/c/fe256e59b8e7f126b2464ee32bd9fee131f0a883 https://git.kernel.org/stable/c/7b6dcd9bfd869eee7693e45b1817dac8c56e5f86