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: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the Linux kernel’s SMB client occurs in the modefromsid routine, where a server‑provided security identifier (SID) sub‑authority value is applied to a local file mode without the required 07777 mask. This oversight can cause files to be created or modified with excessively permissive permissions, potentially allowing privileged access or modification that the client should not grant. The defect can therefore facilitate unauthorized privilege escalation or data tampering by manipulating file permissions through a malicious SMB server.

Affected Systems

All Linux kernel configurations identified as "Linux:Linux" that include the SMB client component are affected. The issue persists in kernel releases released before the patch commit that introduced the correct masking; the patch is available in newer kernel versions that have incorporated the commit referenced in the advisory URLs.

Risk and Exploitability

The EPSS score of less than 1% signals a very low probability of exploitation in the wild. The CVSS score of 7.1 indicates high severity, but the vulnerability is not listed in the CISA KEV catalog, which together imply that the overall risk to exposed systems is still modest. Exploitation would require an SMB server that can provide a crafted SID value, so the attack vector is network‑based to systems that actively use the SMB client. Given the narrow scope and low exploitation likelihood, the risk remains low for most deployments, though the potential impact of unlawful file permissions could be significant if exploited.

Generated by OpenCVE AI on August 3, 2026 at 18:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that incorporates the patch for modefromsid masking
  • If an immediate kernel update is not feasible, disable the SMB client’s modefromsid feature via kernel configuration or by suppressing the SMB client entirely
  • Restrict SMB access to trusted hosts to reduce exposure

Generated by OpenCVE AI on August 3, 2026 at 18:58 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
History

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-05T12:41:15.121Z

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

Link: CVE-2026-64379

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

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-08-03T19:00:05Z

Weaknesses
  • CWE-279

    Incorrect Execution-Assigned Permissions

  • CWE-284

    Improper Access Control