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

smb: client: mask server-provided mode to 07777 in modefromsid

When modefromsid is active, parse_dacl() applies the server-provided
sub_auth[2] value from the NFS mode SID to cf_mode without masking to
07777. Apply the correct masking, same as in the read path.
Published: 2026-07-25
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege escalation via improper file permissions
Action: Patch Kernel
AI Analysis

Impact

The Linux kernel’s SMB client includes a routine called modefromsid that applies a server‑provided security identifier (SID) sub‑authority value to a local file mode. In the affected code, this value was used without masking it to 07777, allowing files created or modified by the client to receive overly permissive permissions. The consequence is that a malicious SMB server could instruct the client to set file permissions that grant broader access than intended, potentially enabling unauthorized read, write or execution of files.

Affected Systems

All Linux kernel releases that contain the SMB client component and predate the patch commit which correctly applies the 07777 mask are affected. This includes the generic Linux kernel and specific pre‑release versions such as 7.2 rc1 and rc2. The fix has been incorporated into newer kernel releases; systems still running older kernels should update to a version that contains the commit referenced in the advisory URLs.

Risk and Exploitability

The EPSS score of less than 1% indicates a very low probability that this flaw will be exploited in the wild. The CVSS score of 7.1 shows the potential for significant impact if used, and the vulnerability is not listed in the CISA KEV catalog, implying no known active exploitation. The likely attack vector is network‑based, requiring a SMB server that can supply a crafted SID value; this inference is based on the description of the defect. Exploitation would allow the attacker to create or modify files with high permissions on the client, which could lead to privilege escalation or data tampering if the affected process runs with elevated rights.

Generated by OpenCVE AI on September 8, 2026 at 18:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the modefromsid masking patch
  • Disable the SMB client’s modefromsid feature via kernel configuration or by removing the SMB client module if the patch cannot be applied
  • Limit SMB client access to trusted hosts or block SMB traffic from untrusted networks

Generated by OpenCVE AI on September 8, 2026 at 18:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
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
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
History

Tue, 08 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Tue, 08 Sep 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*

Thu, 30 Jul 2026 00:15:00 +0000

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

None

threat_severity

Moderate


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sun, 26 Jul 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: mask server-provided mode to 07777 in modefromsid When modefromsid is active, parse_dacl() applies the server-provided sub_auth[2] value from the NFS mode SID to cf_mode without masking to 07777. Apply the correct masking, same as in the read path.
Title smb: client: mask server-provided mode to 07777 in modefromsid
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-17T04:54:30.613Z

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

Link: CVE-2026-64379

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-08T14:08:51.350

Link: CVE-2026-64379

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-64379 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T18:30:04Z

Weaknesses