smb: client: discard post-EOF pagecache when extending a file via clone range (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: discard post-EOF pagecache when extending a file via clone range cifs_remap_file_range() discarded the pagecache only for the folios overlapping the destination region, so when a clone extends the file the folio straddling the old EOF - which may hold data dirtied past EOF through an mmap - was never dropped and became visible as file content once the file was extended. Start the discard at the smaller of fstart and the old EOF. i_size is still old here, so nothing past the old EOF is flushed to the server.
References
- https://git.kernel.org/stable/c/b80ac4705a515dba51d80611505ec8a95e306d76
- https://git.kernel.org/stable/c/b905aea2cd3cd637ae2ab699dc9d5f5b3817060e
- https://git.kernel.org/stable/c/eba974d6c850e77db87f6f9ae343164227dffefc
- https://git.kernel.org/stable/c/7beb2f2a58023b2ff28fd52bdb72bed74257ee04
- https://git.kernel.org/stable/c/15bb9f1d3e967e328649e92a1451e60a0dc66118
- https://git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999
European references
- ENISA EUVD · EUVD-2026-103939
- GCVE · GCVE-0-2026-98685
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · 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-1594 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 358bd5f436d820bb758833050aae065b35d6986c < b80ac4705a515dba51d80611505ec8a95e306d76 affected : ≥ 43801359c8971cc49b4a4db5015fba77fbd09c32 < b905aea2cd3cd637ae2ab699dc9d5f5b3817060e affected : ≥ c54fc3a4f375663f2361a9cbb2955fb4ef912879 < eba974d6c850e77db87f6f9ae343164227dffefc affected : ≥ c54fc3a4f375663f2361a9cbb2955fb4ef912879 < 7beb2f2a58023b2ff28fd52bdb72bed74257ee04 affected : ≥ c54fc3a4f375663f2361a9cbb2955fb4ef912879 < 15bb9f1d3e967e328649e92a1451e60a0dc66118 affected : ≥ c54fc3a4f375663f2361a9cbb2955fb4ef912879 < 4721587f96cb8de8164f3fd203093a0875560999 affected : ≥ 6.1.68 < 6.1.193 affected : ≥ 6.6.7 < 6.6.163 Other versions : unaffected |
| Linux · Linux | affected : 6.7 unaffected : ≥ 0 < 6.7 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.2.10 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
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 |