CVE-2025-68361 erofs: limit the level of fs stacking for file-backed mounts

Not scored Published Updated

A local attacker can cause a kernel stack overflow and system crash by exploiting excessive filesystem stacking in EROFS mounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68361?

CVE-2025-68361 is a denial of service vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

erofs: limit the level of fs stacking for file-backed mounts

Otherwise, it could cause potential kernel stack overflow (e.g., EROFS mounting itself).

Which versions are affected by CVE-2025-68361?

How do I fix CVE-2025-68361?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-68361 being exploited?

There is no known exploitation of CVE-2025-68361 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-68361, DEBIAN-CVE-2025-68361, GHSA-fgg5-fxhh-43x6, ROOT-OS-DEBIAN-13-CVE-2025-68361, UBUNTU-CVE-2025-68361.

Is CVE-2025-68361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free