# CVE-2026-98686: smb: client: discard post-EOF pagecache when extending a file via zero range

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-10-18T15:45:55.193Z
- Modified: 2026-10-30T13:21:18.100Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 1ecf89d8efca618e0c758c06b9a1fdde8bd941da; from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 03408d15c5405f8dc3e1a114cdce2174027a85f6; from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 3df27277f8f95345d4a6c57367824bf1aefdbf66; from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183; from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before b75dadb50a25eed525264bf6fea44fad94e7626f; from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d; from 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0; 5.1 (not affected: before 5.1; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/1ecf89d8efca618e0c758c06b9a1fdde8bd941da>
- <https://git.kernel.org/stable/c/03408d15c5405f8dc3e1a114cdce2174027a85f6>
- <https://git.kernel.org/stable/c/3df27277f8f95345d4a6c57367824bf1aefdbf66>
- <https://git.kernel.org/stable/c/94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183>
- <https://git.kernel.org/stable/c/b75dadb50a25eed525264bf6fea44fad94e7626f>
- <https://git.kernel.org/stable/c/6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d>
- <https://git.kernel.org/stable/c/da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0>

## Sources

- CVE List: [CVE-2026-98686](https://www.cve.org/CVERecord?id=CVE-2026-98686), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98686](https://nvd.nist.gov/vuln/detail/CVE-2026-98686), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98686 · Whole record: https://cve.day/CVE-2026-98686.json · Rebuilt by cve.day 2026-11-25T22:59:45.269Z
