CVE-2026-99641
ovl: fail the mount if the casefold flag has changed
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < f182e7bc11c401d09f890ee1a3ec359670e1e308; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < 549fb7c77951ad9ddfed05ce1776f497538ad13e; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < c782fc8ada811569811c0fdea5c3412511be95d0
- Anyone running Linux 6.18
Vulnerability facts
- Affected
- Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < f182e7bc11c401d09f890ee1a3ec359670e1e308; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < 549fb7c77951ad9ddfed05ce1776f497538ad13e; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < c782fc8ada811569811c0fdea5c3412511be95d0; Linux 6.18
- Fixed in
- Linux 549fb7c77951ad9ddfed05ce1776f497538ad13e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ovl: fail the mount if the casefold flag has changed An unprivileged user in a user namespace can repeatedly trigger a kernel warning with their own overlay mounts. They do so by changing the casefold flag of the topmost layer's empty root, the top directory of that layer, after the layers are set and before the mount is created. The casefold flag of a directory makes name lookups in that directory case-insensitive. All layers of an overlay must agree on casefolding. ovl_mount_dir_check() reads the casefold flag of a layer root when fsconfig() sets that layer, and saves the result in ofs->casefold. The mount is created later, by another fsconfig() call with FSCONFIG_CMD_CREATE. The casefold flag of an empty directory can be changed. The casefold flag of the overlay root must match ofs->casefold. ovl_get_root() copies the flag from the topmost layer root, as it is when the mount is created. On a mismatch, ovl_get_root() only does a WARN_ON(), and the mount continues. The check is not a WARN_ON_ONCE(), so each such mount warns again. An unprivileged user needs CONFIG_UNICODE, and a tmpfs mounted with the casefold option in their namespace. Reproduced by changing the casefold flag of the empty upper directory after the layers were set and before FSCONFIG_CMD_CREATE, with tmpfs and ext4 layers, and as uid 1000 in a user namespace. Fix this by replacing the WARN_ON() with a check that fails the mount with -EINVAL.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < f182e7bc11c401d09f890ee1a3ec359670e1e308; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < 549fb7c77951ad9ddfed05ce1776f497538ad13e; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < c782fc8ada811569811c0fdea5c3412511be95d0 | — | cvelist |
| Linux | 6.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99641. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99641.md Affected: Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < f182e7bc11c401d09f890ee1a3ec359670e1e308; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < 549fb7c77951ad9ddfed05ce1776f497538ad13e; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < c782fc8ada811569811c0fdea5c3412511be95d0; Linux 6.18 Fixed in: Linux 549fb7c77951ad9ddfed05ce1776f497538ad13e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-99641 being exploited?
There is no confirmed exploitation: CVE-2026-99641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99641?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99641?
Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < f182e7bc11c401d09f890ee1a3ec359670e1e308; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < 549fb7c77951ad9ddfed05ce1776f497538ad13e; >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d, < c782fc8ada811569811c0fdea5c3412511be95d0; Linux 6.18.
Is there a fix for CVE-2026-99641?
Yes. Fixed in Linux 549fb7c77951ad9ddfed05ce1776f497538ad13e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99641?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |