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: n/a
EPSS: n/a
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. No EPSS score is published, 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. Consequently, the risk of a successful exploitation remains high if unmitigated.

Generated by OpenCVE AI on August 15, 2026 at 08:14 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 15, 2026 at 08:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-15T05:51:18.233Z

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-15T06:17:48.460

Link: CVE-2026-68457

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T08:15:04Z

Weaknesses
  • CWE-269

    Improper Privilege Management

  • CWE-640

    Weak Password Recovery Mechanism for Forgotten Password