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

ksmbd: use opener credentials for FSCTL mutations

SET_SPARSE, SET_ZERO_DATA and SET_COMPRESSION operate on an open SMB
handle but call VFS xattr, fallocate or fileattr helpers with the current
ksmbd worker credentials. Those helpers can revalidate inode permissions,
ownership and LSM policy independently of the SMB handle access mask.

Run each operation with the credentials captured in the target file when
the handle was opened. Keep credential handling local to these single-file
FSCTLs rather than applying session credentials to the complete IOCTL
handler, which also contains handle-less and multi-handle operations.
Published: 2026-08-15
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This flaw occurs in the ksmbd SMB daemon of the Linux kernel, where certain FSCTL commands that modify file attributes—such as SET_SPARSE, SET_ZERO_DATA, and SET_COMPRESSION—are executed with the credentials of the kernel worker thread rather than the credentials of the client that opened the file. Because the helper functions perform inode permission checks using those worker credentials, an attacker can perform metadata or content modifications on files to which they normally would not have access, thereby violating the intended access controls and potentially corrupting data or leaking sensitive information.

Affected Systems

All installations of the Linux kernel that include the ksmbd component and have not applied the upstream patch commit 1e112c47 (or any subsequent commits that fixed the issue) are affected. This encompasses every Linux distribution that ships a ksmbd daemon in the kernel at any point before the patch, regardless of vendor or version detachment.

Risk and Exploitability

The vulnerability can be exercised by an attacker who can send the relevant FSCTL commands through an SMB session to the ksmbd service. The requirement for only standard SMB FSCTL operations makes the remote exploitation path plausible, although the original description does not explicitly state that the attack is network‑based; this inference is based on the fact that ksmbd mediates SMB client requests over the network. The EPSS score of less than 1% indicates a very low but non‑zero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog, but the absence of these metrics does not diminish the high impact of enabling elevated kernel‑level operations. The CVSS score of 9.1 underscores the critical severity of this issue. Consequently, the risk of a successful exploitation remains high if unmitigated.

Generated by OpenCVE AI on August 18, 2026 at 05:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the ksmbd patch (commit 1e112c47 or newer). If an official update is not yet available for your distribution, apply the upstream patch manually.
  • If a kernel upgrade is not feasible, disable the ksmbd service or block its listening port (TCP 445) to stop untrusted SMB traffic from reaching the vulnerable component.
  • Limit SMB connections to trusted hosts only and monitor for anomalous FSCTL usage such as repeated SET_SPARSE, SET_ZERO_DATA, or SET_COMPRESSION commands.

Generated by OpenCVE AI on August 18, 2026 at 05:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-270
References
Metrics threat_severity

None

threat_severity

Important


Mon, 17 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Mon, 17 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-269
CWE-640

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


Sat, 15 Aug 2026 08:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-269
CWE-640

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for FSCTL mutations SET_SPARSE, SET_ZERO_DATA and SET_COMPRESSION operate on an open SMB handle but call VFS xattr, fallocate or fileattr helpers with the current ksmbd worker credentials. Those helpers can revalidate inode permissions, ownership and LSM policy independently of the SMB handle access mask. Run each operation with the credentials captured in the target file when the handle was opened. Keep credential handling local to these single-file FSCTLs rather than applying session credentials to the complete IOCTL handler, which also contains handle-less and multi-handle operations.
Title ksmbd: use opener credentials for FSCTL mutations
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-18T06:56:05.565Z

Reserved: 2026-07-30T09:28:09.395Z

Link: CVE-2026-68457

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:17:48.460

Modified: 2026-08-18T07:16:52.283

Link: CVE-2026-68457

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-68457 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T05:30:08Z

Weaknesses
  • CWE-270

    Privilege Context Switching Error