CVE-2025-68293
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/12/2025
Last modified:
16/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
mm/huge_memory: fix NULL pointer deference when splitting folio<br />
<br />
Commit c010d47f107f ("mm: thp: split huge page to any lower order pages")<br />
introduced an early check on the folio&#39;s order via mapping->flags before<br />
proceeding with the split work.<br />
<br />
This check introduced a bug: for shmem folios in the swap cache and<br />
truncated folios, the mapping pointer can be NULL. Accessing<br />
mapping->flags in this state leads directly to a NULL pointer dereference.<br />
<br />
This commit fixes the issue by moving the check for mapping != NULL before<br />
any attempt to access mapping->flags.



