erofs: unify lcn as u64 for 32-bit platforms (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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
References
- https://git.kernel.org/stable/c/d142250132454bf86cba87018fb2d29c482dacd6
- https://git.kernel.org/stable/c/18f9f3ddbf2ed6d245a4c6f91c51f7248f8a982c
- https://git.kernel.org/stable/c/4fc9b12e43a3f19a01a8fb61f7961be79de20253
- https://git.kernel.org/stable/c/858e4d98a86adf34584767388deb6c9b217f70c5
- https://git.kernel.org/stable/c/582b0bf201157632cb5474c885989a6ebda46521
- https://git.kernel.org/stable/c/2d8c7edcb661812249469f4a5b62e9339118846f
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-38883
- GCVE · GCVE-0-2026-53015
CERT-FR advisories
- CERTFR-2026-AVI-1252 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1229 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1162 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1066 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0956 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0926 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.3 < 6.12.91cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.33cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 7.0.10
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 152a333a589560bee002e4c96761f1b560a5793c < d142250132454bf86cba87018fb2d29c482dacd6 ; affected 152a333a589560bee002e4c96761f1b560a5793c < 18f9f3ddbf2ed6d245a4c6f91c51f7248f8a982c ; affected 152a333a589560bee002e4c96761f1b560a5793c < 4fc9b12e43a3f19a01a8fb61f7961be79de20253 ; affected 152a333a589560bee002e4c96761f1b560a5793c < 858e4d98a86adf34584767388deb6c9b217f70c5 ; affected 152a333a589560bee002e4c96761f1b560a5793c < 582b0bf201157632cb5474c885989a6ebda46521 ; affected 152a333a589560bee002e4c96761f1b560a5793c < 2d8c7edcb661812249469f4a5b62e9339118846f |
| Linux · Linux | affected 5.3 ; unaffected 0 < 5.3 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.91 ≤ 6.12.* ; unaffected 6.18.33 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |