Overview
About vulnerability
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. A null pointer dereference flaw was found in the Linux kernel’s transparent huge page (THP) splitting code. For shmem folios in swap cache or truncated folios where the mapping pointer is NULL, accessing mapping->flags causes a kernel crash. This was introduced when adding support for splitting huge pages to lower order pages.Details
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Debian 13 | Will Not Fix | — |