Skip to contentSkip to conversation

CVE-2025-68300: fs/namespace: fix reference leak in grab_requested_mnt_ns

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 16, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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