Skip to main content
Vulnerability Database/CVE-2026-98259

CVE-2026-98259: Linux Kernel DAX DOS Vulnerability

CVE-2026-98259 is a denial of service vulnerability in the Linux kernel DAX filesystem that causes kernel panics when booting VMs with DAX-enabled storage. This post covers technical details, affected versions, impact analysis, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98259 Overview

CVE-2026-98259 is a Linux kernel vulnerability in the Direct Access (DAX) filesystem subsystem. The flaw triggers a kernel panic when dax_to_folio() is invoked with an empty xarray entry during boot of a virtual machine using DAX-enabled storage. The issue stems from missing validation checks in dax_associate_entry(), dax_disassociate_entry(), and dax_busy_page(), which call dax_to_folio() before verifying whether the entry is zero or empty. A prior fix (commit 98c183a4fccf) added guards in the associate and disassociate paths, but those guards were placed after the problematic call, and dax_busy_page() remained unprotected. The result is a translation fault that kills the init process and panics the system.

Critical Impact

Systems booting with DAX-enabled persistent memory storage can experience a kernel panic during init, rendering the host unbootable.

Affected Products

  • Linux kernel versions containing the DAX subsystem prior to the fix
  • Linux kernel 6.18.4 is confirmed affected based on the reported panic trace
  • Systems using ext4 on DAX-enabled persistent memory (pmem) devices

Discovery Timeline

  • 2026-10-06 - CVE CVE-2026-98259 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98259

Vulnerability Analysis

The vulnerability resides in the filesystem DAX layer (fs/dax), which maps persistent memory pages directly into user address space. The function dax_to_folio() converts an xarray entry into a folio pointer without validating whether the entry represents a real page. When the entry is empty or a zero entry, dereferencing the derived pointer accesses an invalid virtual address.

The panic trace captures the fault at dax_disassociate_entry.constprop.0+0x20/0x50, called from dax_insert_entry() during dax_iomap_pte_fault(). The faulting address fffffdffbf000008 corresponds to a vmemmap region offset that does not back a valid struct page, producing a level 2 translation fault.

Root Cause

The root cause is an ordering defect: previously added guards for zero and empty entries were placed after dax_to_folio() executed, allowing the invalid conversion to occur before validation. dax_busy_page() had no guard at all. This is a Null Pointer Dereference condition triggered through an invalid memory conversion in kernel space.

Attack Vector

Exploitation requires DAX-enabled storage, such as pmem devices backing an ext4 filesystem. During normal page fault handling on such mounts, the kernel enters the DAX insert path and can encounter an empty xarray slot. The resulting kernel panic terminates init, producing a denial-of-service condition. No remote vector or privilege escalation path has been documented in the advisory.

The vulnerability manifests in the DAX page fault insertion flow. See the referenced kernel commits for the exact code paths patched.

Detection Methods for CVE-2026-98259

Indicators of Compromise

  • Kernel panic messages referencing dax_disassociate_entry or dax_insert_entry in the call trace
  • Unable to handle kernel paging request faults originating from dax_iomap_pte_fault
  • Boot failures on hosts using pmem devices with ext4 and the DAX mount option
  • Attempted to kill init! panic strings in serial console or dmesg captures

Detection Strategies

  • Inventory Linux hosts and VMs running kernels in the affected range with DAX storage configured
  • Review hypervisor and guest boot logs for recurring crashes correlated with DAX-mounted filesystems
  • Correlate crash dumps with the function signatures dax_to_folio, dax_associate_entry, and dax_busy_page

Monitoring Recommendations

  • Forward kernel ring buffer and kdump output to a central logging pipeline for pattern matching on DAX fault signatures
  • Alert on unexpected VM reboots or init exits on hosts advertising pmem namespaces
  • Track kernel package versions across the fleet to confirm patch coverage

How to Mitigate CVE-2026-98259

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable tree commits listed below
  • Prioritize patching on hosts and VMs with persistent memory configured for DAX
  • If patching cannot be performed immediately, disable the DAX mount option on affected filesystems

Patch Information

The fix adds explicit zero and empty entry checks before calling dax_to_folio() in dax_associate_entry(), dax_disassociate_entry(), and dax_busy_page(). Patches are available in the stable kernel tree:

Workarounds

  • Mount affected filesystems without the dax option until patched kernels are deployed
  • Where supported, remove pmem namespaces from guest VM configurations until the host and guest kernels are updated
  • Pin VM boot kernels to a known-good version that predates the regression or includes the fix
bash
# Remove the dax mount option from /etc/fstab for ext4 on pmem
# Before:
# /dev/pmem0p1  /mnt/data  ext4  defaults,dax  0 2
# After:
/dev/pmem0p1  /mnt/data  ext4  defaults  0 2

# Verify no filesystems are mounted with dax enabled
mount | grep -i dax

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.