CVE-2025-68251
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68251 is a vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) subsystem that can cause an infinite loop when processing corrupted subpage compact indexes. The root cause is that clusterofs can be larger than lclustersize for non-NONHEAD lclusters in corrupted subpage compact indexes (e.g., blocksize = lclustersize = 512, lcn = 6, clusterofs = 515). The issue was reported by a researcher named Robert via two crafted filesystem images and was published on December 16, 2025. No official CVSS score has been assigned by NVD (status: "Not Scheduled" for enrichment), though Feedly estimates it as Medium severity with an EPSS score of 0.000180 (CVE Record, ENISA EUVD).

Technical details

The vulnerability resides in the z_erofs_load_lcluster_from_disk() function within the Linux kernel's EROFS compressed filesystem driver. The flaw is a missing or misplaced input validation check: the boundary check for clusterofs versus lclustersize was only applied to full compress indexes, not to subpage compact compress indexes, allowing a crafted filesystem image to supply an out-of-bounds clusterofs value that causes the kernel to enter an infinite loop. The fix moves the validation check into z_erofs_load_lcluster_from_disk() to cover both full and subpage compact compress index paths, and also corrects the placement of the m->type >= Z_EROFS_LCLUSTER_TYPE_MAX check to occur immediately after z_erofs_load_{compact,full}_lcluster(). This is a local, filesystem-triggered vulnerability requiring the ability to mount or present a malicious EROFS image to the kernel (CVE Record, ENISA EUVD).

Impact

Successful exploitation causes the Linux kernel to enter an infinite loop when mounting or processing a specially crafted EROFS filesystem image with corrupted subpage compact indexes, resulting in a denial of service (system hang or unresponsive kernel thread). The primary impact is on availability; there is no evidence of confidentiality or integrity compromise. Systems that automatically mount user-supplied or untrusted EROFS images (e.g., container runtimes, embedded systems, or removable media handlers) are most at risk (CVE Record, ENISA EUVD).

Mitigation and workarounds

The fix has been applied to the Linux kernel stable tree via commits 8675447a8794983f2b7e694b378112772c17635e, e13d315ae077bb7c3c6027cc292401bc0f4ec683, and dbfac1b85d0753996ddfef636934d431b588dd1f. Patched versions include kernel 6.17.6 and 6.18 per ENISA EUVD data. Administrators should update to a patched kernel version as soon as available from their distribution. As a workaround, avoid mounting untrusted or user-supplied EROFS filesystem images on unpatched systems, and restrict access to filesystem mounting capabilities where possible (ENISA EUVD, Kernel Patch 1, Kernel Patch 2).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management