CVE-2026-64391

ksmbd: use opener credentials for ADS I/O

Published Jul 25, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: use opener credentials for ADS I/O

Alternate data streams are stored as xattrs. Unlike regular file I/O,
their read and write paths therefore call VFS xattr helpers which recheck
inode permissions and LSM policy using the current task credentials.

Run ADS I/O with the credentials captured when the SMB handle was opened.

Analysis

AI-generated

Technical impact

In the Linux kernel’s ksmbd service, alternate data streams are stored via extended attributes. The read and write paths for these streams call VFS xattr helpers that incorrectly recheck inode permissions and LSM policy using the current task’s credentials instead of the credentials captured when the SMB handle was opened. This flaw allows an attacker to bypass standard file permission checks and LSM enforcement on ADS operations, leading to improper privilege or access control (CWE‑250) and potentially enabling full control over file metadata and system configuration.

Affected Systems

The defect exists in any Linux kernel that incorporates an unpatched ksmbd implementation and has the service enabled. All distributions shipping such a kernel, regardless of vendor, are potentially affected. No specific kernel versions are listed in the CNA data; thus the vulnerability remains until the patch is applied.

Risk and Exploitability

The EPSS score of less than 1 % indicates a low probability of exploitation under typical conditions, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the CVSS score of 9.8 denotes a severe impact if successfully abused. The likely attack vector is a remote SMB connection that grants the attacker a handle to the target system; once established, privileged ADS read or write operations can be performed, elevating the attacker’s privileges and allowing manipulation of sensitive file metadata or system configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the ksmbd credential‑handling fix
  • Restrict SMB interfaces to trusted hosts using firewall rules or ACLs
  • Enforce SELinux or AppArmor policies that limit extended attribute operations to authorized users
  • Monitor system logs for abnormal ADS read or write activity

Generated by OpenCVE AI on September 4, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8781-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Type Values Removed Values Added
Weaknesses CWE-269
CWE-284
Type Values Removed Values Added
Weaknesses CWE-269
CWE-284
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for ADS I/O Alternate data streams are stored as xattrs. Unlike regular file I/O, their read and write paths therefore call VFS xattr helpers which recheck inode permissions and LSM policy using the current task credentials. Run ADS I/O with the credentials captured when the SMB handle was opened.
Title ksmbd: use opener credentials for ADS I/O
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:27 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Modified
Published
Jul 25, 2026, 10:17 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Public date
Jul 25, 2026, 12:00 AM