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

CVE-2026-99420
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < 7a7ff41b7dbc1db48a2227e08488693f8a37dfcd
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < 988392818127403da5c563dfd7e1b96c393b1260
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < e94cc0c00eca6e29d49ba2530c203c3cb4c03d4b
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < 880fea99b57516ecf0606fe7b7f40b795793d61f
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < a343bd631606d9d508808fca272e1e482ed6c61f
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < 68439a05ed529a8b0350f8c6ff3618ff4a8d972d
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < 3bf6fda63259692331d21392c3f7c0c02594dae5
affected : ≥ c86243b090bc25f81abe33ddfa9fe833e02c4d64 < e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a
Other versions : unaffected
Linux · Linux
affected : 5.10
unaffected : ≥ 0 < 5.10
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD