{"schema_version":"1.7.5","id":"CVE-2025-68293","published":"2025-12-16T15:06:13.428Z","modified":"2026-07-15T01:49:21.238423122Z","related":["SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20564-1","openSUSE-SU-2026:20145-1"],"summary":"mm/huge_memory: fix NULL pointer deference when splitting folio","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c010d47f107f609b9f4d6a103b6dfc53889049e9"},{"fixed":"592db83615a9f0164472ec789c2ed34ad35f732f"},{"fixed":"d1b83fbacd4397a1d2f8c6b13427a8636ae2b307"},{"fixed":"cff47b9e39a6abf03dde5f4f156f841b0c54bba0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68293.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.12.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68293.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/592db83615a9f0164472ec789c2ed34ad35f732f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cff47b9e39a6abf03dde5f4f156f841b0c54bba0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1b83fbacd4397a1d2f8c6b13427a8636ae2b307"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68293.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68293"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68293.json"}}