Skip to main content

Linux Kernel EUVDEUVD-2026-48943

| CVE-2026-64399 CRITICAL
2026-07-25 Linux GHSA-mrp6-592v-c3fh
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ksmbd share (read-only or write-attributes handle)
  2. Delivery
    Open destination file handle
  3. Exploit
    Send SMB2 IOCTL FSCTL_DUPLICATE_EXTENTS_TO_FILE
  4. Execution
    Missing writable/daccess check bypassed
  5. Impact
    vfs_clone_file_range overwrites destination data

Vulnerability Assessment

Exploitation Conditions

Requires the target to run the in-kernel ksmbd SMB server with at least one share exported and reachable, and an authenticated SMB session (ksmbd requires a logged-in user), so this is not exploitable pre-auth. The specific triggering condition is invoking the FSCTL_DUPLICATE_EXTENTS_TO_FILE ioctl against a destination file where the attacker holds either only a read-only tree connection (share not marked writable) or a handle opened with only FILE_WRITE_ATTRIBUTES rather than FILE_WRITE_DATA. Limiting factors: the attacker must already authenticate to ksmbd and have a handle to the destination file; it grants only data overwrite (integrity), not code execution or information disclosure; and hosts using user-space Samba or without CONFIG_SMB_SERVER are unaffected.

Impact

The published CVSS 3.1 vector (9.8, AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) materially overstates this issue. Exploitation requires an established, authenticated SMB session with access to a share, so PR should be L rather than N. The vulnerability overwrites file data - a pure integrity impact (I:H); it does not disclose data (C should be N, contradicting the 'Information Disclosure' tag) and does not by itself crash the server (A is at most Low). Corroborating low-urgency signals: EPSS is 0.21% (12th percentile), the CVE is not in CISA KEV, and no public POC is referenced. SSVC data is not provided. The realistic risk is a trusted-but-limited SMB user (or a user constrained to a read-only export) bypassing write controls to corrupt/overwrite files - meaningful in multi-tenant or least-privilege file-sharing setups, but far from the unauthenticated-RCE profile the 9.8 implies. Note the conflict to verify: NVD/EUVD label this 'Information Disclosure' while the mechanism is data overwrite (integrity), and the CVSS marks C:H/PR:N which the description contradicts.

Exploit ScenarioDerived

An authenticated user who is only granted a read-only mount of an SMB share, or who opens a destination file requesting merely FILE_WRITE_ATTRIBUTES, issues an SMB2 IOCTL with FSCTL_DUPLICATE_EXTENTS_TO_FILE targeting that file. Because ksmbd skips the writable-share and write-data access checks on this path, the clone proceeds and overwrites the destination's contents despite the client lacking write-data rights. No public exploit is currently identified, but the network attack path is straightforward for any user who can reach the share.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Improper authorization in the Linux kernel's ksmbd (in-kernel SMB3 server) lets an authenticated SMB client overwrite destination file data it should not be able to write. The FSCTL_DUPLICATE_EXTENTS_TO_FILE branch of smb2_ioctl() performs a server-side block clone via vfs_clone_file_range() but omits the share-level writable check and the per-handle access check that every other write-bearing ioctl arm enforces, so data can be overwritten on a read-only share or through a handle opened with only FILE_WRITE_ATTRIBUTES. This is an integrity/authorization bug (not memory corruption); there is no public exploit identified at time of analysis and EPSS is low (0.21%).

RemediationAI

Vendor-released patch: upgrade to Linux 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, or 7.2-rc1 (or your distribution's equivalent - Ubuntu users apply the kernel updates in USN-8726-1 and USN-8727-1). The fix adds the missing KSMBD_TREE_CONN_FLAG_WRITABLE and fp->daccess checks and requires FILE_WRITE_DATA on the destination handle, mirroring the earlier FSCTL_SET_SPARSE permission fix. If you cannot patch immediately, the concrete compensating control is to stop exposing ksmbd to untrusted clients: restrict share access to trusted authenticated users, or unload/disable the ksmbd module and serve SMB via user-space Samba instead (trade-off: loss of ksmbd's performance, and a service migration). Tightening network exposure of TCP/445 to trusted management networks reduces the attacker population but does not fix the authorization gap for legitimate share users.

Affected VersionsENISA

Linux patch: 7.1.4
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9b9cf7e65cbeaae1b6636144bacee611cdd7a5d6
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <baae7b39673ec21073a25e3d14f8feaada01d5df
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c917e4522d251071dde9871b9142d8ea1186ebfe
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bf460ad5958d506492de4524a656439da3f99c51
Linux patch: 6.6.145
Linux 0 <6.12.96
Linux 0 <6.1.178
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <620d133d469295ee7c017ca6aafac335f65c4a5a
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <388e4139db27a9e3612c9d356b826f5b1ff6a9e3
Linux 0 <6.6.145
Linux patch: 6.12.96
Linux patch: 6.18.39
Linux patch: 6.1.178
Linux 0 <6.18.39
Linux 0 <7.1.4
Linux patch: 7.2-rc1

Affected Packages

euvd linux fix: 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ksmbd is the Linux kernel's native SMB3 file-server module (fs/smb/server). SMB clients invoke server-side operations through the SMB2 IOCTL command; the FSCTL_DUPLICATE_EXTENTS_TO_FILE code performs a reflink/copy-on-write clone of source extents into a destination file using the VFS vfs_clone_file_range() helper, which writes data into the destination. The other write-bearing FSCTL arms guard this with two gates: KSMBD_TREE_CONN_FLAG_WRITABLE (the share was mounted/exported writable) and a per-handle fp->daccess check confirming the open granted write-data rights. The duplicate-extents arm had neither, so a handle opened with only FILE_WRITE_ATTRIBUTES - which still produces an FMODE_WRITE file pointer at the VFS layer - was accepted as sufficient to clone-overwrite data. This is a classic missing-authorization / incorrect-permission-assignment root cause (CWE-284/CWE-863); the input CWE is listed as N/A. The CPE data identifies the affected component only generically as cpe:2.3:a:linux:linux, i.e. the mainline kernel tree containing the ksmbd server.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.5 MEDIUM

Reachable over SMB but only after authentication (PR:L), no race so AC:L; impact is unauthorized data overwrite (I:H) with no disclosure (C:N) and no direct availability loss (A:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 6.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 27, 2026 - 05:22 NVD
9.8 (CRITICAL)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:50 cve.org
CRITICAL 9.8

DescriptionCVE.org

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

ksmbd: add permission checks for FSCTL_DUPLICATE_EXTENTS_TO_FILE

The FSCTL_DUPLICATE_EXTENTS_TO_FILE arm of smb2_ioctl() overwrites the destination file's data via vfs_clone_file_range() with neither the share-level KSMBD_TREE_CONN_FLAG_WRITABLE 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 FILE_WRITE_ATTRIBUTES (which still yields an FMODE_WRITE filp). FILE_WRITE_ATTRIBUTES-only destination handle overwrote the file's data via the clone. Add both checks, matching the FSCTL_SET_SPARSE permission fix; require FILE_WRITE_DATA since this writes data.

Executive ViewAI

Why It Matters

Linux kernel's in-kernel SMB3 file server (ksmbd) contains an authorization bypass allowing authenticated users to overwrite files on read-only shares or through restricted file handles, directly defeating access controls. Organizations operating ksmbd-based file servers face potential unauthorized file modifications by authenticated users who should have limited or no write access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, though ksmbd is an optional, less-common file-server module
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy