In the Linux kernel, the following vulnerability has been resolved: smb: client: mask server-provided mode to 07777 in modefromsid When modefromsid… (CVE-2026-64379)
A vulnerability in the Linux kernel SMB client was resolved by correctly masking the server-provided mode to 07777 in the modefromsid function. The issue involved parse_dacl() applying a server-provided sub_auth[2] value from the NFS mode SID to cf_mode without proper masking, which could lead to incorrect permission handling. The fix applies the correct masking consistent with the read path behavior.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel SMB client relates to improper handling of server-provided mode bits in the modefromsid function. Specifically, when modefromsid is active, parse_dacl() uses the sub_auth[2] value from the NFS mode SID to set cf_mode but fails to mask it to 07777, potentially allowing unintended permission bits to be set. The resolution involves applying the correct 07777 mask to the mode, aligning with the behavior in the read path, thereby preventing incorrect permission assignments.
Potential Impact
Incorrect masking of server-provided mode bits could lead to improper file permission settings on SMB client mounts, potentially resulting in privilege escalation or unauthorized access if permissions are incorrectly granted. However, no known exploits are reported in the wild for this vulnerability.
Mitigation Recommendations
A fix has been applied to the Linux kernel to correctly mask the server-provided mode to 07777 in the modefromsid function. Users should update their Linux kernel to a version that includes this fix once it is available. Patch status is not yet confirmed in the provided data; users should consult the official Linux kernel advisories for the current remediation status.
In the Linux kernel, the following vulnerability has been resolved: smb: client: mask server-provided mode to 07777 in modefromsid When modefromsid… (CVE-2026-64379)
Description
A vulnerability in the Linux kernel SMB client was resolved by correctly masking the server-provided mode to 07777 in the modefromsid function. The issue involved parse_dacl() applying a server-provided sub_auth[2] value from the NFS mode SID to cf_mode without proper masking, which could lead to incorrect permission handling. The fix applies the correct masking consistent with the read path behavior.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel SMB client relates to improper handling of server-provided mode bits in the modefromsid function. Specifically, when modefromsid is active, parse_dacl() uses the sub_auth[2] value from the NFS mode SID to set cf_mode but fails to mask it to 07777, potentially allowing unintended permission bits to be set. The resolution involves applying the correct 07777 mask to the mode, aligning with the behavior in the read path, thereby preventing incorrect permission assignments.
Potential Impact
Incorrect masking of server-provided mode bits could lead to improper file permission settings on SMB client mounts, potentially resulting in privilege escalation or unauthorized access if permissions are incorrectly granted. However, no known exploits are reported in the wild for this vulnerability.
Mitigation Recommendations
A fix has been applied to the Linux kernel to correctly mask the server-provided mode to 07777 in the modefromsid function. Users should update their Linux kernel to a version that includes this fix once it is available. Patch status is not yet confirmed in the provided data; users should consult the official Linux kernel advisories for the current remediation status.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fhph-rcwp-75hp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64379"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f808475b
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:28:50 UTC
Last updated: 07/26/2026, 03:44:35 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.