CVE-2026-98686

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

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before 1ecf89d8efca618e0c758c06b9a1fdde8bd941daAffected
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before 03408d15c5405f8dc3e1a114cdce2174027a85f6Affected
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before 3df27277f8f95345d4a6c57367824bf1aefdbf66Affected
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before 94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183Affected
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before b75dadb50a25eed525264bf6fea44fad94e7626fAffected
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before 6a8279c98ad289b27c0bdb11adb3f0c0b7fd456dAffected
  • 72c419d9b073628d3b5b0b2fc787b724f1a8c726 to before da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.