Overview
CVE-2026-100088 addresses a lifecycle bug in the Linux kernel's tmpfs (and underlying shmem) implementation. The affected code paths are shmem_parse_opt_casefold(), shmem_free_fc(), and shmem_reconfigure() — collectively responsible for handling the casefold mount option that enables Unicode-aware case-insensitive lookups on tmpfs filesystems.
The advisory was published on 2026-11-30 and is registered in the National Vulnerability Database under CVE-2026-100088. No CVSS score, CISA KEV listing, or in-the-wild exploitation evidence accompanies the record at the time of writing.
Root cause
When a tmpfs filesystem context receives the casefold parameter, shmem_parse_opt_casefold() invokes utf8_load() and stores the returned struct unicode_map in ctx->encoding. The map is refcount-bearing and must be released by the eventual owner, typically the superblock. Three leak paths exist in the upstream code prior to the fix:
- Repeated option parsing. The parser does not check whether
ctx->encodingis already populated. A second successful invocation of the parser overwrites the previously stored map without dropping a reference, so the first allocation is orphaned.
- Aborted or unmounted contexts. Filesystem contexts that are never converted into mounted superblocks — error paths, contexts the user closes without mounting — release no map on teardown.
shmem_free_fc()does not reclaim whatever is sitting inctx->encoding.
- Remount path. The temporary context used during remount is parsed by the same code, but
shmem_reconfigure()does not take ownership ofctx->encoding, dropping the map between parse and remount.
The upstream resolution has three corresponding pieces: reject a second casefold setting on the same context, NULL out ctx->encoding after ownership is transferred to the superblock, and have shmem_free_fc() release any residual map during teardown.
Affected systems
The vulnerability lives in the Linux kernel's tmpfs/shmem code, which is present in essentially every Linux distribution and container image. The advisory does not enumerate specific affected kernel versions or a fixed version, and the provided context does not include that information; affected and patched ranges must be determined from the upstream commit referenced by the NVD entry and from distribution security bulletins. Systems that expose tmpfs mounts to unprivileged local users — multi-tenant Linux hosts, container hosts, build sandboxes, and CI runners — are the most relevant exposure surfaces, because the trigger is reachable from a user namespace.
Attack primitive
The exploit path is straightforward and purely userspace:
- The actor (an unprivileged user inside a user namespace) creates new tmpfs filesystem contexts via
fsopen.
- The actor applies the
casefoldparameter on each context, causingutf8_load()to allocate a freshstruct unicode_map.
- The actor closes or aborts the contexts without completing a mount, or performs remounts that do not adopt the context's encoding.
Each iteration leaves one struct unicode_map reference unreleased. Over time, kernel memory consumption grows without bound, and the host — or, in containerized deployments, the relevant cgroup — hits its memory ceiling and suffers a denial of service. The advisory explicitly characterizes the outcome as unbounded kernel memory consumption resulting in localized DoS.
Mitigation
Patch. Apply the upstream kernel fix that: rejects a second casefold setting on a given filesystem context; clears ctx->encoding after handing ownership off to the superblock; and releases any remaining map from shmem_free_fc(). Track availability through stable and LTS backports and through vendor advisories from distributors such as Red Hat, SUSE, Ubuntu, and Debian. Because the supplied context does not specify a patched release, confirm the fix level against the distribution manifest and the upstream commit referenced from the NVD entry.
Defense in depth. Where patching is not yet possible, several hardening measures narrow the attack surface without addressing the underlying bug:
- Restrict
CAP_SYS_ADMINinside user namespaces, or disable unprivileged user-namespace creation where the operational environment supports it. The trigger is reachable from a user namespace, so closing that pathway significantly reduces exposure.
- Apply cgroup memory limits to untrusted local users and workloads to ensure unbounded
unicode_mapallocation cannot exhaust host memory.
- For workloads that do not need case-insensitive tmpfs lookups, mount tmpfs without the
casefoldoption. This addresses only one of the three leak paths.
- Syscall filtering on
fsopen,fsmount,fsconfig, andfspickcan prevent thecasefoldparameter from being set at all, although this is a heavy-handed approach that may break legitimate mount flows.
Detection. Because exploitation is a slow resource leak rather than a discrete event, signature-based detection is not meaningful. Useful operational signals include:
- Growth in kernel slab memory attributable to
unicode_map-related structures, observable through/proc/slabinfoand buddyinfo over time on production hosts.
- Unusual rates of
fsopen/fsmount/fsconfig/fspicksyscalls from unprivileged UIDs, especially those originating in user namespaces.auditdrules covering the FSCONFIG family of operations, orbpftrace/BCCprobes attached toshmem_parse_opt_casefold()andutf8_load(), can surface offenders.
- OOM-killer activity correlating with bursts of tmpfs filesystem-context churn from a single UID is a strong retrospective indicator.
Real-world severity
The supplied risk assessment places technical severity at 25/100 and editorial severity at 67/100, with an overall rating of low. Technical factors limiting impact are the absence of a CVSS score, the absence of the CVE from the CISA Known Exploited Vulnerabilities catalog, the absence of recorded exploitation evidence, and the lack of high-value-asset keywords in the item categories. Practical impact is bounded by the per-allocation memory cost of a single unicode_map and by the rate at which an unprivileged actor can spawn and tear down filesystem contexts; in well-provisioned hosts with reasonable cgroup accounting, the leak is observable but contained. In containerized or cgroup-constrained deployments, however, the same primitive can be used to exhaust a tenant's memory limit and produce denial of service against that workload.