{"id":"CVE-2026-100088","summary":"tmpfs: fix unicode_map leaks in casefold option handling","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntmpfs: fix unicode_map leaks in casefold option handling\n\nshmem_parse_opt_casefold() stores the unicode_map returned by utf8_load()\nin ctx-\u003eencoding.  A filesystem context can receive the casefold parameter\nmore than once, and a second successful parse overwrites the stored map\nwithout releasing it.\n\nThe map is also leaked when an unmounted filesystem context is freed. \nThis includes the temporary context used for remount, because\nshmem_reconfigure() does not take ownership of ctx-\u003eencoding.\n\nReject a second casefold setting, clear ctx-\u003eencoding after transferring\nownership to the superblock, and release any remaining map from\nshmem_free_fc().\n\nAn unprivileged user can repeatedly create tmpfs filesystem contexts, set\nthe casefold parameter, and close them from a user namespace.  This causes\nunbounded kernel memory consumption and can result in a local denial of\nservice.","modified":"2026-12-01T21:00:31.043968011Z","published":"2026-11-30T13:23:40.016Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100088.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/075a08d5160c13571160c56aebaffb0a8ece7f36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/543c0f3386e41326f1b1f4a3b52f97bad3663487"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f439d79e8cd19f89e04cbb3b532347edacd72c79"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100088.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100088"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2"},{"fixed":"075a08d5160c13571160c56aebaffb0a8ece7f36"},{"fixed":"543c0f3386e41326f1b1f4a3b52f97bad3663487"},{"fixed":"f439d79e8cd19f89e04cbb3b532347edacd72c79"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100088.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100088.json"}}],"schema_version":"1.9.2"}