smb: client: discard post-EOF pagecache when extending a file via clone range
Summary
| CVE | CVE-2026-98685 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:21 UTC |
| Updated | 2026-10-19 10:19:32 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected c54fc3a4f375663f2361a9cbb2955fb4ef912879 15bb9f1d3e967e328649e92a1451e60a0dc66118 git |
Not specified |
| CNA |
Linux |
Linux |
affected c54fc3a4f375663f2361a9cbb2955fb4ef912879 4721587f96cb8de8164f3fd203093a0875560999 git |
Not specified |
| CNA |
Linux |
Linux |
affected 358bd5f436d820bb758833050aae065b35d6986c git |
Not specified |
| CNA |
Linux |
Linux |
affected 43801359c8971cc49b4a4db5015fba77fbd09c32 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.1.68 6.2 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.6.7 6.7 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.7 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.7 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.10 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/15bb9f1d3e967e328649e92a1451e60a0dc66118 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.