smb/client: invalidate fscache for fallocate range operations (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.19 % · centile 9 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Analyzed
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro" # Generate four 1 MiB random blocks: [A][B][C][D]. dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none # Expected contents after zeroing B: [A][zero][C][D]. cp /tmp/src /tmp/expected dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1 \ conv=notrunc status=none cp /tmp/src "$FILE" # Populate FS-Cache, then discard the page cache. sync echo 1 > /proc/sys/vm/drop_caches cat "$FILE" > /dev/null sync echo 1 > /proc/sys/vm/drop_caches fallocate --zero-range -o 1M -l 1M "$FILE" if cmp -s /tmp/expected "$FILE"; then echo "readback: OK" else echo "readback: STALE DATA" fi ' Before this change, the readback differs from /tmp/expected: readback: STALE DATA After this change, it matches: readback: OK
Faiblesses (CWE)
- CWE-672 — Opération sur une ressource expirée ou libérée
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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) |
Références européennes
- ENISA EUVD · EUVD-2026-86955
- GCVE · GCVE-0-2026-98124
Avis du CERT-FR
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 3.17.1 < 6.6.160cpe:2.3:o:linux:linux_kernel:*:-:*:*:*:*:*:*≥ 6.7 < 6.12.114cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 7.2.7cpe:2.3:o:linux:linux_kernel:3.17:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.17:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.17:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.17:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.17:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.17:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.17:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 31742c5a331766bc7df6b0d525df00c6cd20d5a6 < cc7202a51b8777a757bda9dcfbf339f828c6a130 affectée : ≥ 31742c5a331766bc7df6b0d525df00c6cd20d5a6 < dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5 affectée : ≥ 31742c5a331766bc7df6b0d525df00c6cd20d5a6 < 93c6e5a8d7c5071d586c1411596d5db5faad22b2 affectée : ≥ 31742c5a331766bc7df6b0d525df00c6cd20d5a6 < 448ba0ae65ca61064183564d2983c9aa59bd6ba7 Autres versions : non affectée |
| Linux · Linux | affectée : 3.17 non affectée : ≥ 0 < 3.17 non affectée : ≥ 6.6.160 ≤ 6.6.* non affectée : ≥ 6.12.114 ≤ 6.12.* non affectée : ≥ 7.2.7 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * 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 |