CVE-2026-64146: erofs: fix metabuf leak in inode xattr initialization

Published Jul 19, 2026
·
Updated

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 erofsbuf instances. erofsinitinodexattrs() uses such a metabuf while reading the inline xattr header and shared xattr id array.

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

Consolidate the cleanup at outunlock. erofsputmetabuf() is a no-op if no folio has been acquired, and this keeps all paths after taking EROFSIBLXATTRBIT covered by a single cleanup site.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.17<7.0.11
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch bb88e8da0025

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
Description
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64146?

The severity of CVE-2026-64146 is rated at 15.

2

How do I fix CVE-2026-64146?

To fix CVE-2026-64146, update your Linux kernel to the patched version that includes the changes made in commit bb88e8da0025.

3

What systems are affected by CVE-2026-64146?

CVE-2026-64146 affects systems running vulnerable versions of the Linux kernel that utilize erofs for file systems.

4

What does CVE-2026-64146 address in the Linux kernel?

CVE-2026-64146 addresses a metabuf leak issue in the inode xattr initialization process in the Linux kernel.

5

When was CVE-2026-64146 published?

CVE-2026-64146 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203