CVE-2026-98685
smb: client: discard post-EOF pagecache when extending a file via clone range
Mitigation
- Upgrade Linux to 6.6.163 or later.
Who should check
- Anyone running Linux >= 358bd5f436d820bb758833050aae065b35d6986c, < b80ac4705a515dba51d80611505ec8a95e306d76; >= 43801359c8971cc49b4a4db5015fba77fbd09c32, < b905aea2cd3cd637ae2ab699dc9d5f5b3817060e; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < eba974d6c850e77db87f6f9ae343164227dffefc; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 7beb2f2a58023b2ff28fd52bdb72bed74257ee04; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 15bb9f1d3e967e328649e92a1451e60a0dc66118; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 4721587f96cb8de8164f3fd203093a0875560999; >= 6.1.68, < 6.1.193; >= 6.6.7, < 6.6.163
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= 358bd5f436d820bb758833050aae065b35d6986c, < b80ac4705a515dba51d80611505ec8a95e306d76; >= 43801359c8971cc49b4a4db5015fba77fbd09c32, < b905aea2cd3cd637ae2ab699dc9d5f5b3817060e; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < eba974d6c850e77db87f6f9ae343164227dffefc; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 7beb2f2a58023b2ff28fd52bdb72bed74257ee04; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 15bb9f1d3e967e328649e92a1451e60a0dc66118; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 4721587f96cb8de8164f3fd203093a0875560999; >= 6.1.68, < 6.1.193; >= 6.6.7, < 6.6.163; Linux 6.7
- Fixed in
- Linux 7beb2f2a58023b2ff28fd52bdb72bed74257ee04, Linux 15bb9f1d3e967e328649e92a1451e60a0dc66118, Linux 4721587f96cb8de8164f3fd203093a0875560999, Linux 6.1.193, Linux 6.6.163
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 358bd5f436d820bb758833050aae065b35d6986c, < b80ac4705a515dba51d80611505ec8a95e306d76; >= 43801359c8971cc49b4a4db5015fba77fbd09c32, < b905aea2cd3cd637ae2ab699dc9d5f5b3817060e; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < eba974d6c850e77db87f6f9ae343164227dffefc; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 7beb2f2a58023b2ff28fd52bdb72bed74257ee04; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 15bb9f1d3e967e328649e92a1451e60a0dc66118; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 4721587f96cb8de8164f3fd203093a0875560999; >= 6.1.68, < 6.1.193; >= 6.6.7, < 6.6.163 | — | cvelist |
| Linux | 6.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98685. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98685.md Affected: Linux >= 358bd5f436d820bb758833050aae065b35d6986c, < b80ac4705a515dba51d80611505ec8a95e306d76; >= 43801359c8971cc49b4a4db5015fba77fbd09c32, < b905aea2cd3cd637ae2ab699dc9d5f5b3817060e; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < eba974d6c850e77db87f6f9ae343164227dffefc; >= c54fc3a4f375663f2361a9c… Fixed in: Linux 7beb2f2a58023b2ff28fd52bdb72bed74257ee04, Linux 15bb9f1d3e967e328649e92a1451e60a0dc66118, Linux 4721587f96cb8de8164f3fd203093a0875560999, Linux 6.1.193, Linux 6.6.163 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- 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
FAQ
Is CVE-2026-98685 being exploited?
There is no confirmed exploitation: CVE-2026-98685 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98685?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98685?
Linux >= 358bd5f436d820bb758833050aae065b35d6986c, < b80ac4705a515dba51d80611505ec8a95e306d76; >= 43801359c8971cc49b4a4db5015fba77fbd09c32, < b905aea2cd3cd637ae2ab699dc9d5f5b3817060e; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < eba974d6c850e77db87f6f9ae343164227dffefc; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 7beb2f2a58023b2ff28fd52bdb72bed74257ee04; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 15bb9f1d3e967e328649e92a1451e60a0dc66118; >= c54fc3a4f375663f2361a9cbb2955fb4ef912879, < 4721587f96cb8de8164f3fd203093a0875560999; >= 6.1.68, < 6.1.193; >= 6.6.7, < 6.6.163; Linux 6.7.
Is there a fix for CVE-2026-98685?
Yes. Fixed in Linux 7beb2f2a58023b2ff28fd52bdb72bed74257ee04, Linux 15bb9f1d3e967e328649e92a1451e60a0dc66118, Linux 4721587f96cb8de8164f3fd203093a0875560999, Linux 6.1.193, Linux 6.6.163. Upgrade Linux to 6.6.163 or later.
How do I check if I'm affected by CVE-2026-98685?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.