Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisory

Linux Kernel SMB Client Flaw Lets Malicious Servers Trigger Memory Corruption

Vulnerability Disclosure · 4 sources · Updated 3mo ago · First seen Jun 4, 2026

Linux Kernel SMB Client Flaw Lets Malicious Servers Trigger Memory Corruption

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
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

10 events · May 1, 2026 – Jun 4, 2026
  1. Reported Jun 4, 20266mo ago

    Red Hat updates CVE-2026-31709 advisory

    Red Hat's CVE page says its advisory for CVE-2026-31709 was last modified on 2026-06-30. The advisory documents the flaw as Important severity, provides mitigation guidance to blacklist the cifs module if unused, and lists affected and fixed product streams.

    CVE-2026-31709 - Red Hat Customer Portal
  2. Jun 4, 20266mo ago

    Red Hat releases RHEL 10 advisory including CVE-2026-31709

    On 2026-06-04, Red Hat published RHSA-2026:23329, an Important kernel security advisory for RHEL 10 that included a fix for CVE-2026-31709. The advisory bundled seven kernel CVE fixes and instructed customers to reboot after applying the update.

    RHSA-2026:23329 - Security Advisory - Red Hat Customer Portal
  3. Reported May 28, 20266mo ago

    Red Hat releases RHEL 10.0 EUS fix

    On 2026-06-08, Red Hat released RHSA-2026:24343 to address CVE-2026-31709 in Red Hat Enterprise Linux 10.0 Extended Update Support. This extended the fix to the RHEL 10 EUS stream.

    2464476 - (CVE-2026-31709) CVE-2026-31709 kernel: smb: client: validate the whole DACL before rewriting it in cifsacl
  4. Reported May 28, 20266mo ago

    Red Hat releases additional RHEL 9.4 SAP and 9.6 EUS fixes

    On 2026-06-04, Red Hat also released fixes for CVE-2026-31709 in RHEL 9.4 Update Services for SAP Solutions via RHSA-2026:23237 and in RHEL 9.6 Extended Update Support via RHSA-2026:23224. These expanded patched coverage to additional supported RHEL 9 streams.

    2464476 - (CVE-2026-31709) CVE-2026-31709 kernel: smb: client: validate the whole DACL before rewriting it in cifsacl
  5. Reported May 28, 20266mo ago

    Red Hat releases RHEL 9.2 SAP fixes

    On 2026-06-03, Red Hat published fixes for CVE-2026-31709 for RHEL 9.2 Update Services for SAP Solutions through RHSA-2026:22900 and RHSA-2026:22940. The advisories covered both kernel and kernel-rt package variants.

    2464476 - (CVE-2026-31709) CVE-2026-31709 kernel: smb: client: validate the whole DACL before rewriting it in cifsacl
  6. May 28, 20266mo ago

    Red Hat releases RHEL 8 and RHEL 9 fixes

    On 2026-05-28, Red Hat released fixes for CVE-2026-31709 in RHEL 9 via RHSA-2026:21556 and in RHEL 8 via RHSA-2026:21706 and RHSA-2026:21745. These updates addressed the kernel SMB client cifsacl flaw across standard and kernel-rt package streams.

    2464476 - (CVE-2026-31709) CVE-2026-31709 kernel: smb: client: validate the whole DACL before rewriting it in cifsacl
  7. Reported May 1, 20267mo ago

    Fix also lands in Linux kernel 7.1-rc1

    The same vulnerability was also fixed in Linux kernel 7.1-rc1. The kernel CVE announcement identifies commit 0a8cf165566ba55a39fd0f4de172119dd646d39a as the corresponding fix.

    CVE-2026-31709: smb: client: validate the whole DACL before rewriting it in cifsacl
  8. Reported May 1, 20267mo ago

    Fix released in Linux kernel 7.0.2

    The Linux kernel CVE announcement says CVE-2026-31709 was fixed in Linux kernel 7.0.2 by adding shared structural DACL validation with per-ACE bounds checks. It cites fixing commit b78db9bddc84136f6a0bb49e8883cf200dfb87a8.

    CVE-2026-31709: smb: client: validate the whole DACL before rewriting it in cifsacl
  9. May 1, 20267mo ago

    Linux kernel CVE team publishes CVE-2026-31709 advisory

    On 2026-05-01, the Linux kernel CVE team announced CVE-2026-31709 for insufficient validation of a server-supplied DACL in SMB client cifsacl. The advisory described how a malicious SMB server could trigger out-of-bounds reads or copies during chmod/chown security descriptor handling.

    CVE-2026-31709: smb: client: validate the whole DACL before rewriting it in cifsacl
  10. Reported May 1, 20267mo ago

    Vulnerable cifsacl code introduced in Linux kernel 5.12

    The Linux kernel CVE announcement states the flawed SMB client cifsacl code path was introduced in Linux kernel 5.12. It attributes the introduction to commit bc3e9dd9d104ca1b75644eab87b38ce8a924aef4.

    CVE-2026-31709: smb: client: validate the whole DACL before rewriting it in cifsacl
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Linux KernelRed Hat Enterprise Linux

Organizations

1 linked
Red Hat
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.