{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99424","id":"CVE-2026-99424","title":"Linux kernel denial of service in OverlayFS directory copy-up","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: set OVL_WHITEOUTS before publishing the upper dir\n\nListing a directory while it is copied up causes a use-after-free of\nthe readdir cache.\n\nA merge directory must never be iterated as a real upper directory:\nthat mode frees the cache in OVL_I(inode)->cache without looking at\nits refcount, while files opened in merged mode st","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: set OVL_WHITEOUTS before publishing the upper dir\n\nListing a directory while it is copied up causes a use-after-free of\nthe readdir cache.\n\nA merge directory must never be iterated as a real upper directory:\nthat mode frees the cache in OVL_I(inode)->cache without looking at\nits refcount, while files opened in merged mode still use it.\novl_copy_up_workdir() publishes the upper dentry before it sets\nOVL_WHITEOUTS, and ovl_dir_open() samples both without a lock, so an\nopen between the two stores finds the upper directory and takes it\nfor a real one.\n\nWith a delay between the two stores, an unprivileged process that\nlisted a directory during its copy-up saw only \".\" and \"..\", and its\nnext getdents freed the readdir cache of another descriptor.\n\nFix this by setting OVL_WHITEOUTS before ovl_inode_update(), so that\novl_dir_reset() agrees with ovl_dir_open(), and by testing\nOVL_TYPE_MERGE() of the path type in ovl_dir_open(), so that an open\nthat observes the upper dentry never iterates a merge dir as a real\ndir, regardless of the order in which it observes the flag.\n\n[amir: test OVL_TYPE_MERGE() instead of smp_rmb() in ovl_dir_open()]","published":"2026-11-19T14:40:27.661Z","updated":"2026-11-19T15:17:55.430Z","reserved":"2026-09-25T10:25:14.414Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b79e05aaa166755fafbf02db275175edb5175df8","lessThan":"43ad4a3090e1c2a0c34e9802882b42c5c078d556","status":"affected","versionType":"git"},{"version":"b79e05aaa166755fafbf02db275175edb5175df8","lessThan":"7805739ce4577f2c53f5a30be2d48e83e91c63bc","status":"affected","versionType":"git"},{"version":"b79e05aaa166755fafbf02db275175edb5175df8","lessThan":"ea5327a9228bfd1609e54f1fca50786e8f963da5","status":"affected","versionType":"git"},{"version":"b79e05aaa166755fafbf02db275175edb5175df8","lessThan":"cbec8610ec5aaf35df50094ff639febc23f20773","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/43ad4a3090e1c2a0c34e9802882b42c5c078d556","tags":[]},{"url":"https://git.kernel.org/stable/c/7805739ce4577f2c53f5a30be2d48e83e91c63bc","tags":[]},{"url":"https://git.kernel.org/stable/c/ea5327a9228bfd1609e54f1fca50786e8f963da5","tags":[]},{"url":"https://git.kernel.org/stable/c/cbec8610ec5aaf35df50094ff639febc23f20773","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99424","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99424","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99424","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99424","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}