{"id":"CVE-2026-53015","summary":"erofs: unify lcn as u64 for 32-bit platforms","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: unify lcn as u64 for 32-bit platforms\n\nAs sashiko reported [1], `lcn` was typed as `unsigned long` (or\n`unsigned int` sometimes), which is only 32 bits wide on 32-bit\nplatforms, which causes `(lcn \u003c\u003c lclusterbits)` to be truncated\nat 4 GiB.\n\nIn order to consolidate the logic, just use `u64` consistently\naround the codebase.\n\n[1] https://sashiko.dev/r/20260420034612.1899973-1-hsiangkao%40linux.alibaba.com","modified":"2026-07-08T08:13:43.839297101Z","published":"2026-06-24T16:29:25.396Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53015.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d8c7edcb661812249469f4a5b62e9339118846f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fc9b12e43a3f19a01a8fb61f7961be79de20253"},{"type":"WEB","url":"https://git.kernel.org/stable/c/582b0bf201157632cb5474c885989a6ebda46521"},{"type":"WEB","url":"https://git.kernel.org/stable/c/858e4d98a86adf34584767388deb6c9b217f70c5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53015.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53015"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"152a333a589560bee002e4c96761f1b560a5793c"},{"fixed":"4fc9b12e43a3f19a01a8fb61f7961be79de20253"},{"fixed":"858e4d98a86adf34584767388deb6c9b217f70c5"},{"fixed":"582b0bf201157632cb5474c885989a6ebda46521"},{"fixed":"2d8c7edcb661812249469f4a5b62e9339118846f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53015.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"6.12.91"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53015.json"}}],"schema_version":"1.7.5"}