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

erofs: fix metabuf leak in inode xattr initialization

commit bb88e8da0025 ("erofs: use meta buffers for xattr operations")
converted xattr operations to use on-stack erofs_buf instances.
erofs_init_inode_xattrs() uses such a metabuf while reading the inline
xattr header and shared xattr id array.

Some error paths after erofs_read_metabuf() leave through out_unlock
without dropping the metabuf, so the folio reference can leak.

Consolidate the cleanup at out_unlock. erofs_put_metabuf() is a
no-op if no folio has been acquired, and this keeps all paths after
taking EROFS_I_BL_XATTR_BIT covered by a single cleanup site.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The erofs filesystem in the Linux kernel contains a bug where a metabuffer allocated during inode extended attribute initialization is not released on all error paths, causing a folio reference leak. This resource‑management flaw leads to kernel‑level memory usage that can grow over time, potentially exhausting available memory and degrading system stability. The vulnerability is classified as a CWE‑772 resource leak, and the assigned CVSS score of 5.5 reflects its moderate severity. While the description does not specify an immediate denial‑of‑service outcome, the risk of unchecked memory consumption can result in system slowdown or kernel panic if left unmitigated.

Affected Systems

Linux kernel versions that include the erofs filesystem prior to commit bb88e8da0025 are affected. Any system running a prepatched kernel that mounts erofs volumes is potentially at risk, regardless of distribution, kernel configuration, or user privileges. The impact cannot be limited to a specific vendor because the flaw resides universally in the Linux kernel's erofs implementation.

Risk and Exploitability

Based on the description, it is inferred that exploitation requires local access with permission to perform extended attribute operations on an erofs filesystem. The EPSS score of less than 1% indicates a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw is a resource‑leak in kernel memory management, it does not enable code execution or data disclosure. However, repeated triggering of the error paths can lead to unchecked kernel memory growth, potentially exhausting system memory or causing instability, which could degrade performance or, in worst cases, trigger a kernel panic.

Generated by OpenCVE AI on July 30, 2026 at 20:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the commit bb88e8da0025 which cleans up metabuffer leaks in erofs.
  • If a kernel upgrade cannot be performed immediately, consider unmounting erofs filesystems or mounting them as read‑only to prevent extended attribute operations from hitting the error path.
  • Continuously monitor kernel‑level memory usage and check system logs for signs of erofs‑related allocation failures or abnormal memory growth.
  • If persistent resource exhaustion occurs, re‑evaluate the filesystem usage and migrate erofs volumes to a different filesystem.

Generated by OpenCVE AI on July 30, 2026 at 20:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 21 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

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'}

threat_severity

Low


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: erofs: fix metabuf leak in inode xattr initialization commit bb88e8da0025 ("erofs: use meta buffers for xattr operations") converted xattr operations to use on-stack erofs_buf instances. erofs_init_inode_xattrs() uses such a metabuf while reading the inline xattr header and shared xattr id array. Some error paths after erofs_read_metabuf() leave through out_unlock without dropping the metabuf, so the folio reference can leak. Consolidate the cleanup at out_unlock. erofs_put_metabuf() is a no-op if no folio has been acquired, and this keeps all paths after taking EROFS_I_BL_XATTR_BIT covered by a single cleanup site.
Title erofs: fix metabuf leak in inode xattr initialization
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-07-19T15:40:37.474Z

Reserved: 2026-07-19T07:54:57.037Z

Link: CVE-2026-64146

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64146 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:15:05Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime