{"id":"CVE-2025-68293","aliases":["CVE-2025-68293"],"related":[],"kind":"vulnerability","state":"published","title":"mm/huge_memory: fix NULL pointer deference when splitting folio","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix NULL pointer deference when splitting folio\n\nCommit c010d47f107f (\"mm: thp: split huge page to any lower order pages\")\nintroduced an early check on the folio's order via mapping->flags before\nproceeding with the split work.\n\nThis check introduced a bug: for shmem folios in the swap cache and\ntruncated folios, the mapping pointer can be NULL.  Accessing\nmapping->flags in this state leads directly to a NULL pointer dereference.\n\nThis commit fixes the issue by moving the check for mapping != NULL before\nany attempt to access mapping->flags.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix NULL pointer deference when splitting folio\n\nCommit c010d47f107f (\"mm: thp: split huge page to any lower order pages\")\nintroduced an early check on the folio's order via mapping->flags before\nproceeding with the split work.\n\nThis check introduced a bug: for shmem folios in the swap cache and\ntruncated folios, the mapping pointer can be NULL.  Accessing\nmapping->flags in this state leads directly to a NULL pointer dereference.\n\nThis commit fixes the issue by moving the check for mapping != NULL before\nany attempt to access mapping->flags.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmm/huge_memory: corrección de desreferencia de puntero NULL al dividir folio\n\nEl commit c010d47f107f ('mm: thp: split huge page to any lower order pages') introdujo una verificación temprana del orden del folio a través de mapping -> flags antes de proceder con el trabajo de división.\n\nEsta verificación introdujo un error: para folios shmem en la caché de intercambio y folios truncados, el puntero mapping puede ser NULL. Acceder a mapping -> flags en este estado conduce directamente a una desreferencia de puntero NULL.\n\nEste commit soluciona el problema moviendo la verificación de mapping != NULL antes de cualquier intento de acceder a mapping -> flags.","source":"nvd"}],"published":"2025-12-16T15:06:13.428Z","modified":"2026-10-14T16:10:00.250Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c010d47f107f609b9f4d6a103b6dfc53889049e9","fixed":"592db83615a9f0164472ec789c2ed34ad35f732f","status":"affected"},{"type":"git","introduced":"c010d47f107f609b9f4d6a103b6dfc53889049e9","fixed":"d1b83fbacd4397a1d2f8c6b13427a8636ae2b307","status":"affected"},{"type":"git","introduced":"c010d47f107f609b9f4d6a103b6dfc53889049e9","fixed":"cff47b9e39a6abf03dde5f4f156f841b0c54bba0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.61","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.11","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","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/592db83615a9f0164472ec789c2ed34ad35f732f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1b83fbacd4397a1d2f8c6b13427a8636ae2b307","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cff47b9e39a6abf03dde5f4f156f841b0c54bba0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68293","url":"https://www.cve.org/CVERecord?id=CVE-2025-68293","licence":"CVE Terms of Use","modified":"2026-05-11T21:50:21.654Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68293","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68293","licence":"Public domain","modified":"2026-10-14T16:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:09.529Z","epss":{"score":0.00221,"percentile":0.13471,"date":"2026-12-02T12:00:21.000Z"}}