f2fs: release a removed xattr node in roll-forward recovery (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: f2fs: release a removed xattr node in roll-forward recovery When xattrs shrink enough to fit in the inline xattr area, write_all_xattrs() truncates the xattr node and clears i_xattr_nid. If the file is then fsynced without a checkpoint, only the inode block is written, with i_xattr_nid of 0. Roll-forward recovery starts from the checkpointed inode, whose i_xattr_nid still points to the old xattr node. f2fs_recover_inline_xattr() copies only the inline xattr area, and f2fs_update_inode() writes the old i_xattr_nid back. So the inode keeps the stale xattr node: - The node block is never released, and fsck reports "nonzero bytes in xattr space after end of list". - If the inline xattr list ends exactly at the end of the inline area, its terminator is read from the stale node, and the removed xattrs come back after recovery. When the fsynced inode has no xattr node but the checkpointed one has, release the old xattr node as truncate_node() does: check its block address, invalidate the block and drop its node cache, which may still be dirty.
Références
- https://git.kernel.org/stable/c/bf2acd50ae2bf721f97ed108a22139078f3b60e2
- https://git.kernel.org/stable/c/1b3f12d3b5799a81d70f23e74d1dfff7b3002ff2
- https://git.kernel.org/stable/c/6d20439d101e1574801b05349451e87cf1447a39
- https://git.kernel.org/stable/c/9dde888b2260612d05f1077042a12538187afaa4
- https://git.kernel.org/stable/c/246a50b23bf2042c77b167272db121d03c8dd473
- https://git.kernel.org/stable/c/c06cfda3b67692651438876663ae7cdc187eb214
- https://git.kernel.org/stable/c/6d9c89d6dd18c0cfec33bdb468bf4b86c0ca7cea
- https://git.kernel.org/stable/c/f5924de8867c09206ba631b9faed63862ec00a10
Références européennes
- ENISA EUVD · EUVD-2026-131019
- GCVE · GCVE-0-2026-99569
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 : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < bf2acd50ae2bf721f97ed108a22139078f3b60e2 affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < 1b3f12d3b5799a81d70f23e74d1dfff7b3002ff2 affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < 6d20439d101e1574801b05349451e87cf1447a39 affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < 9dde888b2260612d05f1077042a12538187afaa4 affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < 246a50b23bf2042c77b167272db121d03c8dd473 affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < c06cfda3b67692651438876663ae7cdc187eb214 affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < 6d9c89d6dd18c0cfec33bdb468bf4b86c0ca7cea affectée : ≥ 28cdce0459ccea71ea734d7903d39910d1c6a05d < f5924de8867c09206ba631b9faed63862ec00a10 Autres versions : non affectée |
| Linux · Linux | affectée : 3.15 non affectée : ≥ 0 < 3.15 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-rc1 ≤ * 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 |