CVE-2026-142810 — Linux
One of 624 Linux vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsVulnerabilitiesSummary
In the Linux kernel, the following vulnerability has been resolved: ovl: check the casefold flag of directories only On an overlay over casefolded (case-insensitive) directories, every lookup of a file that is not a directory fails with EREMOTE, and the first file create triggers a kernel warning. No privilege is needed: an unprivileged user can cause both in a user namespace, with the layers on a tmpfs that they have mounted with the casefold option. Some filesystems support casefolding, which is case-insensitive name lookup. It is enabled per directory, and the inode of a casefolded directory has the S_CASEFOLD flag. overlayfs accepts layers on a filesystem that supports casefolding as long as casefolding is enabled on every directory of the layers, or on none. The mount records which of the two applies in ofs->casefold. ovl_lookup_single() compares the S_CASEFOLD flag of each file that it finds against ofs->casefold and returns -EREMOTE on a mismatch. Filesystems only set S_CASEFOLD on directories, so with casefolded layers a regular file, a symlink or a special file never matches and its lookup fails. ovl_get_inode() does the same comparison in a WARN_ON_ONCE() for each new overlay inode. A failed lookup never gets that far, so it is the first file create that trips the warning. Reproduced on an overlay over casefolded tmpfs or ext4 directories, with stat() of a regular file, a symlink and a FIFO, and with a file create: each stat() failed with EREMOTE. For an unprivileged user in a user namespace, on tmpfs, stat() of a regular file failed in the same way, and the file create triggered the warning. Fix this by limiting both checks to directories.
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux | 6.18 and later | 6.18.61, 7.3.2, 7.4-rc1 |
References by type
Patches and fixed releases
Affected
- Linux
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142810?
In the Linux kernel, the following vulnerability has been resolved: ovl: check the casefold flag of directories only On an overlay over casefolded (case-insensitive) directories, every lookup of a file that is not a directory fails with EREMOTE, and the first file create triggers a kernel warning.
How severe is CVE-2026-142810?
CVE-2026-142810 has not been given a CVSS score yet.
Is CVE-2026-142810 being exploited?
Not as far as is known: CVE-2026-142810 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142810?
Linux 6.18 and later (fixed in 6.18.61, 7.3.2, 7.4-rc1).
How do I fix CVE-2026-142810?
Update to a fixed release: Linux 6.18.61, 7.3.2, 7.4-rc1.
Timeline & sources
References
Related vulnerabilities & news
- Anthropic’s AI bug tests uncover previously undisclosed flaws in macOS, Linux and Rust
- CVE-2026-118966 — Nokia SR Linux
- Ubuntu Patches Four rsyslog Flaws Covering Log Injection, Spoofing and Denial of Service
- CVE-2026-105102 — BDCOM Boa Web Interface Router
- Debian Issues openssl Update Fixing 13 CVEs in DSA-6682-1