---
id: CVE-2025-68293
title: |-
  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 …
summary: |-
  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 …
severity: none
published: '2025-12-16'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68293'
references:
  - url: 'https://git.kernel.org/stable/c/592db83615a9f0164472ec789c2ed34ad35f732f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cff47b9e39a6abf03dde5f4f156f841b0c54bba0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d1b83fbacd4397a1d2f8c6b13427a8636ae2b307'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00206
epssPercentile: 0.09876
ingestedAt: '2026-10-14T16:40:32.050Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
