In the Linux kernel, the following vulnerability has been resolved: 9p: use fc->net_ns for network namespace in RDMA and socket transports The 9p RDMA transport currently passes &init_net to rdma_create_id(). 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->net_ns. Use fc->net_ns 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.
https://git.kernel.org/stable/c/f20d28cc1e9ac9da0a63bbfe048e3ce4d501d182
https://git.kernel.org/stable/c/c75a54f46694c16867a81ddde07a376ffe94f545
https://git.kernel.org/stable/c/5b0a1c15ffcb9aedabaf75f086134d6b2a99148b
https://git.kernel.org/stable/c/37dce65a0b4356d7ec289a5d09cece5db241c302