{"id":"CVE-2026-143397","state":"PUBLISHED","title":"9p: use fc->net_ns for network namespace in RDMA and socket transports","description":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: use fc->net_ns for network namespace in RDMA and socket transports\n\nThe 9p RDMA transport currently passes &init_net to rdma_create_id().\nAs a result, RDMA address resolution and connection setup are performed\nin the initial network namespace, even when the mount is initiated from\na non-initial network namespace.\n\nThis differs from the socket-based 9p transports, which create sockets\nin current->nsproxy->net_ns.  Use fc->net_ns for both the RDMA and\nsocket transports instead, so that transport setup follows the VFS\nmount namespace context rather than depending on the calling process's\ncurrent namespace.\n\nThis avoids surprising behaviour where a 9p RDMA mount from a container\nor other non-initial network namespace may use the host namespace for\nRDMA CM operations.","publishedAt":"2026-12-03T09:22:38.107Z","updatedAt":"2026-12-03T09:22:38.107Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"5b0a1c15ffcb9aedabaf75f086134d6b2a99148b","versionType":"git"},{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"c75a54f46694c16867a81ddde07a376ffe94f545","versionType":"git"},{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"f20d28cc1e9ac9da0a63bbfe048e3ce4d501d182","versionType":"git"},{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"37dce65a0b4356d7ec289a5d09cece5db241c302","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/trans_fd.c","net/9p/trans_rdma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.4","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/trans_fd.c","net/9p/trans_rdma.c"]}],"references":["https://git.kernel.org/stable/c/5b0a1c15ffcb9aedabaf75f086134d6b2a99148b","https://git.kernel.org/stable/c/c75a54f46694c16867a81ddde07a376ffe94f545","https://git.kernel.org/stable/c/f20d28cc1e9ac9da0a63bbfe048e3ce4d501d182","https://git.kernel.org/stable/c/37dce65a0b4356d7ec289a5d09cece5db241c302"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143397.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143397","state":"PUBLISHED","datePublished":"2026-12-03T09:22:38.107Z","dateUpdated":"2026-12-03T09:22:38.107Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.373Z"},"containers":{"cna":{"title":"9p: use fc->net_ns for network namespace in RDMA and socket transports","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: use fc->net_ns for network namespace in RDMA and socket transports\n\nThe 9p RDMA transport currently passes &init_net to rdma_create_id().\nAs a result, RDMA address resolution and connection setup are performed\nin the initial network namespace, even when the mount is initiated from\na non-initial network namespace.\n\nThis differs from the socket-based 9p transports, which create sockets\nin current->nsproxy->net_ns.  Use fc->net_ns for both the RDMA and\nsocket transports instead, so that transport setup follows the VFS\nmount namespace context rather than depending on the calling process's\ncurrent namespace.\n\nThis avoids surprising behaviour where a 9p RDMA mount from a container\nor other non-initial network namespace may use the host namespace for\nRDMA CM operations."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"5b0a1c15ffcb9aedabaf75f086134d6b2a99148b","versionType":"git"},{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"c75a54f46694c16867a81ddde07a376ffe94f545","versionType":"git"},{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"f20d28cc1e9ac9da0a63bbfe048e3ce4d501d182","versionType":"git"},{"version":"fa20105e09e97e81aadf02f722c31195e4a75c84","status":"affected","lessThan":"37dce65a0b4356d7ec289a5d09cece5db241c302","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/trans_fd.c","net/9p/trans_rdma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.4","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/trans_fd.c","net/9p/trans_rdma.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5b0a1c15ffcb9aedabaf75f086134d6b2a99148b"},{"url":"https://git.kernel.org/stable/c/c75a54f46694c16867a81ddde07a376ffe94f545"},{"url":"https://git.kernel.org/stable/c/f20d28cc1e9ac9da0a63bbfe048e3ce4d501d182"},{"url":"https://git.kernel.org/stable/c/37dce65a0b4356d7ec289a5d09cece5db241c302"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:22:38.107Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}