CVE-2026-64388

smb/client: fix chown/chgrp with SMB3 POSIX Extensions

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

smb/client: fix chown/chgrp with SMB3 POSIX Extensions

Ownership (chown) and group (chgrp) modifications were being ignored when
mounting with SMB3 POSIX Extensions unless CIFS_MOUNT_CIFS_ACL or
CIFS_MOUNT_MODE_FROM_SID were also explicitly set.

Fix this by checking for posix_extensions in cifs_setattr_nounix() when
updating UID and GID, ensuring that id_mode_to_cifs_acl() is called to map
and set the ownership/group information on the server.

Analysis

AI-generated

Technical impact

The Linux kernel incorrectly ignores chown and chgrp system calls on filesystems that are mounted with SMB3 POSIX Extensions unless the mount options CIFS_MOUNT_CIFS_ACL or CIFS_MOUNT_MODE_FROM_SID are explicitly set. This means that attempts by users to change the perceived ownership or group of a file on the remote share are not reflected in the server’s metadata. This flaw corresponds to CWE‑682 and represents an authorization management defect rather than a privilege escalation path.

Affected Systems

All Linux kernel installations that use CIFS mounts with SMB3 POSIX Extensions are affected, until the kernel commits referenced in the advisory are applied. No specific distribution versions are enumerated; the issue applies to any kernel version that includes the buggy code path for posix_extensions handling in cifs_setattr_nounix().

Risk and Exploitability

The CVSS score of this vulnerability is 7.8, indicating a high severity impact on integrity. The EPSS score is below 1 %, and the vulnerability is not listed in CISA KEV, pointing to a low likelihood of widespread exploitation. Because the bug merely prevents the user from propagating ownership changes, it does not provide a direct route to privilege escalation or remote code execution. Based on the description, it is inferred that the likely attack vector is a local attacker who can mount the affected SMB share and observe that ownership modifications are not applied, but this does not translate into a controllable attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the fix for chown/chgrp handling on SMB3 POSIX Extensions.
  • When mounting a CIFS filesystem with SMB3 POSIX Extensions, include either the CIFS_MOUNT_CIFS_ACL or CIFS_MOUNT_MODE_FROM_SID option so that ownership changes are forwarded to the server.
  • If the SMB3 POSIX Extensions are not required, disable them or constrain local users from mounting CIFS filesystems to prevent unintended ownership confusion.

Generated by OpenCVE AI on October 20, 2026 at 10:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
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-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-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-682
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/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: smb/client: fix chown/chgrp with SMB3 POSIX Extensions Ownership (chown) and group (chgrp) modifications were being ignored when mounting with SMB3 POSIX Extensions unless CIFS_MOUNT_CIFS_ACL or CIFS_MOUNT_MODE_FROM_SID were also explicitly set. Fix this by checking for posix_extensions in cifs_setattr_nounix() when updating UID and GID, ensuring that id_mode_to_cifs_acl() is called to map and set the ownership/group information on the server.
Title smb/client: fix chown/chgrp with SMB3 POSIX Extensions
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
Low
Public date
Jul 25, 2026, 12:00 AM