# CVE-2026-80719: mm: mglru: fix stale batch updates after memcg reparenting

> 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-26)
- **Published:** 2026-08-28T06:53:16.087Z
- **Modified:** 2026-08-28T08:16:57.720Z

## Who should check

- Anyone running Linux \>= f304652609eae3814b0e9d11c75c0e0cb62da31f, \< fceb6b7f3ddec6ea9fc11577f4cf1b2da73a3101; \>= f304652609eae3814b0e9d11c75c0e0cb62da31f, \< de4660898b7aa7e03d3b120a6bfa6b26211e4e77
- Anyone running Linux 7.1

## Description

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

mm: mglru: fix stale batch updates after memcg reparenting

The mglru page table walker batches per-generation size deltas in
walk-\>nr\_pages while walking page tables without holding the lruvec lock. 
The reset\_batch\_size() later folds those deltas into walk-\>lruvec under
the lruvec lock.

The page table walker can run concurrently with the memcg reparenting path
as follows:

CPU0                           CPU1
====                           ====

walk\_mm
--\> walk\_page\_range
    --\> update\_batch\_size
        --\> walk-\>nr\_pages += delta

                              mem\_cgroup\_css\_offline
                              --\> memcg\_reparent\_objcgs
                                  --\> lock lruvec
                                      lru\_gen\_reparent\_memcg
                                      --\> reparent child folios to parent
                                      unlock lruvec

    lock lruvec
    reset\_batch\_size
    --\> child lrugen-\>nr\_pages += delta

This will trigger the following warning in lru\_gen\_exit\_memcg():

	VM\_WARN\_ON\_ONCE(memchr\_inv(lruvec-\>lrugen.nr\_pages, 0,
				   sizeof(lruvec-\>lrugen.nr\_pages)));

And the user-visible impact of underestimated nr\_pages in MGLRU was
premature OOMs because MGLRU does not try to reclaim memory when nr\_pages
reaches zero, but there are still more pages.

To fix it, make reset\_batch\_size() check CSS\_DYING under RCU before
flushing the pending batch.  A non-dying memcg keeps the original lruvec
stable against RCU-delayed offlining; a dying memcg redirects the deltas
to the first non-dying ancestor.

## Affected and fixed versions

- Linux: \>= f304652609eae3814b0e9d11c75c0e0cb62da31f, \< fceb6b7f3ddec6ea9fc11577f4cf1b2da73a3101; \>= f304652609eae3814b0e9d11c75c0e0cb62da31f, \< de4660898b7aa7e03d3b120a6bfa6b26211e4e77 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80719.md
Affected: Linux >= f304652609eae3814b0e9d11c75c0e0cb62da31f, < fceb6b7f3ddec6ea9fc11577f4cf1b2da73a3101; >= f304652609eae3814b0e9d11c75c0e0cb62da31f, < de4660898b7aa7e03d3b120a6bfa6b26211e4e77; Linux 7.1
Fixed in: no fixed version listed yet

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

There is no confirmed exploitation: CVE-2026-80719 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-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= f304652609eae3814b0e9d11c75c0e0cb62da31f, \< fceb6b7f3ddec6ea9fc11577f4cf1b2da73a3101; \>= f304652609eae3814b0e9d11c75c0e0cb62da31f, \< de4660898b7aa7e03d3b120a6bfa6b26211e4e77; Linux 7.1.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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/fceb6b7f3ddec6ea9fc11577f4cf1b2da73a3101>
- other: <https://git.kernel.org/stable/c/de4660898b7aa7e03d3b120a6bfa6b26211e4e77>

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

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