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

erofs: remove fscache backend entirely

EROFS over fscache was introduced to provide image lazy pulling
functionality. After the feature landed, the fscache subsystem made
netfs a new hard dependency, which is unexpected for a local filesystem
and has an kernel-defined caching hierarchy which could be inflexible
compared to the fanotify pre-content hooks. Therefore, this feature has
been deprecated for almost two years.

As EROFS file-backed mounts and fanotify pre-content hooks both upstream
for a while and already providing equivalent functionality (erofs-utils
has supported fanotify pre-content hooks), let's remove the fscache
backend now.

The main application of this feature is Nydus [1], and they plan to move
to use fanotify pre-content hooks in the near future too.

I hope this patch can be merged into Linux 7.2, which is also motivated
by newly found implementation issues [2][3] that are not worth
investigating given the deprecation and limited development resources.
The associated fscache/cachefiles cleanup patch will follow separately
through the vfs tree (netfs) later: it seems fine since the codebase is
isolated by CONFIG_CACHEFILES_ONDEMAND.

[1] https://github.com/dragonflyoss/nydus/blob/v2.1.0/docs/nydus-fscache.md
[2] https://github.com/dragonflyoss/nydus/pull/1824
[3] https://lore.kernel.org/r/20260619135800.1594811-1-michael.bommarito@gmail.com
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from the erofs filesystem’s previous inclusion of an fscache backend that was intended to enable lazy pulling of images. This backend introduced an unintended hard dependency on the netfs subsystem, creating a rigid and inflexible caching hierarchy within the kernel’s architecture. The patch announcement notes that this feature has been deprecated for almost two years and was removed to avoid the structural problems it introduced. The description does not provide a specific attack vector or evidence that an attacker could gain code execution or other privileges; it merely highlights a flaw in design rather than a directly exploitable weakness.

Affected Systems

Affecting the Linux kernel, specifically the erofs filesystem implementation. Exact kernel version coverage is not listed, but the fix is slated for merge into Linux kernel 7.2, implying earlier releases that enable fscache are potentially impacted. Toolchains and runtimes that rely on erofs, such as the Nydus container runtime, may experience functional changes when the backend is removed.

Risk and Exploitability

No CVSS score is provided, and the EPSS value is unavailable. The vulnerability is not included in the CISA KEV catalog, indicating that no publicly known exploits exist at this time. Consequently, the risk of exploitation is unclear and likely low, as the patch merely removes an unused dependency rather than introducing new attack vectors. Nevertheless, systems that implement erofs and interact with netfs should verify correct operation after updating the kernel. The limited information suggests no active exploitation is documented.

Generated by OpenCVE AI on September 4, 2026 at 20:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest stable Linux kernel that includes the removal of the fscache backend, such as kernel 7.2 or later.
  • If an immediate kernel update is not possible, disable fscache-related functionality by configuring the kernel with CONFIG_CACHEFILES_ONDEMAND or by adjusting mount options to avoid fscache usage.
  • Update dependent services (for example, Nydus) to use fanotify pre‑content hooks instead of fscache, and confirm that the service operates correctly under the new configuration.

Generated by OpenCVE AI on September 4, 2026 at 20:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-666

Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: erofs: remove fscache backend entirely EROFS over fscache was introduced to provide image lazy pulling functionality. After the feature landed, the fscache subsystem made netfs a new hard dependency, which is unexpected for a local filesystem and has an kernel-defined caching hierarchy which could be inflexible compared to the fanotify pre-content hooks. Therefore, this feature has been deprecated for almost two years. As EROFS file-backed mounts and fanotify pre-content hooks both upstream for a while and already providing equivalent functionality (erofs-utils has supported fanotify pre-content hooks), let's remove the fscache backend now. The main application of this feature is Nydus [1], and they plan to move to use fanotify pre-content hooks in the near future too. I hope this patch can be merged into Linux 7.2, which is also motivated by newly found implementation issues [2][3] that are not worth investigating given the deprecation and limited development resources. The associated fscache/cachefiles cleanup patch will follow separately through the vfs tree (netfs) later: it seems fine since the codebase is isolated by CONFIG_CACHEFILES_ONDEMAND. [1] https://github.com/dragonflyoss/nydus/blob/v2.1.0/docs/nydus-fscache.md [2] https://github.com/dragonflyoss/nydus/pull/1824 [3] https://lore.kernel.org/r/20260619135800.1594811-1-michael.bommarito@gmail.com
Title erofs: remove fscache backend entirely
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T17:11:14.158Z

Reserved: 2026-08-26T14:34:25.800Z

Link: CVE-2026-80899

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T18:17:58.170

Modified: 2026-09-04T18:17:58.170

Link: CVE-2026-80899

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T20:30:16Z

Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-666

    Operation on Resource in Wrong Phase of Lifetime