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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-24T16:29:25.396Z
- Modified: 2026-10-30T13:19:08.223Z
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from 152a333a589560bee002e4c96761f1b560a5793c before d142250132454bf86cba87018fb2d29c482dacd6; from 152a333a589560bee002e4c96761f1b560a5793c before 18f9f3ddbf2ed6d245a4c6f91c51f7248f8a982c; from 152a333a589560bee002e4c96761f1b560a5793c before 4fc9b12e43a3f19a01a8fb61f7961be79de20253; from 152a333a589560bee002e4c96761f1b560a5793c before 858e4d98a86adf34584767388deb6c9b217f70c5; from 152a333a589560bee002e4c96761f1b560a5793c before 582b0bf201157632cb5474c885989a6ebda46521; from 152a333a589560bee002e4c96761f1b560a5793c before 2d8c7edcb661812249469f4a5b62e9339118846f; 5.3 (not affected: before 5.3; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.3 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/d142250132454bf86cba87018fb2d29c482dacd6>
- <https://git.kernel.org/stable/c/18f9f3ddbf2ed6d245a4c6f91c51f7248f8a982c>
- <https://git.kernel.org/stable/c/4fc9b12e43a3f19a01a8fb61f7961be79de20253> (patch)
- <https://git.kernel.org/stable/c/858e4d98a86adf34584767388deb6c9b217f70c5> (patch)
- <https://git.kernel.org/stable/c/582b0bf201157632cb5474c885989a6ebda46521> (patch)
- <https://git.kernel.org/stable/c/2d8c7edcb661812249469f4a5b62e9339118846f> (patch)

## Sources

- CVE List: [CVE-2026-53015](https://www.cve.org/CVERecord?id=CVE-2026-53015), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-53015](https://nvd.nist.gov/vuln/detail/CVE-2026-53015), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-53015 · Whole record: https://cve.day/CVE-2026-53015.json · Rebuilt by cve.day 2026-11-25T22:59:25.656Z
