CVE-2026-98685

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

Published Oct 18, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel’s SMB (CIFS) client, the pagecache for pages that extend beyond the original end‑of‑file was not correctly cleared when a clone‑range operation extended a file. The fault allowed stale data that had been written past the old EOF to remain in the kernel’s pagecache and become visible as file content after the file was extended. This results in an unintended disclosure of data that could be exposed to a user reading the file after the operation, representing an information‑disclosure flaw.

Affected Systems

This vulnerability affects the Linux kernel’s SMB client (CIFS) implementation on all versions that have not incorporated the fix. Kernels lacking the fix associated with commits 15bb9f1d3e967e328649e92a1451e60a0dc66118 and 4721587f96cb8de8164f3fd203093a0875560999 are potentially exposed.

Risk and Exploitability

The CVSS score is 3.3 and the EPSS score is less than 1%, indicating low severity and a very low likelihood of exploitation. It is not listed in CISA’s KEV catalog. The flaw requires a caller to invoke a clone‑range operation on an SMB‑exported file. The likely attack vector is a local user or process with adequate privileges to perform that operation; a remote attacker would need to manipulate the SMB client to invoke the clone‑range, a feature not controlled by the server. Successful exploitation would involve triggering a clone‑range to extend a file and then reading the newly exposed data, resulting in the leakage of previously private information.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the fix in commits 15bb9f1d3e967e328649e92a1451e60a0dc66118 or 4721587f96cb8de8164f3fd203093a0875560999
  • Temporarily disable CIFS (SMB) filesystem support or restrict clone‑range operations on affected files until the kernel is updated
  • Apply network segmentation or firewall rules to limit SMB traffic from untrusted hosts

Generated by OpenCVE AI on October 23, 2026 at 06:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4927-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Weaknesses CWE-459
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low

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

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 23, 2026, 8:00 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Nov 23, 2026, 8:17 AM
Severity
Low
Public date
Oct 18, 2026, 12:00 AM