CVE-2026-53015: erofs: unify lcn as u64 for 32-bit platforms

Published Jun 24, 2026
·
Updated

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

erofs: unify lcn as u64 for 32-bit platforms

As sashiko reported [1], lcn was typed as unsigned long (or unsigned int sometimes), which is only 32 bits wide on 32-bit platforms, which causes (lcn << lclusterbits) to be truncated at 4 GiB.

In order to consolidate the logic, just use u64 consistently around the codebase.

[1] https://sashiko.dev/r/20260420034612.1899973-1-hsiangkao%40linux.alibaba.com

Affected Software

4 affected components
Linux Linux kernel (erofs)
Linux Linux kernel>=5.3<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the erofs code to consistently use `u64` for `lcn` (instead of `unsigned long`/`unsigned int`) so that expressions like `(lcn << lclusterbits)` are not truncated on 32-bit platforms.

    Linux kernel (erofs) lcn type = u64

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
Description
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-53015?

CVE-2026-53015 has a medium severity rating of 5.5.

2

What software is affected by CVE-2026-53015?

CVE-2026-53015 affects the Linux kernel, specifically the erofs file system.

3

How does CVE-2026-53015 impact 32-bit platforms?

CVE-2026-53015 causes truncation issues due to the incorrect data type of 'lcn' on 32-bit platforms.

4

How do I fix CVE-2026-53015?

To fix CVE-2026-53015, update your Linux kernel to the latest version that resolves this vulnerability.

5

What is the nature of the vulnerability in CVE-2026-53015?

CVE-2026-53015 is related to a type inconsistency in the Linux kernel that affects how 'lcn' is handled on 32-bit systems.

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