CVE-2026-100088
JSON

Not scored

tmpfs: fix unicode_map leaks in casefold option handling

Severity
Not scored
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: tmpfs: fix unicode_map leaks in casefold option handling shmem_parse_opt_casefold() stores the unicode_map returned by utf8_load() in ctx->encoding. A filesystem context can receive the casefold parameter more than once, and a second successful parse overwrites the stored map without releasing it. The map is also leaked when an unmounted filesystem context is freed. This includes the temporary context used for remount, because shmem_reconfigure() does not take ownership of ctx->encoding. Reject a second casefold setting, clear ctx->encoding after transferring ownership to the superblock, and release any remaining map from shmem_free_fc(). An unprivileged user can repeatedly create tmpfs filesystem contexts, set the casefold parameter, and close them from a user namespace. This causes unbounded kernel memory consumption and can result in a local denial of service.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 before 075a08d5160c13571160c56aebaffb0a8ece7f36, from 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 before 543c0f3386e41326f1b1f4a3b52f97bad3663487, from 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 before f439d79e8cd19f89e04cbb3b532347edacd72c79, 6.13
Not affected: before 6.13, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-100088 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-100088 changed 2026-11-30Public domain