CVE-2026-98686 (GCVE-0-2026-98686)
Vulnerability from cvelistv5
Published
2026-10-18 15:45
Modified
2026-10-30 12:38
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Version: 72c419d9b073628d3b5b0b2fc787b724f1a8c726
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2ops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1ecf89d8efca618e0c758c06b9a1fdde8bd941da",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            },
            {
              "lessThan": "03408d15c5405f8dc3e1a114cdce2174027a85f6",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            },
            {
              "lessThan": "3df27277f8f95345d4a6c57367824bf1aefdbf66",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            },
            {
              "lessThan": "94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            },
            {
              "lessThan": "b75dadb50a25eed525264bf6fea44fad94e7626f",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            },
            {
              "lessThan": "6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            },
            {
              "lessThan": "da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0",
              "status": "affected",
              "version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2ops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.1"
            },
            {
              "lessThan": "5.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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 zero range\n\nsmb3_zero_range() removed the pagecache only for the range being zeroed,\nso when it extends the file the folio straddling the old EOF - which may\nhold data dirtied past EOF through an mmap - was never dropped and became\nvisible as file content once the file was extended.\n\nLower the discard boundary to the smaller of the zero-range offset and the\nold EOF."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:38:44.094Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1ecf89d8efca618e0c758c06b9a1fdde8bd941da"
        },
        {
          "url": "https://git.kernel.org/stable/c/03408d15c5405f8dc3e1a114cdce2174027a85f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/3df27277f8f95345d4a6c57367824bf1aefdbf66"
        },
        {
          "url": "https://git.kernel.org/stable/c/94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183"
        },
        {
          "url": "https://git.kernel.org/stable/c/b75dadb50a25eed525264bf6fea44fad94e7626f"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d"
        },
        {
          "url": "https://git.kernel.org/stable/c/da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0"
        }
      ],
      "title": "smb: client: discard post-EOF pagecache when extending a file via zero range",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98686",
    "datePublished": "2026-10-18T15:45:55.193Z",
    "dateReserved": "2026-09-25T10:25:14.364Z",
    "dateUpdated": "2026-10-30T12:38:44.094Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…