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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Data Leakage via post‑EOF pagecache
Action: Immediate Patch
AI Analysis

Impact

The bug in the Linux SMB client code causes pages that extend beyond a file’s end of file to be left in the cache after a zeroed range is written. When the file is subsequently enlarged, those stale pages become visible as part of the file’s contents. An attacker who can influence this zero‑range operation could therefore read memory that was previously written past the file’s boundary, leading to unauthorized disclosure of sensitive data. This flaw corresponds to an out‑of‑bounds read vulnerability (CWE‑125).

Affected Systems

The issue resides in the Linux kernel. Any distribution that ships the unpatched kernel is vulnerable, regardless of vendor. No specific version range is supplied, so all Linux kernel releases preceding the fix are affected.

Risk and Exploitability

The CVSS and EPSS metrics are unavailable, and the flaw is not listed in the CISA KEV catalogue. Exploitation would require the victim to run the vulnerable Linux kernel while establishing an SMB session that performs a zero‑range file extension. Thus the attack vector is likely remote through an SMB client, but a local attacker could also trigger the operation by manipulating SMB traffic directed at the host. The probability of exploitation is uncertain, yet the potential impact—confidentiality compromise of arbitrary data—makes the vulnerability significant.

Generated by OpenCVE AI on October 18, 2026 at 18:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the SMB zero‑range pagecache fix
  • Restrict or disable SMB services that allow zero‑range file writes on critical systems
  • Monitor file system changes for abnormal size increases or unexpected content that may indicate exploitation

Generated by OpenCVE AI on October 18, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title smb: client: discard post-EOF pagecache when extending a file via zero range
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:45:55.193Z

Reserved: 2026-09-25T10:25:14.364Z

Link: CVE-2026-98686

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:21.993

Modified: 2026-10-18T16:17:21.993

Link: CVE-2026-98686

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T18:45:06Z

Weaknesses