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
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 to <075a08d5160c13571160c56aebaffb0a8ece7f36 [affected]; 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 to <543c0f3386e41326f1b1f4a3b52f97bad3663487 [affected]; 58e55efd6c72cbc3e76423a1086f7b4d6c2ae9c2 to <f439d79e8cd19f89e04cbb3b532347edacd72c79 [affected] |
| Linux | Linux | 6.13 [affected]; 0 to <6.13 [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.