Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-100088

tmpfs: fix unicode_map leaks in casefold option handling

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linux58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 – < 075a08d5160c13571160c56aebaffb0a8ece7f36 · 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 – < 543c0f3386e41326f1b1f4a3b52f97bad3663487 · 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 – < f439d79e8cd19f89e04cbb3b532347edacd72c79Fixed in: 075a08d5160c13571160c56aebaffb0a8ece7f36 · 543c0f3386e41326f1b1f4a3b52f97bad3663487 · f439d79e8cd19f89e04cbb3b532347edacd72c79
Linux Linux6.13Fixed in: 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.