CVE-2025-68377: ns: initialize ns_list_node for initial namespaces
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ns: initialize ns_list_node for initial namespaces
Make sure that the list is always initialized for initial namespaces.
The Linux kernel CVE team has assigned CVE-2025-68377 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit 885fc8ac0a4dc70f5d87b80b0977292870e35c60 and fixed in 6.18.2 with commit e31c902d785411eb4a246fba2e8a32aa59d33ce2 Issue introduced in 6.18 with commit 885fc8ac0a4dc70f5d87b80b0977292870e35c60 and fixed in 6.19-rc1 with commit 3dd50c58664e2684bd610a57bf3ab713cbb0ea91
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-68377
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:
include/linux/ns_common.h
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/e31c902d785411eb4a246fba2e8a32aa59d33ce2 https://git.kernel.org/stable/c/3dd50c58664e2684bd610a57bf3ab713cbb0ea91