CVE-2026-64379·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.31% — higher than 22% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64379 scores 7.1 on CVSS, so a successful attack would be serious — but at 0.31%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to resolve this SMB client vulnerability affecting file permission handling. The issue occurs when the modefromsid feature is enabled and the kernel fails to properly mask file mode bits from NFS mode SIDs provided by SMB servers, potentially allowing unintended permission elevation. Apply the security patch immediately if you use SMB mounts with NFS mode mapping enabled.
sudo dnf update kernel kernel-headers kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^(6\.(19|[2-9][0-9])|7\.([0-1]|1\.[0-3]))' and verify it falls within 6.19 to 7.1.3
- Verify if modefromsid is active on SMB mounts: grep -i 'modefromsid' /proc/mounts or mount | grep -i 'modefromsid'
- Monitor kernel audit logs for unexpected permission changes on SMB-mounted files: ausearch -k smb_perm_change 2>/dev/null || dmesg | grep -i 'modefromsid'
- Confirm patched kernel version is installed: uname -r and verify output shows 7.1.4 or later (e.g., 7.1.4, 7.2.0+)
FAQ
What is CVE-2026-64379?
This vulnerability affects the Linux kernel's SMB client implementation when the modefromsid feature is enabled. The kernel incorrectly applies file permission bits from NFS mode SIDs without proper masking (07777), potentially causing file mode settings to exceed intended access restrictions.
Is CVE-2026-64379 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and has no publicly available exploits. However, local attackers with SMB mount access could potentially abuse improper permission handling.
What versions of Kernel are affected by CVE-2026-64379?
Linux kernel versions 6.19 through 7.1.3 are vulnerable. The fix is available in kernel 7.1.4 and all subsequent versions.
How do I check if my server is vulnerable to CVE-2026-64379?
Run 'uname -r' and check if the output matches 6.19+ up to 7.1.3, then confirm modefromsid is in use with 'mount | grep modefromsid'. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2026-64379?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64379 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/08c600b7e1818539ba5efee4cdb06215c245ca78
- https://git.kernel.org/stable/c/5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14
- https://git.kernel.org/stable/c/b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d
- https://git.kernel.org/stable/c/c6c484a7d5bff6b929a86d7ed5130f29834c6a0d
- https://git.kernel.org/stable/c/e3d9c7160d483fc8f9e225aafad8ecbbc43f3151
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64379. Free for 1 server.
Get started free