# CVE-2026-99420: ovl: check that the parents of volatile/dirty are dirs

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-19T14:40:20.956Z
- Modified: 2026-11-23T08:17:45.540Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ovl: check that the parents of volatile/dirty are dirs

An unprivileged user crashes the kernel by mounting overlayfs with the
volatile option.

A dentry that serves as the parent of a lookup must be a directory.
ovl_create_volatile_dirty() walks work/incompat/volatile/dirty by name,
and ovl_lookup_or_create() returns an existing entry whatever its type.
A file or a symlink that another task creates during the mount becomes
the parent of the next lookup, which calls a NULL ->lookup.

An unprivileged user mounted overlayfs with "volatile" in a user
namespace while a second process created a symlink named work/incompat,
and the mount task oopsed on a NULL ->lookup call.

Fix this by returning -ENOTDIR from ovl_lookup_or_create() when the
caller asked for a directory and the existing entry is a non-dir.

(As written by CVE List.)

## Affected

- Linux Linux: from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before 7a7ff41b7dbc1db48a2227e08488693f8a37dfcd; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before 988392818127403da5c563dfd7e1b96c393b1260; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before e94cc0c00eca6e29d49ba2530c203c3cb4c03d4b; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before 880fea99b57516ecf0606fe7b7f40b795793d61f; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before a343bd631606d9d508808fca272e1e482ed6c61f; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before 68439a05ed529a8b0350f8c6ff3618ff4a8d972d; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before 3bf6fda63259692331d21392c3f7c0c02594dae5; from c86243b090bc25f81abe33ddfa9fe833e02c4d64 before e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a; 5.10 (not affected: before 5.10; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/7a7ff41b7dbc1db48a2227e08488693f8a37dfcd>
- <https://git.kernel.org/stable/c/988392818127403da5c563dfd7e1b96c393b1260>
- <https://git.kernel.org/stable/c/e94cc0c00eca6e29d49ba2530c203c3cb4c03d4b>
- <https://git.kernel.org/stable/c/880fea99b57516ecf0606fe7b7f40b795793d61f>
- <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>

## Sources

- CVE List: [CVE-2026-99420](https://www.cve.org/CVERecord?id=CVE-2026-99420), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99420](https://nvd.nist.gov/vuln/detail/CVE-2026-99420), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99420 · Whole record: https://cve.day/CVE-2026-99420.json · Rebuilt by cve.day 2026-11-25T22:59:52.062Z
