{"id":"CVE-2026-99360","state":"PUBLISHED","title":"NFSD: Set nn->cld_net before registering the cld pipe","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Set nn->cld_net before registering the cld pipe\n\nrpc_mkpipe_dentry() instantiates the pipe's dentry before it returns,\nso the cld pipe can be opened as soon as nfsd4_cld_register_net() has\nrun. __nfsd4_init_cld_pipe() does not store the new cld_net in\nnn->cld_net until after that call. cld_pipe_downcall() reaches the\ncld_net only through that pointer and takes cn_lock without checking\nit, so a write() that lands in the window oopses.\n\nStore nn->cld_net once @cn is fully initialized and before the pipe is\nregistered, and clear it again when registration fails.","publishedAt":"2026-11-19T14:22:26.614Z","updatedAt":"2026-11-19T14:37:25.627Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"2cdbc244cf895a436f04def419df3bb257e42608","versionType":"git"},{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"c12f04f29dac29fba1f4eafe54455d48b4ca8df0","versionType":"git"},{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"d67360912543356aca6fc39e4bb286e08d1c77af","versionType":"git"},{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"14996e662f3b734427e2d645cacffc27b779f7d1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4recover.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.4","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4recover.c"]}],"references":["https://git.kernel.org/stable/c/2cdbc244cf895a436f04def419df3bb257e42608","https://git.kernel.org/stable/c/c12f04f29dac29fba1f4eafe54455d48b4ca8df0","https://git.kernel.org/stable/c/d67360912543356aca6fc39e4bb286e08d1c77af","https://git.kernel.org/stable/c/14996e662f3b734427e2d645cacffc27b779f7d1"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99360.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99360","state":"PUBLISHED","datePublished":"2026-11-19T14:22:26.614Z","dateUpdated":"2026-11-19T14:37:25.627Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.410Z"},"containers":{"cna":{"title":"NFSD: Set nn->cld_net before registering the cld pipe","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Set nn->cld_net before registering the cld pipe\n\nrpc_mkpipe_dentry() instantiates the pipe's dentry before it returns,\nso the cld pipe can be opened as soon as nfsd4_cld_register_net() has\nrun. __nfsd4_init_cld_pipe() does not store the new cld_net in\nnn->cld_net until after that call. cld_pipe_downcall() reaches the\ncld_net only through that pointer and takes cn_lock without checking\nit, so a write() that lands in the window oopses.\n\nStore nn->cld_net once @cn is fully initialized and before the pipe is\nregistered, and clear it again when registration fails."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"2cdbc244cf895a436f04def419df3bb257e42608","versionType":"git"},{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"c12f04f29dac29fba1f4eafe54455d48b4ca8df0","versionType":"git"},{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"d67360912543356aca6fc39e4bb286e08d1c77af","versionType":"git"},{"version":"f3f8014862d813cca81a597c83bd1dbf0fb2b8f6","status":"affected","lessThan":"14996e662f3b734427e2d645cacffc27b779f7d1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4recover.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.4","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4recover.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2cdbc244cf895a436f04def419df3bb257e42608"},{"url":"https://git.kernel.org/stable/c/c12f04f29dac29fba1f4eafe54455d48b4ca8df0"},{"url":"https://git.kernel.org/stable/c/d67360912543356aca6fc39e4bb286e08d1c77af"},{"url":"https://git.kernel.org/stable/c/14996e662f3b734427e2d645cacffc27b779f7d1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:37:25.627Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}