# CVE-2026-100088: tmpfs: fix unicode_map leaks in casefold option handling

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:40.016Z
- Modified: 2026-11-30T14:17:26.963Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/075a08d5160c13571160c56aebaffb0a8ece7f36>
- <https://git.kernel.org/stable/c/543c0f3386e41326f1b1f4a3b52f97bad3663487>
- <https://git.kernel.org/stable/c/f439d79e8cd19f89e04cbb3b532347edacd72c79>

## Sources

- CVE List: [CVE-2026-100088](https://www.cve.org/CVERecord?id=CVE-2026-100088), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100088](https://nvd.nist.gov/vuln/detail/CVE-2026-100088), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100088 · Whole record: https://cve.day/CVE-2026-100088.json · Rebuilt by cve.day 2026-11-30T14:32:21.646Z
