CVE-2026-139450: erofs: fix xattrs handling when metadata compression is used

Published Nov 30, 2026
·
Updated

erofs: fix xattrs handling when metadata compression is used

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.17.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  4. Compensating control

    In erofs_bread(), reuse a cached folio only when folio->mapping == buf->mapping; otherwise drop the cached folio and re-read through the slow path.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description
Data Sourced
via OSV·01:34 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are affected in practice?

The issue affects Linux kernel systems using EROFS filesystems with metadata compression where xattrs are processed. The described failure involves shared xattrs using METABOX.

2

What is the observed impact of the flaw?

A cached folio can be reused after its buffer mapping has changed, causing erofs_bread() to read from the wrong address_space. This can result in shared xattrs being dropped when METABOX is used.

3

What does the fix change?

The fix requires the cached folio's mapping to match buf->mapping before reuse. If the mappings differ, the kernel discards the cached folio and re-reads the data through the slow path.

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