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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

tmpfs: fix unicodemap leaks in casefold option handling

shmemparseoptcasefold() stores the unicodemap returned by utf8load() 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 shmemreconfigure() 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 shmemfreefc().

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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In tmpfs casefold option handling, reject a second casefold setting, clear ctx->encoding after transferring ownership to the superblock, and release any remaining map in shmem_free_fc().

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203