CVE-2026-98685: 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_fi…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- linux
https://nvd.nist.gov/vuln/detail/CVE-2026-98685 ↗
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/15bb9f1d3e967e328649e92a1451e60a0dc66118 https://git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999 https://git.kernel.org/stable/c/7beb2f2a58023b2ff28fd52bdb72bed74257ee04 https://git.kernel.org/stable/c/b80ac4705a515dba51d80611505ec8a95e306d76 https://git.kernel.org/stable/c/b905aea2cd3cd637ae2ab699dc9d5f5b3817060e https://git.kernel.org/stable/c/eba974d6c850e77db87f6f9ae343164227dffefc