{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "72c419d9b073628d3b5b0b2fc787b724f1a8c726"
            },
            {
              "fixed": "94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183"
            },
            {
              "fixed": "b75dadb50a25eed525264bf6fea44fad94e7626f"
            },
            {
              "fixed": "6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d"
            },
            {
              "fixed": "da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.1.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.56"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98686.json"
  },
  "details": "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.",
  "id": "CVE-2026-98686",
  "modified": "2026-10-20T02:30:18.109880419Z",
  "published": "2026-10-18T15:45:55.193Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b75dadb50a25eed525264bf6fea44fad94e7626f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98686.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98686"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "smb: client: discard post-EOF pagecache when extending a file via zero range"
}