{"id":"CVE-2026-99420","summary":"ovl: check that the parents of volatile/dirty are dirs","details":"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 -\u003elookup.\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 -\u003elookup 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.","modified":"2026-11-20T21:02:24.580346463Z","published":"2026-11-19T14:40:20.956Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99420.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3bf6fda63259692331d21392c3f7c0c02594dae5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68439a05ed529a8b0350f8c6ff3618ff4a8d972d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a343bd631606d9d508808fca272e1e482ed6c61f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99420.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99420"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c86243b090bc25f81abe33ddfa9fe833e02c4d64"},{"fixed":"a343bd631606d9d508808fca272e1e482ed6c61f"},{"fixed":"68439a05ed529a8b0350f8c6ff3618ff4a8d972d"},{"fixed":"3bf6fda63259692331d21392c3f7c0c02594dae5"},{"fixed":"e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99420.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99420.json"}}],"schema_version":"1.9.2"}