CVE-2026-43391: nsfs: tighten permission checks for handle opening
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
nsfs: tighten permission checks for handle opening
Even privileged services should not necessarily be able to see other privileged service's namespaces so they can't leak information to each other. Use may_see_all_namespaces() helper that centralizes this policy until the nstree adapts.
The Linux kernel CVE team has assigned CVE-2026-43391 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit 5222470b2fbb3740f931f189db33dd1367b1ae75 and fixed in 6.19.9 with commit 1797ee11451f1b2be69863a9f5bd43b948813fdf Issue introduced in 6.18 with commit 5222470b2fbb3740f931f189db33dd1367b1ae75 and fixed in 7.0 with commit d2324a9317f00013facb0ba00b00440e19d2af5e
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-43391
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/nsfs.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/1797ee11451f1b2be69863a9f5bd43b948813fdf https://git.kernel.org/stable/c/d2324a9317f00013facb0ba00b00440e19d2af5e