udf: fix preallocation discarding before an empty allocation extent (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 12 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: udf: fix preallocation discarding before an empty allocation extent udf_discard_prealloc() finds the last extent of a file by peeking at the next one with udf_next_aext() and stopping when that returns 0. The peek reads into eloc and elen, and the code then uses them as the last extent. But when udf_next_aext() returns 0 they hold no defined value: if the extent list ends in a continuation descriptor that leads to an empty allocation extent, they describe that continuation, i.e. the block of the empty allocation extent, one block long. The kernel creates such lists itself: when udf_delete_aext() removes the only descriptor of the last allocation extent in a list, it leaves that allocation extent empty and the continuation to it in place. If the last extent is a preallocation, udf_discard_prealloc() deletes it with udf_delete_aext(), which finds the following allocation extent empty, so it also removes the continuation and frees that allocation extent's block. udf_discard_prealloc() then frees eloc and elen: that block a second time, instead of the preallocated blocks. On a space bitmap the preallocated blocks leak and the free block count drifts. On an unallocated space table the second free adds a second free extent for the same block, which is later handed out twice: fsx as run by generic/091 and generic/263 ends up with two parts of its test file in one block and reads back bad data. Peek into separate variables, so that eloc and elen keep the last extent that udf_next_aext() returned with 1.
Références
- https://git.kernel.org/stable/c/77dd881dfc2ecd3da59c2bede6cca4a92ec975c5
- https://git.kernel.org/stable/c/a88467d6d07fdc78cdc0ab7d67605dac65aab73c
- https://git.kernel.org/stable/c/246ac240c758f3c3144d65d6bb27265f0ec30a48
- https://git.kernel.org/stable/c/8321a492323588f0875ed8ac92bafffc5fd3ec34
- https://git.kernel.org/stable/c/4ef0ffc5da8d2966d8f4bd0b6dc88a6fab2e891c
- https://git.kernel.org/stable/c/f7d6f3fed104ca7e48a9ed081c2047300d3f96fc
- https://git.kernel.org/stable/c/0efa27a0d8b8f4b75eed80728d2c331c6104c308
- https://git.kernel.org/stable/c/0c52750caaaccee8b0e929450fe6538ec4985722
Références européennes
- ENISA EUVD · EUVD-2026-131050
- GCVE · GCVE-0-2026-99600
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 1a075f4a549481ce6e8518d8379f193ccec6b746 < 77dd881dfc2ecd3da59c2bede6cca4a92ec975c5 affectée : ≥ 63dbbd8f1499b0a161e701a04aa50148d60bd1f7 < a88467d6d07fdc78cdc0ab7d67605dac65aab73c affectée : ≥ 12a88f572d6d94b5c0b72e2d1782cc2e96ac06cf < 246ac240c758f3c3144d65d6bb27265f0ec30a48 affectée : ≥ cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3 < 8321a492323588f0875ed8ac92bafffc5fd3ec34 affectée : ≥ cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3 < 4ef0ffc5da8d2966d8f4bd0b6dc88a6fab2e891c affectée : ≥ cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3 < f7d6f3fed104ca7e48a9ed081c2047300d3f96fc affectée : ≥ cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3 < 0efa27a0d8b8f4b75eed80728d2c331c6104c308 affectée : ≥ cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3 < 0c52750caaaccee8b0e929450fe6538ec4985722 affectée : c8b6fa4511a7900db9fb0353b630d4d2ed1ba99c affectée : 7665857f88557c372da35534165721156756f77f affectée : 72f651c96c8aadf087fd782d551bf7db648a8c2e affectée : 4d835efd561dfb9bf5409f11f4ecd428d5d29226 affectée : ae56d9a017724f130cf1a263dd82a78d2a6e3852 affectée : ≥ 5.10.161 < 5.10.275 affectée : ≥ 5.15.85 < 5.15.226 affectée : ≥ 6.1.1 < 6.1.193 affectée : ≥ 4.9.337 < 4.10 affectée : ≥ 4.14.303 < 4.15 affectée : ≥ 4.19.270 < 4.20 affectée : ≥ 5.4.229 < 5.5 affectée : ≥ 6.0.15 < 6.1 Autres versions : non affectée |
| Linux · Linux | affectée : 6.2 non affectée : ≥ 0 < 6.2 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.64 ≤ 6.18.* non affectée : ≥ 7.3.5 ≤ 7.3.* non affectée : ≥ 7.4-rc2 ≤ * Autres versions : affectée |
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 |