{"id":"CVE-2026-100088","aliases":["CVE-2026-100088"],"related":[],"kind":"vulnerability","state":"published","title":"tmpfs: fix unicode_map leaks in casefold option handling","summary":"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->encoding.  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->encoding.\n\nReject a second casefold setting, clear ctx->encoding 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->encoding.  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->encoding.\n\nReject a second casefold setting, clear ctx->encoding 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.","source":"cvelist"}],"published":"2026-11-30T13:23:40.016Z","modified":"2026-11-30T14:17:26.963Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2","fixed":"075a08d5160c13571160c56aebaffb0a8ece7f36","status":"affected"},{"type":"git","introduced":"58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2","fixed":"543c0f3386e41326f1b1f4a3b52f97bad3663487","status":"affected"},{"type":"git","introduced":"58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2","fixed":"f439d79e8cd19f89e04cbb3b532347edacd72c79","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/075a08d5160c13571160c56aebaffb0a8ece7f36","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/543c0f3386e41326f1b1f4a3b52f97bad3663487","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f439d79e8cd19f89e04cbb3b532347edacd72c79","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100088","url":"https://www.cve.org/CVERecord?id=CVE-2026-100088","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:40.016Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100088","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100088","licence":"Public domain","modified":"2026-11-30T14:17:26.963Z"}],"updatedAt":"2026-11-30T14:32:21.646Z","epss":{"score":0.00174,"percentile":0.07145,"date":"2026-12-01T12:00:22.000Z"}}