{"id":"CVE-2025-68293","published":"2025-12-16T15:06:13Z","modified":"2026-05-11T21:50:21Z","title":"mm/huge_memory: fix NULL pointer deference when splitting folio","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00221,"percentile":0.12761,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/592db83615a9f0164472ec789c2ed34ad35f732f","tags":[]},{"url":"https://git.kernel.org/stable/c/d1b83fbacd4397a1d2f8c6b13427a8636ae2b307","tags":[]},{"url":"https://git.kernel.org/stable/c/cff47b9e39a6abf03dde5f4f156f841b0c54bba0","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.55}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c010d47f107f609b9f4d6a103b6dfc53889049e9, < 592db83615a9f0164472ec789c2ed34ad35f732f",">= c010d47f107f609b9f4d6a103b6dfc53889049e9, < d1b83fbacd4397a1d2f8c6b13427a8636ae2b307",">= c010d47f107f609b9f4d6a103b6dfc53889049e9, < cff47b9e39a6abf03dde5f4f156f841b0c54bba0"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"euvd":{"id":"EUVD-2025-203787","exploited":false,"provenance":"source"}}