CVE-2026-98686

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

No CVSS score yet EPSS 0.22%

Published 18 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98686

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-98686 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 zero range

smb3_zero_range() removed the pagecache only for the range being zeroed, so when it 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.

Lower the discard boundary to the smaller of the zero-range offset and the old EOF.

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.80% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before 1ecf89d8efca618e0c758c06b9a1fdde8bd941da
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before 03408d15c5405f8dc3e1a114cdce2174027a85f6
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before 3df27277f8f95345d4a6c57367824bf1aefdbf66
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before 94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before b75dadb50a25eed525264bf6fea44fad94e7626f
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before 6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d
affected from 72c419d9b073628d3b5b0b2fc787b724f1a8c726, before da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.113 up to and including 6.12.*
unaffected from 6.18.56 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-98686 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98686

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-98686
trivy image --scanners vuln IMAGE | grep CVE-2026-98686

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-98686 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.