← Back to CVE Explorer

CVE-2026-98685

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:21.890000
Last modified
2026-10-19 10:19:32.923000
View original CVE JSON
{
  "id": "CVE-2026-98685",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:21.890",
  "lastModified": "2026-10-19T10:19:32.923",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: discard post-EOF pagecache when extending a file via clone range\n\ncifs_remap_file_range() discarded the pagecache only for the folios\noverlapping the destination region, so when a clone extends the file the\nfolio straddling the old EOF - which may hold data dirtied past EOF\nthrough an mmap - was never dropped and became visible as file content\nonce the file was extended.\n\nStart the discard at the smaller of fstart and the old EOF.  i_size is\nstill old here, so nothing past the old EOF is flushed to the server."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/smb/client/cifsfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "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",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/smb/client/cifsfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.7",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.7",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/15bb9f1d3e967e328649e92a1451e60a0dc66118",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}