CVE-2025-68361
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68361 is a kernel stack overflow vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) subsystem, caused by insufficient limits on filesystem stacking depth for file-backed mounts. An attacker or misconfigured system can trigger the issue by mounting EROFS on top of itself (or through deep stacking chains), exhausting kernel stack space. The vulnerability was published on December 24, 2025, and affects Linux kernel versions from commit fb176750266a3d7f42ebdcf28e8ba40350b27847 up to the fixes backported into stable branches. Patches are available in kernel versions 6.12.63, 6.17.13, 6.18.2, and 6.19-rc1. No official CVSS score has been assigned; Feedly estimates the severity as Medium, and the EPSS score is 0.018% (Feedly, EUVD).

Technical details

The root cause is a missing depth check in the EROFS filesystem's file-backed mount path, classified under CWE-674 (Uncontrolled Recursion) or stack exhaustion. When EROFS is mounted using a backing file that itself resides on an EROFS filesystem — or when stacking is otherwise deeply nested — the kernel can recurse through filesystem layers without bound, eventually overflowing the kernel stack. The fix introduces a limit on the level of filesystem stacking permitted for file-backed EROFS mounts, analogous to protections present in other stackable filesystems (e.g., overlayfs). The vulnerability was introduced with commit fb176750266a3d7f42ebdcf28e8ba40350b27847 and corrected in four separate stable-branch commits (EUVD, Kernel Git).

Impact

Successful exploitation causes a kernel stack overflow, which can result in a kernel panic (system crash) and denial of service. On systems where a local user has the ability to mount filesystems (e.g., via user namespaces or privileged access), this could be triggered intentionally to crash the host. There is no evidence of confidentiality or integrity impact beyond availability loss; lateral movement or data exfiltration are not primary concerns for this vulnerability (Feedly, EUVD).

Mitigation and workarounds

Apply the upstream kernel patches that introduce stacking depth limits for EROFS file-backed mounts. Fixed versions include Linux kernel 6.12.63, 6.17.13, 6.18.2, and 6.19-rc1. The relevant stable-branch fix commits are 34447aeedbaea8f9aad3da5b07030a1c0e124639, b4911825348a494e894e6ccfcf88d99e9425f129, 620472e6b303c4dbcc7ecf1aba1cda4f3523e4a4, and d53cd891f0e4311889349fff3a784dc552f814b9. As a workaround on systems where EROFS is not required, administrators can prevent loading the erofs kernel module using modprobe.blacklist=erofs or equivalent configuration (EUVD, Kernel Git).

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