CVE-2026-93240: memcg: make the v1 soft limit knob inert

Published Sep 24, 2026
·
Updated

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

memcg: make the v1 soft limit knob inert

The v1 soft limit has been deprecated since v6.12 and nobody has reported depending on it. Start the removal by decoupling the interface from the implementation: keep memory.softlimitinbytes, but ignore writes to it and always report the maximum value on read similar to what memory.kmem.limitinbytes already does.

Writes are still parsed, so malformed input keeps returning -EINVAL. The knob now also behaves the same everywhere: it used to return -EOPNOTSUPP on PREEMPTRT, where soft limit reclaim has always been disabled.

This also fixes the syzbot report linked below. Soft limit reclaim is the only caller that runs shrinklruvec() from kswapd against a specific memcg, so it is the only way to reach lrugenshrinklruvec() and in turn setmmwalk(), which warns when called from kswapd.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Treat the v1 soft-limit knob as inert: continue parsing writes and return -EINVAL for malformed input, ignore valid writes, and report the maximum value on reads.

    Linux kernel cgroup v1 memory controller memory.soft_limit_in_bytes = inert

Event History

Sep 24, 2026
CVE Published
via MITRE·03:34 PM
Data Sourced
via MITRE·03:34 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to the affected code path?

Systems using cgroup v1 memory control groups with soft limit reclaim enabled can reach the affected path. The issue does not apply to PREEMPT_RT through this interface, because soft limit reclaim has always been disabled there.

2

What must occur to trigger the warning path?

Soft limit reclaim must invoke shrink_lruvec() from kswapd for a specific memory cgroup. This is the only stated route to lru_gen_shrink_lruvec() and set_mm_walk(), which warns when invoked from kswapd.

3

What happens to existing memory.soft_limit_in_bytes users after the fix?

The file remains present, but writes no longer affect soft-limit behavior and reads always return the maximum value. Input is still parsed, so malformed writes continue to fail with -EINVAL.

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