Bug 2492266 (CVE-2026-53015) - CVE-2026-53015 kernel: erofs: unify lcn as u64 for 32-bit platforms
Summary: CVE-2026-53015 kernel: erofs: unify lcn as u64 for 32-bit platforms
Keywords:
Status: NEW
Alias: CVE-2026-53015
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:01 UTC by OSIDB Bzimport
Modified: 2026-06-25 13:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:01:58 UTC
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

Comment 1 Mauro Matteo Cascella 2026-06-25 13:07:38 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062450-CVE-2026-53015-fe84@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.