# CVE-2026-93241: memcg: bypass the reclaim and oom killer for dying tasks once oom\_reaper is done

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T15:34:36.237Z
- **Modified:** 2026-10-19T10:17:15.210Z

## Who should check

- Anyone running Linux \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< 801bcbdbfd595cc7f0de95f2802b5596c8971315; \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< d44c3c5986c7a4a5f913a813e18cda08a838f91b; \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7
- Anyone running Linux 6.16

## Description

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

memcg: bypass the reclaim and oom killer for dying tasks once oom\_reaper is done

At Meta, we are seeing instances where an OOM killed job is stuck in the
exit path for several hours.  In one particular case, the job was stuck
for more than 8 hours and I had to manually remove the memory.max limits
to allow the process to exit.

The job was a single process job and had ~55 GiB memory.max and zswap
enabled.  It had almost 0 anon in memory and ~111 GiB in zswap compressed
to ~51 GiB zswap pool (i.e.  almost all of memory.current was zswap). 
Nothing was left on the LRUs to reclaim.

On further inspection, I observed ~20k threads of that process stuck with
the following stack:

\[\<0\>\] mem\_cgroup\_out\_of\_memory+0x4e/0xa0
\[\<0\>\] charge\_memcg+0x8bf/0x990
\[\<0\>\] mem\_cgroup\_swapin\_charge\_folio+0x4e/0x80
\[\<0\>\] \_\_read\_swap\_cache\_async+0x10c/0x260
\[\<0\>\] swapin\_readahead+0x116/0x3f0
\[\<0\>\] do\_swap\_page+0x13c/0x1ce0
\[\<0\>\] handle\_mm\_fault+0x61d/0x11f0
\[\<0\>\] do\_user\_addr\_fault+0x3e7/0x6d0
\[\<0\>\] exc\_page\_fault+0x8f/0x110
\[\<0\>\] asm\_exc\_page\_fault+0x22/0x30
\[\<0\>\] \_\_get\_user\_8+0x14/0x20
\[\<0\>\] futex\_cleanup+0x27/0x1c0
\[\<0\>\] futex\_exit\_release+0x47/0x60
\[\<0\>\] do\_exit+0x107/0x940
\[\<0\>\] do\_group\_exit+0x81/0xa0
\[\<0\>\] get\_signal+0x2b1/0x6e0
\[\<0\>\] arch\_do\_signal\_or\_restart+0x1a/0x1c0
\[\<0\>\] exit\_to\_user\_mode\_loop+0xa8/0x1c0
\[\<0\>\] do\_syscall\_64+0x152/0x250
\[\<0\>\] entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53

In addition the dmesg was filled with "Out of memory and no killable
processes..." messages.

I have no idea why oom reaper was not able to reap/unmap the process.  My
guess is that since oom reaper tries to acquire mmap\_lock in read mode
limited number of times and then gives up, there might be a thread of that
process which had mmap\_lock in write mode at that time.

My initial suspicion was the futex\_cleanup and kernel page fault causing
infinite fault and charge retries but that was put to rest in previous
discussions happened on similar problem \[1\].

My current theory is that it is just a simple slow serialization behind
the oom\_lock.  Unlike page allocator, memcg charge code takes the oom\_lock
without the "try".  Though memcg oom code uses mutex\_lock\_killable(), note
that in the call stack get\_signal() consumes SIGKILL (or
sigdelset(SIGKILL)) before calling do\_group\_exit().  So this
mutex\_lock\_killable() is just a mutex\_lock() here.  Therefore 10s of
thousands of threads are waiting on oom\_lock and one by one they get
-EFAULT from get\_user() in the futex cleanup code and bails out.

Discussion from \[1\] led to commit a75ffa26122b ("memcg, oom: do not bypass
oom killer for dying tasks") which routes dying tasks into the OOM path
precisely so the oom\_reaper can reap their mm and free the memory
asynchronously.  But the reaper is best-effort and one-shot: if it cannot
take mmap\_lock for read (e.g.  a sibling thread holds it for write) it
sets MMF\_OOM\_SKIP and never retries, leaving only the glacial
oom\_lock-serialized synchronous drain.

Once MMF\_OOM\_SKIP is set there is no more asynchronous reclaim coming for
the mm, so a dying task charging against it has nothing left to wait for:
it frees its memory only once it finishes exiting.  Running reclaim and
the (no-victim) OOM killer for it is then pointless, and doing it for 10s
of thousands of exiting threads is what serializes them behind oom\_lock. 
So before reclaim, if current is an OOM victim whose reaper is done, fail
the charge.

Reproduced with 20k threads, each parking a robust futex head on its own
zswapped page, OOM-group-killed while a sibling holds mmap\_lock for write
so the reaper gives up and sets MMF\_OOM\_SKIP.  Tested on next-20260728 and
baseline show ~90 seconds exit time while with the patch the exit time
reduced to ~3 seconds.

## Affected and fixed versions

- Linux: \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< 801bcbdbfd595cc7f0de95f2802b5596c8971315; \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< d44c3c5986c7a4a5f913a813e18cda08a838f91b; \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93241. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93241.md
Affected: Linux >= a75ffa26122bba4a3fa9372aa13b32d7a5590425, < 801bcbdbfd595cc7f0de95f2802b5596c8971315; >= a75ffa26122bba4a3fa9372aa13b32d7a5590425, < d44c3c5986c7a4a5f913a813e18cda08a838f91b; >= a75ffa26122bba4a3fa9372aa13b32d7a5590425, < 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7; Linux 6.16
Fixed in: Linux 801bcbdbfd595cc7f0de95f2802b5596c8971315, Linux 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93241 being exploited?

There is no confirmed exploitation: CVE-2026-93241 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93241?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93241?

Linux \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< 801bcbdbfd595cc7f0de95f2802b5596c8971315; \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< d44c3c5986c7a4a5f913a813e18cda08a838f91b; \>= a75ffa26122bba4a3fa9372aa13b32d7a5590425, \< 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7; Linux 6.16.

### Is there a fix for CVE-2026-93241?

Yes. Fixed in Linux 801bcbdbfd595cc7f0de95f2802b5596c8971315, Linux 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7. Upgrade Linux to 6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7 or later.

### How do I check if I'm affected by CVE-2026-93241?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/801bcbdbfd595cc7f0de95f2802b5596c8971315>
- other: <https://git.kernel.org/stable/c/d44c3c5986c7a4a5f913a813e18cda08a838f91b>
- other: <https://git.kernel.org/stable/c/6b0d1083364fc8e7cc2f7d1f93ee3ee78f4d52f7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93241>

HTML: <https://flawdb.com/CVE-2026-93241> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93241>
