smb: client: discard post-EOF pagecache when extending a file via clone range (Linux Linux)

CVE-2026-98685
Not available

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

European references

CERT-FR advisories

Affected products

ProductAffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD