Linux Kernel SMB Client Flaw Lets Malicious Servers Trigger Memory Corruption
Vulnerability Disclosure · 4 sources · Updated 3mo ago · First seen Jun 4, 2026

Red Hat and the Linux kernel CVE team disclosed CVE-2026-31709, an Important-severity flaw in the Linux kernel SMB client’s cifsacl code that can be triggered by a malicious SMB server. The bug stems from insufficient validation of a server-supplied DACL during chmod and chown security descriptor handling, allowing a truncated DACL with a valid header and overstated ACE count to drive out-of-bounds reads or copies in fs/smb/client/cifsacl.c. Red Hat assigned the issue a CVSS v3 score of 7.8 and said successful exploitation could cause memory corruption, information disclosure, or denial of service.
The vulnerable code was introduced in kernel 5.12, and the fix adds a shared validate_dacl() routine with full DACL and per-ACE bounds checks, which is also reused by parse_dacl() for consistent validation. Red Hat said corrected kernel packages have been released across multiple product streams including RHEL 8, RHEL 9, and RHEL 10, while RHEL 6 is not affected because the vulnerable code is absent; the issue is also included in RHSA-2026:23329 for RHEL 10. Red Hat advised customers to apply the updated kernel packages and reboot affected systems, and said organizations that do not need SMB client functionality can mitigate exposure by blacklisting the cifs kernel module.
Why it matters
Impact assessment
CVE-2026-31709 affects Linux systems that use the kernel SMB/CIFS client and interact with untrusted or compromised SMB servers, with confirmed vendor impact across RHEL 8, RHEL 9, and RHEL 10 streams. Successful exploitation can cause kernel memory corruption, information disclosure, or denial of service, creating both confidentiality risk and host stability risk.
The exposure is broad for enterprises that mount SMB shares from external, partner, or otherwise less-trusted infrastructure, but exploitation requires the victim system to connect to a malicious SMB server and exercise affected chmod/chown security descriptor handling. No in-the-wild exploitation is cited in the references.
Affected populations and products
- Linux systems using the SMB client cifsacl functionality
- Red Hat Enterprise Linux 8, 9, and 10 product streams with affected kernel builds
- RHEL 10 fixed via RHSA-2026:23329
- RHEL 6 is not affected because the vulnerable code is absent
- Architectures listed for RHEL 10 advisory: x86_64, s390x, ppc64le, aarch64
Severity and business impact
- Red Hat severity: Important
- CVSS v3.1: 7.8
- Potential outcomes:
- Kernel memory corruption
- Information disclosure
- Denial of service
- Likely operational impact:
- System crashes or instability on affected clients
- Exposure of kernel memory contents under some conditions
- Increased risk when mounting SMB shares from untrusted servers
Scope and exploitation status
- Trigger condition: client connects to a malicious SMB server
- Scope is not internet-wormable based on provided references; it is dependent on SMB client use and server interaction
- No published incidents or exploitation in the wild were provided in the references


