{"id":"CVE-2026-99420","state":"PUBLISHED","title":"ovl: check that the parents of volatile/dirty are dirs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: check that the parents of volatile/dirty are dirs\n\nAn unprivileged user crashes the kernel by mounting overlayfs with the\nvolatile option.\n\nA dentry that serves as the parent of a lookup must be a directory.\novl_create_volatile_dirty() walks work/incompat/volatile/dirty by name,\nand ovl_lookup_or_create() returns an existing entry whatever its type.\nA file or a symlink that another task creates during the mount becomes\nthe parent of the next lookup, which calls a NULL ->lookup.\n\nAn unprivileged user mounted overlayfs with \"volatile\" in a user\nnamespace while a second process created a symlink named work/incompat,\nand the mount task oopsed on a NULL ->lookup call.\n\nFix this by returning -ENOTDIR from ovl_lookup_or_create() when the\ncaller asked for a directory and the existing entry is a non-dir.","publishedAt":"2026-11-19T14:40:20.956Z","updatedAt":"2026-11-19T14:40:20.956Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"a343bd631606d9d508808fca272e1e482ed6c61f","versionType":"git"},{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"68439a05ed529a8b0350f8c6ff3618ff4a8d972d","versionType":"git"},{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"3bf6fda63259692331d21392c3f7c0c02594dae5","versionType":"git"},{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","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/overlayfs/super.c"]}],"references":["https://git.kernel.org/stable/c/a343bd631606d9d508808fca272e1e482ed6c61f","https://git.kernel.org/stable/c/68439a05ed529a8b0350f8c6ff3618ff4a8d972d","https://git.kernel.org/stable/c/3bf6fda63259692331d21392c3f7c0c02594dae5","https://git.kernel.org/stable/c/e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99420.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99420","state":"PUBLISHED","datePublished":"2026-11-19T14:40:20.956Z","dateUpdated":"2026-11-19T14:40:20.956Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.413Z"},"containers":{"cna":{"title":"ovl: check that the parents of volatile/dirty are dirs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: check that the parents of volatile/dirty are dirs\n\nAn unprivileged user crashes the kernel by mounting overlayfs with the\nvolatile option.\n\nA dentry that serves as the parent of a lookup must be a directory.\novl_create_volatile_dirty() walks work/incompat/volatile/dirty by name,\nand ovl_lookup_or_create() returns an existing entry whatever its type.\nA file or a symlink that another task creates during the mount becomes\nthe parent of the next lookup, which calls a NULL ->lookup.\n\nAn unprivileged user mounted overlayfs with \"volatile\" in a user\nnamespace while a second process created a symlink named work/incompat,\nand the mount task oopsed on a NULL ->lookup call.\n\nFix this by returning -ENOTDIR from ovl_lookup_or_create() when the\ncaller asked for a directory and the existing entry is a non-dir."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"a343bd631606d9d508808fca272e1e482ed6c61f","versionType":"git"},{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"68439a05ed529a8b0350f8c6ff3618ff4a8d972d","versionType":"git"},{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"3bf6fda63259692331d21392c3f7c0c02594dae5","versionType":"git"},{"version":"c86243b090bc25f81abe33ddfa9fe833e02c4d64","status":"affected","lessThan":"e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","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/overlayfs/super.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a343bd631606d9d508808fca272e1e482ed6c61f"},{"url":"https://git.kernel.org/stable/c/68439a05ed529a8b0350f8c6ff3618ff4a8d972d"},{"url":"https://git.kernel.org/stable/c/3bf6fda63259692331d21392c3f7c0c02594dae5"},{"url":"https://git.kernel.org/stable/c/e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:40:20.956Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}