CVE-2026-98685

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

No CVSS score yet EPSS 0.22%

Published 18 Oct 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-98685

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98685 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.79% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 358bd5f436d820bb758833050aae065b35d6986c, before b80ac4705a515dba51d80611505ec8a95e306d76
affected from 43801359c8971cc49b4a4db5015fba77fbd09c32, before b905aea2cd3cd637ae2ab699dc9d5f5b3817060e
affected from c54fc3a4f375663f2361a9cbb2955fb4ef912879, before eba974d6c850e77db87f6f9ae343164227dffefc
affected from c54fc3a4f375663f2361a9cbb2955fb4ef912879, before 7beb2f2a58023b2ff28fd52bdb72bed74257ee04
affected from c54fc3a4f375663f2361a9cbb2955fb4ef912879, before 15bb9f1d3e967e328649e92a1451e60a0dc66118
affected from c54fc3a4f375663f2361a9cbb2955fb4ef912879, before 4721587f96cb8de8164f3fd203093a0875560999
affected from 6.1.68, before 6.1.193
affected from 6.6.7, before 6.6.163
Other versions: unaffected
Linux
affected 6.7
unaffected before 6.7
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.61 up to and including 6.18.*
unaffected from 7.2.10 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98685 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98685

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98685
trivy image --scanners vuln IMAGE | grep CVE-2026-98685

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98685 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.