# CVE-2026-93216: mm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T15:10:38.702Z
- Modified: 2026-10-21T13:21:04.503Z
- Assigned by: Linux

## Description

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

mm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg()

print_page_owner_memcg() reads page->memcg_data via READ_ONCE() at the
start to guard against tail pages and NULL data.  However, it later
re-reads page->memcg_data locklessly in two places:

1: page_memcg_check(page)

2: PageMemcgKmem(page) (via folio_memcg_kmem(), which includes
   VM_BUG_ON assertions for tail pages and MEMCG_DATA_OBJEXTS)

If the page is concurrently freed and reallocated as a THP tail page or
slab page between these calls, the VM_BUG_ON assertions can trigger on
CONFIG_DEBUG_VM=y builds, crashing the kernel.

Fix both TOCTOU issues by using the memcg_data snapshot throughout.

(As written by CVE List.)

## Affected

- Linux Linux: from fcf8935832b86d3437f00e732c6d0d4d2819d6a9 before e7c1923c5f30a6953f0540e3171d882ec17b05d3; from fcf8935832b86d3437f00e732c6d0d4d2819d6a9 before a4c940ab3f794f221a338c9431ad1ce0d73a2bea; from fcf8935832b86d3437f00e732c6d0d4d2819d6a9 before 46761406e14381dc35f498c247a87565b87ea2ef; from fcf8935832b86d3437f00e732c6d0d4d2819d6a9 before 90f095b816e25c6a9e4446d299bac5007fdcb3df; 5.18 (not affected: before 5.18; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e7c1923c5f30a6953f0540e3171d882ec17b05d3>
- <https://git.kernel.org/stable/c/a4c940ab3f794f221a338c9431ad1ce0d73a2bea>
- <https://git.kernel.org/stable/c/46761406e14381dc35f498c247a87565b87ea2ef>
- <https://git.kernel.org/stable/c/90f095b816e25c6a9e4446d299bac5007fdcb3df>

## Sources

- CVE List: [CVE-2026-93216](https://www.cve.org/CVERecord?id=CVE-2026-93216), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-93216](https://nvd.nist.gov/vuln/detail/CVE-2026-93216), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-93216 · Whole record: https://cve.day/CVE-2026-93216.json · Rebuilt by cve.day 2026-11-25T22:59:40.780Z
