erofs: avoid infinite loops due to corrupted subpage compact indexes (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Deferred
Description
In the Linux kernel, the following vulnerability has been resolved: erofs: avoid infinite loops due to corrupted subpage compact indexes Robert reported an infinite loop observed by two crafted images. The root cause is that `clusterofs` can be larger than `lclustersize` for !NONHEAD `lclusters` in corrupted subpage compact indexes, e.g.: blocksize = lclustersize = 512 lcn = 6 clusterofs = 515 Move the corresponding check for full compress indexes to `z_erofs_load_lcluster_from_disk()` to also cover subpage compact compress indexes. It also fixes the position of `m->type >= Z_EROFS_LCLUSTER_TYPE_MAX` check, since it should be placed right after `z_erofs_load_{compact,full}_lcluster()`.
References
European references
- ENISA EUVD · EUVD-2025-203645
- GCVE · GCVE-0-2025-68251
CERT-FR advisories
- CERTFR-2026-AVI-0809 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0227 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0194 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0169 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 3f691aa676f29586e83e6c032713554a290418c3 < b18a82503a67a530d48f5a5b429e162749fe2c89 ; affected 8d2517aaeea3ab8651bb517bca8f3c8664d318ea < dbfac1b85d0753996ddfef636934d431b588dd1f ; affected 8d2517aaeea3ab8651bb517bca8f3c8664d318ea < 8675447a8794983f2b7e694b378112772c17635e ; affected 8d2517aaeea3ab8651bb517bca8f3c8664d318ea < e13d315ae077bb7c3c6027cc292401bc0f4ec683 ; affected 22438a34d383ec2789eaf450728e38abc53051f8 ; affected 6.6.16 < 6.6.160 |
| Linux · Linux | affected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.91 ≤ 6.12.* ; unaffected 6.17.6 ≤ 6.17.* ; unaffected 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 |