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

CVE-2026-93216
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ fcf8935832b86d3437f00e732c6d0d4d2819d6a9 < e7c1923c5f30a6953f0540e3171d882ec17b05d3
affectée : ≥ fcf8935832b86d3437f00e732c6d0d4d2819d6a9 < a4c940ab3f794f221a338c9431ad1ce0d73a2bea
affectée : ≥ fcf8935832b86d3437f00e732c6d0d4d2819d6a9 < 46761406e14381dc35f498c247a87565b87ea2ef
affectée : ≥ fcf8935832b86d3437f00e732c6d0d4d2819d6a9 < 90f095b816e25c6a9e4446d299bac5007fdcb3df
Autres versions : non affectée
Linux · Linux
affectée : 5.18
non affectée : ≥ 0 < 5.18
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 7.2.4 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD