# CVE-2026-93197: memcg: move LRU size accounting on reparenting instead of copying it

> 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.20% (percentile 5, 2026-11-28)
- **Published:** 2026-09-17T16:12:19.776Z
- **Modified:** 2026-10-19T10:17:10.377Z

## Who should check

- Anyone running Linux \>= 07a6e9a2c199fed361f528781284d56771d0016f, \< 007bc1842317bb99f5f6205afede940f951674c2; \>= 07a6e9a2c199fed361f528781284d56771d0016f, \< 0e0ac326c511d514817cc7b6d7741afd59098ce2
- Anyone running Linux 7.1

## Description

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

memcg: move LRU size accounting on reparenting instead of copying it

When a memory cgroup is offlined its LRU folios are reparented to the
parent.  lruvec\_reparent\_lru() splices the child's lists into the
parent's and credits the parent with the child's per-zone
lru\_zone\_size\[\], but never clears the child's copy, so the size is
copied rather than moved.  lru\_gen\_reparent\_memcg() does the same for
MGLRU.

The parent is left correct, credited with exactly the folios it took
over.  The stale value sits on the child and nothing will correct it:
folio-\>memcg\_data now resolves to the parent, so every later
update\_lru\_size() for those folios goes there.

Dying cgroups are not freed immediately and mem\_cgroup\_iter() still
walks them, so shrink\_lruvec() keeps being called on them.
get\_scan\_count() reads the phantom counter through lruvec\_lru\_size() and
the scan loop then grinds through nr\[\] in SWAP\_CLUSTER\_MAX steps against
an empty list, for as long as the dead cgroup lives.  Under MGLRU the
MGLRU scanner runs instead, but count\_shadow\_nodes() sums all of
NR\_LRU\_LISTS through lruvec\_lru\_size() and over-budgets the shadow node
limit just the same.

On one 251 GiB host a sweep of every mz-\>lru\_zone\_size\[\] found 380
counters describing folios on no list at all: 124777314 pages, 476 GiB,
1.89x the machine's RAM, across 57 cgroups.  All were on memcgs with
CSS\_DYING set and CSS\_ONLINE clear, and parent/child pairs reported
byte-identical sizes.

LRU\_UNEVICTABLE needs its size moved too.  Its list is deliberately not
spliced because lruvec\_init() poisons the head - the unevictable LRU is
imaginary and folios are never threaded on it - but the size is kept by
lruvec\_add\_folio()/lruvec\_del\_folio() and those folios account to the
parent from here on.

This depends on commit bf4ade7dbd76 ("memcg: keep folio's objcg same as
its node") and must not be backported ahead of it.  Without that
invariant a folio's objcg can belong to another node, so a folio already
spliced onto the parent's list can still resolve to the child's lruvec
until the objcg's node is reparented in a later iteration of
memcg\_reparent\_objcgs(); clearing the child's counter early then lets
lruvec\_del\_folio() underflow it and trip the WARN\_ONCE()/VM\_BUG\_ON() in
mem\_cgroup\_update\_lru\_size().

## Affected and fixed versions

- Linux: \>= 07a6e9a2c199fed361f528781284d56771d0016f, \< 007bc1842317bb99f5f6205afede940f951674c2; \>= 07a6e9a2c199fed361f528781284d56771d0016f, \< 0e0ac326c511d514817cc7b6d7741afd59098ce2 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 0e0ac326c511d514817cc7b6d7741afd59098ce2 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-93197. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93197.md
Affected: Linux >= 07a6e9a2c199fed361f528781284d56771d0016f, < 007bc1842317bb99f5f6205afede940f951674c2; >= 07a6e9a2c199fed361f528781284d56771d0016f, < 0e0ac326c511d514817cc7b6d7741afd59098ce2; Linux 7.1
Fixed in: Linux 007bc1842317bb99f5f6205afede940f951674c2, Linux 0e0ac326c511d514817cc7b6d7741afd59098ce2

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-93197 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 07a6e9a2c199fed361f528781284d56771d0016f, \< 007bc1842317bb99f5f6205afede940f951674c2; \>= 07a6e9a2c199fed361f528781284d56771d0016f, \< 0e0ac326c511d514817cc7b6d7741afd59098ce2; Linux 7.1.

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

Yes. Fixed in Linux 007bc1842317bb99f5f6205afede940f951674c2, Linux 0e0ac326c511d514817cc7b6d7741afd59098ce2. Upgrade Linux to 0e0ac326c511d514817cc7b6d7741afd59098ce2 or later.

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

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/007bc1842317bb99f5f6205afede940f951674c2>
- other: <https://git.kernel.org/stable/c/0e0ac326c511d514817cc7b6d7741afd59098ce2>

## 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-93197>

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