CVE-2026-64399

Source
https://cve.org/CVERecord?id=CVE-2026-64399
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64399.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64399
Downstream
Related
Published
2026-07-25T08:50:42.925Z
Modified
2026-08-18T03:31:07.866903077Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ksmbd: add permission checks for FSCTL_DUPLICATE_EXTENTS_TO_FILE
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: add permission checks for FSCTLDUPLICATEEXTENTSTOFILE

The FSCTLDUPLICATEEXTENTSTOFILE arm of smb2ioctl() overwrites the destination file's data via vfsclonefilerange() with neither the share-level KSMBDTREECONNFLAGWRITABLE check nor a per-handle fp->daccess check that the other write-bearing arms carry. A client can overwrite destination data on a read-only share, or from a handle opened with only FILEWRITEATTRIBUTES (which still yields an FMODEWRITE filp). FILEWRITEATTRIBUTES-only destination handle overwrote the file's data via the clone. Add both checks, matching the FSCTLSETSPARSE permission fix; require FILEWRITE_DATA since this writes data.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64399.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eb817368f50c1cbe1bd07044124aad7db6330e3a
Fixed
bf460ad5958d506492de4524a656439da3f99c51
Fixed
620d133d469295ee7c017ca6aafac335f65c4a5a
Fixed
9b9cf7e65cbeaae1b6636144bacee611cdd7a5d6
Fixed
baae7b39673ec21073a25e3d14f8feaada01d5df
Fixed
c917e4522d251071dde9871b9142d8ea1186ebfe
Fixed
388e4139db27a9e3612c9d356b826f5b1ff6a9e3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64399.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64399.json"