{"id":"CVE-2026-93216","aliases":["CVE-2026-93216"],"related":[],"kind":"vulnerability","state":"published","title":"mm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg()\n\nprint_page_owner_memcg() reads page->memcg_data via READ_ONCE() at the\nstart to guard against tail pages and NULL data.  However, it later\nre-reads page->memcg_data locklessly in two places:\n\n1: page_memcg_check(page)\n\n2: PageMemcgKmem(page) (via folio_memcg_kmem(), which includes\n   VM_BUG_ON assertions for tail pages and MEMCG_DATA_OBJEXTS)\n\nIf the page is concurrently freed and reallocated as a THP tail page or\nslab page between these calls, the VM_BUG_ON assertions can trigger on\nCONFIG_DEBUG_VM=y builds, crashing the kernel.\n\nFix both TOCTOU issues by using the memcg_data snapshot throughout.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg()\n\nprint_page_owner_memcg() reads page->memcg_data via READ_ONCE() at the\nstart to guard against tail pages and NULL data.  However, it later\nre-reads page->memcg_data locklessly in two places:\n\n1: page_memcg_check(page)\n\n2: PageMemcgKmem(page) (via folio_memcg_kmem(), which includes\n   VM_BUG_ON assertions for tail pages and MEMCG_DATA_OBJEXTS)\n\nIf the page is concurrently freed and reallocated as a THP tail page or\nslab page between these calls, the VM_BUG_ON assertions can trigger on\nCONFIG_DEBUG_VM=y builds, crashing the kernel.\n\nFix both TOCTOU issues by using the memcg_data snapshot throughout.","source":"cvelist"}],"published":"2026-09-24T15:10:38.702Z","modified":"2026-10-21T13:21:04.503Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fcf8935832b86d3437f00e732c6d0d4d2819d6a9","fixed":"e7c1923c5f30a6953f0540e3171d882ec17b05d3","status":"affected"},{"type":"git","introduced":"fcf8935832b86d3437f00e732c6d0d4d2819d6a9","fixed":"a4c940ab3f794f221a338c9431ad1ce0d73a2bea","status":"affected"},{"type":"git","introduced":"fcf8935832b86d3437f00e732c6d0d4d2819d6a9","fixed":"46761406e14381dc35f498c247a87565b87ea2ef","status":"affected"},{"type":"git","introduced":"fcf8935832b86d3437f00e732c6d0d4d2819d6a9","fixed":"90f095b816e25c6a9e4446d299bac5007fdcb3df","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e7c1923c5f30a6953f0540e3171d882ec17b05d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4c940ab3f794f221a338c9431ad1ce0d73a2bea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46761406e14381dc35f498c247a87565b87ea2ef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90f095b816e25c6a9e4446d299bac5007fdcb3df","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93216","url":"https://www.cve.org/CVERecord?id=CVE-2026-93216","licence":"CVE Terms of Use","modified":"2026-10-21T12:52:21.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93216","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93216","licence":"Public domain","modified":"2026-10-21T13:21:04.503Z"}],"updatedAt":"2026-11-25T22:59:40.780Z","epss":{"score":0.00168,"percentile":0.06481,"date":"2026-12-01T12:00:22.000Z"}}