Skip to main content
Vulnerability Database/CVE-2026-93241

CVE-2026-93241: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-93241 is a privilege escalation flaw in the Linux kernel affecting memory cgroup handling during OOM conditions. This vulnerability can cause processes to hang for hours during exit. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93241 Overview

CVE-2026-93241 affects the Linux kernel's memory cgroup (memcg) subsystem. Dying tasks can become stuck in the exit path for hours when the OOM reaper fails to reclaim their memory. The issue arises when thousands of threads serialize behind oom_lock after MMF_OOM_SKIP is set, producing a denial-of-service condition on affected hosts. Engineers at Meta observed a single process stalled for more than 8 hours with ~20,000 threads waiting on OOM handling. The vulnerability is resolved by bypassing reclaim and the OOM killer for dying tasks once the OOM reaper has finished.

Critical Impact

Processes under memcg pressure can hang for hours during exit, exhausting threads and blocking memory release until administrators manually remove memory.max limits.

Affected Products

  • Linux kernel memory cgroup (memcg) subsystem
  • Systems using cgroup memory.max limits with zswap enabled
  • Multi-threaded workloads subject to OOM group kill

Discovery Timeline

  • 2026-09-24 - CVE-2026-93241 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-93241

Vulnerability Analysis

The flaw lives in the memcg charge path. When a task hits its cgroup memory limit, charge_memcg() calls into mem_cgroup_out_of_memory(), which acquires oom_lock through mutex_lock_killable(). Once get_signal() has consumed SIGKILL and the task is on its way through do_group_exit(), that killable mutex behaves like a plain mutex_lock().

The OOM reaper is best-effort and one-shot. If it cannot acquire mmap_lock for read because a sibling thread holds it for write, it sets MMF_OOM_SKIP and never retries. Nothing asynchronous will free the memory for the dying mm after that point.

Tens of thousands of threads then enter the charge path on page fault, serialize on oom_lock, trip -EFAULT inside futex_cleanup() via get_user(), and exit one at a time. Observed exit times reached ~90 seconds in a 20k-thread reproducer and more than 8 hours in production.

Root Cause

Commit a75ffa26122b routes dying tasks through the OOM path so the reaper can free their memory asynchronously. When the reaper gives up and sets MMF_OOM_SKIP, that assumption breaks. The charge path keeps running synchronous, lock-serialized reclaim and no-victim OOM handling for every dying thread.

Attack Vector

A local workload with many threads parking robust futex heads on swap-backed pages can trigger the condition. OOM group kill combined with a sibling holding mmap_lock for write causes the reaper to set MMF_OOM_SKIP. Each thread then blocks on oom_lock during exit, producing extended denial of service on the host and the containing cgroup.

No synthetic exploit code is published for this issue. The upstream commits linked under References demonstrate the kernel-level fix.

Detection Methods for CVE-2026-93241

Indicators of Compromise

  • Repeated dmesg lines containing "Out of memory and no killable processes..." on hosts using memcg limits.
  • Processes that remain in the R or D state for extended periods after receiving SIGKILL, with threads blocked in mem_cgroup_out_of_memory or charge_memcg.
  • Cgroup memory.current staying near memory.max with the majority of usage held in zswap and little or nothing left on the LRU lists.

Detection Strategies

  • Collect kernel stack traces for stuck threads using /proc/<pid>/stack and alert when charge_memcg or mem_cgroup_out_of_memory appears across many threads of the same tgid.
  • Monitor cgroup memory.events for repeated oom and oom_kill increments without corresponding memory reclamation.
  • Track exit latency between the first SIGKILL delivery and process reaping; sustained latencies above a baseline threshold warrant investigation.

Monitoring Recommendations

  • Export kernel contention metrics for oom_lock and mmap_lock via perf lock or eBPF to detect serialization storms.
  • Alert on sustained high thread counts for exiting PIDs combined with elevated zswap pool size.
  • Capture /proc/pressure/memory (PSI) metrics per cgroup and correlate with OOM events to identify affected workloads.

How to Mitigate CVE-2026-93241

Immediate Actions Required

  • Apply the upstream kernel patches referenced below as soon as your distribution ships them.
  • For acutely stuck processes, temporarily raise or remove memory.max on the affected cgroup to let dying threads complete the exit path.
  • Audit workloads that combine many threads, aggressive memcg limits, and heavy zswap usage; these match the reproducer profile.

Patch Information

The fix bypasses reclaim and the OOM killer in the charge path when the current task is an OOM victim whose reaper has already finished. In the reporter's reproducer, exit time dropped from ~90 seconds to ~3 seconds. See the upstream commits:

Workarounds

  • Reduce the use of hard memory.max ceilings for highly threaded workloads until patched kernels are rolled out.
  • Consider disabling zswap on workloads where almost all of memory.current ends up compressed and nothing remains on the LRU.
  • Implement operational runbooks that temporarily lift the memcg limit on hung dying processes so threads can drain and the kernel can release memory.
bash
# Operational mitigation: raise memory.max on a stuck cgroup to let dying threads exit
# Replace <cgroup-path> with the affected cgroup, for example a systemd slice or scope
echo max > /sys/fs/cgroup/<cgroup-path>/memory.max

# Verify current usage and events after relief
cat /sys/fs/cgroup/<cgroup-path>/memory.current
cat /sys/fs/cgroup/<cgroup-path>/memory.events

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.