Skip to main content

Linux ksmbd CVE-2026-52944

| EUVDEUVD-2026-38734 MEDIUM
2026-06-24 Linux GHSA-v762-vr2v-9263
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
7.1 HIGH

ksmbd is network-exposed via SMB/TCP-445, so AV:N; PR:L reflects required authenticated SMB session; I:L captures unauthorized xattr write; A:H retained for sparse-attribute corruption risk.

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

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 08, 2026 - 19:20 vuln.today
CVSS changed
Jul 08, 2026 - 19:07 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 11:01 EUVD
CVE Published
Jun 24, 2026 - 09:59 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 09:59 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE

FSCTL_SET_SPARSE in fsctl_set_sparse() modifies the file's sparse attribute and saves it through xattr without any permission checks.

This exposes two issues:

  1. A client on a read-only share can change the sparse attribute

on files it opened, even though the share is read-only. Other FSCTL write operations already check test_tree_conn_flag(work->tcon, KSMBD_TREE_CONN_FLAG_WRITABLE), but FSCTL_SET_SPARSE does not.

  1. Even on writable shares, clients without FILE_WRITE_DATA or

FILE_WRITE_ATTRIBUTES access should not modify the sparse attribute. Similar handle-level checks exist in other functions but are missing here.

Add both share-level writable check and per-handle access check. Use goto out on error to avoid leaking file references.

AnalysisAI

Unauthorized file attribute modification in the Linux kernel's ksmbd SMB server allows authenticated SMB clients to invoke FSCTL_SET_SPARSE and alter a file's sparse xattr without required permissions, bypassing both share-level and per-handle access controls. Two distinct authorization gaps exist: clients on read-only shares can issue the control code because fsctl_set_sparse() omits the KSMBD_TREE_CONN_FLAG_WRITABLE check that other FSCTL write operations enforce, and clients on writable shares with insufficient handle rights (lacking FILE_WRITE_DATA or FILE_WRITE_ATTRIBUTES) can modify the attribute because per-handle checks are entirely absent. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Authenticate to ksmbd SMB share
Delivery
Open file handle on target file
Exploit
Send crafted SMB2 IOCTL with FSCTL_SET_SPARSE
Execution
Bypass absent share-level and handle-level permission checks
Persist
Write unauthorized sparse xattr to file
Impact
Cause data corruption or availability disruption

Vulnerability AssessmentAI

Exploitation Exploitation requires an active, authenticated SMB session to a Linux host with the ksmbd kernel module loaded and serving at least one share. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The official CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) rates this as Medium severity, but several signals warrant scrutiny. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker with authenticated access to a ksmbd-served read-only SMB share opens a handle to any file visible on that share and sends a crafted SMB2 IOCTL request bearing the FSCTL_SET_SPARSE control code. Because fsctl_set_sparse() performs no share-writability check, the kernel processes the request and modifies the file's sparse xattr despite the read-only share policy. …
Remediation The primary remediation is to upgrade the Linux kernel to a patched stable release: 6.6.143, 6.18.35, 7.0.12, or 7.1. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-52944 vulnerability details – vuln.today

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