CVE-2025-68361
kernel: Linux kernel (erofs): Kernel stack overflow due to excessive file system stacking
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 24, 2025
Updated · June 30, 2026
Description
A vulnerability was discovered in the Linux kernel’s EROFS (Enhanced Read-Only File System) implementation related to file-backed mount stacking. Without limiting the depth of filesystem stacking, it is possible for an attacker to mount EROFS recursively (e.g., EROFS mounting itself) in such a way that kernel stack usage grows uncontrollably, potentially leading to a kernel stack overflow and system crash. Exploitation requires local access and the ability to initiate nested file-backed erofs mounts.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-770 · Allocation of Resources Without Limits or Throttling