{"id":"CVE-2026-43470","state":"PUBLISHED","title":"nfs: return EISDIR on nfs3_proc_create if d_alias is a dir","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfs: return EISDIR on nfs3_proc_create if d_alias is a dir\n\nIf we found an alias through nfs3_do_create/nfs_add_or_obtain\n/d_splice_alias which happens to be a dir dentry, we don't return\nany error, and simply forget about this alias, but the original\ndentry we were adding and passed as parameter remains negative.\n\nThis later causes an oops on nfs_atomic_open_v23/finish_open since we\nsupply a negative dentry to do_dentry_open.\n\nThis has been observed running lustre-racer, where dirs and files are\ncreated/removed concurrently with the same name and O_EXCL is not\nused to open files (frequent file redirection).\n\nWhile d_splice_alias typically returns a directory alias or NULL, we\nexplicitly check d_is_dir() to ensure that we don't attempt to perform\nfile operations (like finish_open) on a directory inode, which triggers\nthe observed oops.","publishedAt":"2026-05-08T14:22:30.218Z","updatedAt":"2026-05-11T22:25:13.820Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"7e2963773760a664684435201960dd2fb712f1b5","versionType":"git"},{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"203c792cb4315360d49973ae2e57feeb6d3dcf7e","versionType":"git"},{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"9ee1770fcb2f1b48354622b926e7dc10222805f5","versionType":"git"},{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"410666a298c34ebd57256fde6b24c96bd23059a2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/nfs3proc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/nfs3proc.c"]}],"references":["https://git.kernel.org/stable/c/7e2963773760a664684435201960dd2fb712f1b5","https://git.kernel.org/stable/c/203c792cb4315360d49973ae2e57feeb6d3dcf7e","https://git.kernel.org/stable/c/9ee1770fcb2f1b48354622b926e7dc10222805f5","https://git.kernel.org/stable/c/410666a298c34ebd57256fde6b24c96bd23059a2"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43470.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43470","state":"PUBLISHED","datePublished":"2026-05-08T14:22:30.218Z","dateUpdated":"2026-05-11T22:25:13.820Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.011Z"},"containers":{"cna":{"title":"nfs: return EISDIR on nfs3_proc_create if d_alias is a dir","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfs: return EISDIR on nfs3_proc_create if d_alias is a dir\n\nIf we found an alias through nfs3_do_create/nfs_add_or_obtain\n/d_splice_alias which happens to be a dir dentry, we don't return\nany error, and simply forget about this alias, but the original\ndentry we were adding and passed as parameter remains negative.\n\nThis later causes an oops on nfs_atomic_open_v23/finish_open since we\nsupply a negative dentry to do_dentry_open.\n\nThis has been observed running lustre-racer, where dirs and files are\ncreated/removed concurrently with the same name and O_EXCL is not\nused to open files (frequent file redirection).\n\nWhile d_splice_alias typically returns a directory alias or NULL, we\nexplicitly check d_is_dir() to ensure that we don't attempt to perform\nfile operations (like finish_open) on a directory inode, which triggers\nthe observed oops."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"7e2963773760a664684435201960dd2fb712f1b5","versionType":"git"},{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"203c792cb4315360d49973ae2e57feeb6d3dcf7e","versionType":"git"},{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"9ee1770fcb2f1b48354622b926e7dc10222805f5","versionType":"git"},{"version":"7c6c5249f061b64fc6b5b90bc147169a048691bf","status":"affected","lessThan":"410666a298c34ebd57256fde6b24c96bd23059a2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/nfs3proc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/nfs3proc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7e2963773760a664684435201960dd2fb712f1b5"},{"url":"https://git.kernel.org/stable/c/203c792cb4315360d49973ae2e57feeb6d3dcf7e"},{"url":"https://git.kernel.org/stable/c/9ee1770fcb2f1b48354622b926e7dc10222805f5"},{"url":"https://git.kernel.org/stable/c/410666a298c34ebd57256fde6b24c96bd23059a2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:25:13.820Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.78"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.19.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}