CVE Watchtower

CVE-2026-99641Linux

NVD

Vulnerability Summary

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.
Severity Level
UNKNOWN
Published Date
Nov 20, 2026
Last Modified
Nov 20, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.20%Probability
Root Weakness (CWE)
N/A

Affected & Patched Versions

Affected Versions
  • Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d and < f182e7bc11c401d09f890ee1a3ec359670e1e308
  • Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d and < 549fb7c77951ad9ddfed05ce1776f497538ad13e
  • Linux >= f9377faaeae0473ea45f2b6d3ff758e192f3f01d and < c782fc8ada811569811c0fdea5c3412511be95d0
  • Linux 6.18
Patched Versions
  • Linux f182e7bc11c401d09f890ee1a3ec359670e1e308
  • Linux 549fb7c77951ad9ddfed05ce1776f497538ad13e
  • Linux c782fc8ada811569811c0fdea5c3412511be95d0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Linux and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 20, 2026Published
  • Nov 20, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Linux CVEsYou are reading CVE-2026-99641. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 07:07 UTC