Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-98685

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98685

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879",
        "lessThan": "15bb9f1d3e967e328649e92a1451e60a0dc66118",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879",
        "lessThan": "4721587f96cb8de8164f3fd203093a0875560999",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "358bd5f436d820bb758833050aae065b35d6986c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "43801359c8971cc49b4a4db5015fba77fbd09c32",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.1.68",
        "lessThan": "6.2",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.6.7",
        "lessThan": "6.7",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "fs/smb/client/cifsfs.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.7"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "7.2.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/client/cifsfs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98685

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38688 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement