CVE-2026-43179

erofs: fix incorrect early exits for invalid metabox-enabled images

Published May 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

erofs: fix incorrect early exits for invalid metabox-enabled images

Crafted EROFS images with metadata compression enabled can trigger
incorrect early returns, leading to folio reference leaks.

However, this does not cause system crashes or other severe issues.

Analysis

AI-generated

Technical impact

A flaw in the Linux erofs filesystem handling caused early exits when processing invalid metabox‑enabled images with metadata compression enabled, leading to folio reference leaks. The leaked references reveal memory addresses, enabling potential information disclosure and may aid attackers in exploiting other weaknesses (CWE‑911). The issue does not trigger a crash or other severe instability, but the leakage provides a possible vector for attackers seeking kernel memory visibility that could facilitate further exploitation.

Affected Systems

All versions of the Linux kernel that use the erofs filesystem before the patch are potentially affected. No specific kernel releases are listed, meaning any distribution kernel embodying the unpatched code may be vulnerable.

Risk and Exploitability

The CVSS score is 5.5, reflecting a moderate impact. The EPSS score is <1% and the vulnerability is not listed in CISA KEV. An attacker would need to craft a malicious EROFS image with compressed metadata and deliver it to a system that mounts or inspects that image, so the threat is primarily local or privileged rather than remote. While the impact is limited to memory reference disclosure, the potential for leaking kernel address space could aid further exploitation if combined with other weaknesses.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the erofs fix committed in the references provided
  • Avoid using metadata compression on erofs images unless they are from verified sources
  • If a kernel update cannot be applied immediately, refrain from mounting untrusted erofs filesystems until the patch is deployed

Generated by OpenCVE AI on May 12, 2026 at 22:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: erofs: fix incorrect early exits for invalid metabox-enabled images Crafted EROFS images with metadata compression enabled can trigger incorrect early returns, leading to folio reference leaks. However, this does not cause system crashes or other severe issues.
Title erofs: fix incorrect early exits for invalid metabox-enabled images
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 10:19 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 6, 2026, 12:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Public date
May 6, 2026, 12:00 AM