{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99641","id":"CVE-2026-99641","title":"Linux kernel warning flood in overlayfs casefold mounts","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: fail the mount if the casefold flag has changed\n\nAn unprivileged user in a user namespace can repeatedly trigger a kernel\nwarning with their own overlay mounts. They do so by changing the\ncasefold flag of the topmost layer's empty root, the top directory of\nthat layer, after the layers are set and before the mount is created","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: fail the mount if the casefold flag has changed\n\nAn unprivileged user in a user namespace can repeatedly trigger a kernel\nwarning with their own overlay mounts. They do so by changing the\ncasefold flag of the topmost layer's empty root, the top directory of\nthat layer, after the layers are set and before the mount is created.\n\nThe casefold flag of a directory makes name lookups in that directory\ncase-insensitive. All layers of an overlay must agree on casefolding.\n\novl_mount_dir_check() reads the casefold flag of a layer root when\nfsconfig() sets that layer, and saves the result in ofs->casefold. The\nmount is created later, by another fsconfig() call with\nFSCONFIG_CMD_CREATE.\n\nThe casefold flag of an empty directory can be changed.\n\nThe casefold flag of the overlay root must match ofs->casefold.\novl_get_root() copies the flag from the topmost layer root, as it is\nwhen the mount is created. On a mismatch, ovl_get_root() only does a\nWARN_ON(), and the mount continues. The check is not a WARN_ON_ONCE(),\nso each such mount warns again.\n\nAn unprivileged user needs CONFIG_UNICODE, and a tmpfs mounted with the\ncasefold option in their namespace.\n\nReproduced by changing the casefold flag of the empty upper directory\nafter the layers were set and before FSCONFIG_CMD_CREATE, with tmpfs and\next4 layers, and as uid 1000 in a user namespace.\n\nFix this by replacing the WARN_ON() with a check that fails the mount\nwith -EINVAL.","published":"2026-11-20T05:49:56.818Z","updated":"2026-11-20T07:00:58.490565410Z","reserved":"2026-09-25T10:25:14.426Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9377faaeae0473ea45f2b6d3ff758e192f3f01d","lessThan":"f182e7bc11c401d09f890ee1a3ec359670e1e308","status":"affected","versionType":"git"},{"version":"f9377faaeae0473ea45f2b6d3ff758e192f3f01d","lessThan":"549fb7c77951ad9ddfed05ce1776f497538ad13e","status":"affected","versionType":"git"},{"version":"f9377faaeae0473ea45f2b6d3ff758e192f3f01d","lessThan":"c782fc8ada811569811c0fdea5c3412511be95d0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f182e7bc11c401d09f890ee1a3ec359670e1e308","tags":["web"]},{"url":"https://git.kernel.org/stable/c/549fb7c77951ad9ddfed05ce1776f497538ad13e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c782fc8ada811569811c0fdea5c3412511be95d0","tags":["web"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99641.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99641","tags":["advisory"]}],"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-99641","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99641","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99641","ok":true,"note":"0 packages"},{"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-99641","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}