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

ksmbd: run set info with opener credentials

SMB2 SET_INFO handlers call path-based VFS helpers after checking the
access mask granted to the SMB handle. Those helpers perform their owner,
inode permission and LSM checks using the current ksmbd worker credentials.

Run the complete SET_INFO dispatch with the credentials captured when the
handle was opened. This also removes the separate security information
credential setup and keeps all SET_INFO classes under one credential scope.

Direct override_creds() is used because it can nest with the request
credential overrides already used by rename and link helpers.
Published: 2026-07-25
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s ksmbd SMB2 server processes SET_INFO operations using a credential context that does not match the credentials captured when an SMB handle was opened. Instead of running the entire dispatch with the user’s original credentials, the code performs path‑based VFS helper checks using the ksmbd worker’s credentials. This mismatch could allow an attacker with access to the SMB interface to execute SET_INFO commands with elevated privileges, permitting unauthorized creation or modification of files and thereby escalating authority on the host system.

Affected Systems

All Linux kernel releases that include the ksmbd component, particularly those exposing SMB2 services to external networks, are potentially vulnerable until the credential‑handling fix is applied. No specific version range is noted, so any kernel build containing ksmbd before the patch is considered affected.

Risk and Exploitability

The CVSS score of 9.1 indicates a critical severity. The EPSS score is less than 1%, suggesting a currently low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need network access to a remote SMB2 service to issue SET_INFO requests; if successful, the attacker could gain privileges beyond those assigned to the SMB connection, creating a substantial security risk. The vulnerability involves improper credential handling (CWE-270).

Generated by OpenCVE AI on August 5, 2026 at 00:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the ksmbd credential‑handling fix.
  • If a kernel upgrade cannot be performed immediately, limit the exposure of the SMB service by disabling or restricting SET_INFO operations for untrusted clients, for example through smb.conf configuration changes or firewall rules that block SMB2 traffic from external networks.
  • Enable or strengthen mandatory access controls, such as SELinux or AppArmor, to enforce file permissions on SMB operations, providing an additional shield against unauthorized file manipulation.

Generated by OpenCVE AI on August 5, 2026 at 00:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Tue, 28 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05:15: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, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.
Title ksmbd: run set info with opener credentials
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-05T12:41:30.510Z

Reserved: 2026-07-19T15:36:31.785Z

Link: CVE-2026-64393

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:22.663

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64393

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64393 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:30:05Z

Weaknesses
  • CWE-270

    Privilege Context Switching Error