CVE-2026-143397: 9p: use fc->net_ns for network namespace in RDMA and socket transports
In the Linux kernel, the following vulnerability has been resolved:
9p: use fc->netns for network namespace in RDMA and socket transports
The 9p RDMA transport currently passes &initnet to rdmacreateid(). As a result, RDMA address resolution and connection setup are performed in the initial network namespace, even when the mount is initiated from a non-initial network namespace.
This differs from the socket-based 9p transports, which create sockets in current->nsproxy->netns. Use fc->netns for both the RDMA and socket transports instead, so that transport setup follows the VFS mount namespace context rather than depending on the calling process's current namespace.
This avoids surprising behaviour where a 9p RDMA mount from a container or other non-initial network namespace may use the host namespace for RDMA CM operations.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Which environments are affected by the documented namespace mismatch?
The described behavior affects 9p mounts using the RDMA transport when the mount is initiated from a non-initial network namespace, such as a container. RDMA address resolution and connection setup can then occur in the initial (host) network namespace.
What conditions are required for the issue to occur?
A 9p RDMA mount must be initiated from a non-initial network namespace. The issue arises because the RDMA transport used the initial network namespace for RDMA CM operations instead of the network namespace associated with the mount context.
Are socket-based 9p transports included in the fix?
Yes. The change updates both RDMA and socket transports to use fc->net_ns, so transport setup follows the VFS mount namespace context rather than the calling process's current network namespace.