CVE-2025-68293

Source
https://cve.org/CVERecord?id=CVE-2025-68293
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68293.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68293
Downstream
Related
Published
2025-12-16T15:06:13.428Z
Modified
2026-03-12T02:18:33.314823Z
Summary
mm/huge_memory: fix NULL pointer deference when splitting folio
Details

In the Linux kernel, the following vulnerability has been resolved:

mm/huge_memory: fix NULL pointer deference when splitting folio

Commit c010d47f107f ("mm: thp: split huge page to any lower order pages") introduced an early check on the folio's order via mapping->flags before proceeding with the split work.

This check introduced a bug: for shmem folios in the swap cache and truncated folios, the mapping pointer can be NULL. Accessing mapping->flags in this state leads directly to a NULL pointer dereference.

This commit fixes the issue by moving the check for mapping != NULL before any attempt to access mapping->flags.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68293.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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/osv-test-cve-osv-conversion/osv-output/CVE-2025-68293.json"

Linux / Kernel

Package

Name
Kernel

Affected 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/osv-test-cve-osv-conversion/osv-output/CVE-2025-68293.json"