{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "eb817368f50c1cbe1bd07044124aad7db6330e3a"
            },
            {
              "fixed": "2d2ab6983620c2d60ce7db72133984ca3873b929"
            },
            {
              "fixed": "67bdad9cf01b25030e3bf00bbce6c309319d6663"
            },
            {
              "fixed": "b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f"
            },
            {
              "fixed": "db231af842868268839f9f9619c68cb27830d8be"
            },
            {
              "fixed": "a10942af27832c2761d020863a46e79bebe0567d"
            },
            {
              "fixed": "cedff600f1642aa982178503552f0d007bc829c8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.96"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.39"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64395.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: require source read access for duplicate extents\n\nFSCTL_DUPLICATE_EXTENTS_TO_FILE passes the source file directly to\nvfs_clone_file_range() or vfs_copy_file_range() without checking the SMB\naccess mask granted to the source handle. A handle opened with attribute\naccess can consequently be used to copy file contents into an\nattacker-readable destination.\n\nRequire FILE_READ_DATA on the source handle before either VFS operation,\nmatching other ksmbd data-copy paths.",
  "id": "CVE-2026-64395",
  "modified": "2026-07-28T03:55:40.333081701Z",
  "published": "2026-07-25T08:50:40.393Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2d2ab6983620c2d60ce7db72133984ca3873b929"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67bdad9cf01b25030e3bf00bbce6c309319d6663"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a10942af27832c2761d020863a46e79bebe0567d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cedff600f1642aa982178503552f0d007bc829c8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/db231af842868268839f9f9619c68cb27830d8be"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64395.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64395"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ksmbd: require source read access for duplicate extents"
}