- Accueil
- Vulnérabilités
- CVE-2026-99600
CVE-2026-99600
udf: fix preallocation discarding before an empty allocation extent
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (9 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 5.10.161 (inclus) à 5.10.275 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.15.85 (inclus) à 5.15.226 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.1.1 (inclus) à 6.1.193 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.9.337 (inclus) à 4.10 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.14.303 (inclus) à 4.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.19.270 (inclus) à 4.20 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.4.229 (inclus) à 5.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.0.15 (inclus) à 6.1 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 6.2 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1638)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1679)
Avis CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS (04 décembre 2026) 4 déc. 2026
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian (27 novembre 2026) 27 nov. 2026
Références
- 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
- 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
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)