CVE-2026-31611

Linux · Kernel (ksmbd)

An out-of-bounds read vulnerability in the Linux kernel's ksmbd component allows unauthorized memory access via malicious SID structures.

Executive summary

A network-exploitable memory access vulnerability in the Linux kernel's ksmbd component could lead to unauthorized access or system instability.

Vulnerability

This is an out-of-bounds read vulnerability in the parse_dacl() function. The vulnerability occurs because the code does not verify that a Security Identifier (SID) contains at least 3 sub-authorities before attempting to access sub_auth[2], allowing an attacker to read out-of-bounds memory.

Business impact

The vulnerability is network-exploitable, meaning an attacker could potentially gain unauthorized access to file resources or cause a system crash by sending a crafted SID. With a CVSS score of 8.6, this is a high-severity risk for any infrastructure utilizing the ksmbd server for file sharing.

Remediation

Immediate Action: Apply the latest kernel security patches from your vendor. Multiple commits are available for various kernel branches to ensure the SID structure is validated before access.

Proactive Monitoring: Review ksmbd access logs for anomalous or malformed SID patterns that may indicate an exploitation attempt.

Compensating Controls: Deploy a Web Application Firewall (WAF) or network-level firewall rules to restrict access to the ksmbd service to trusted subnets only.

Exploitation status

Public Exploit Available: false

Analyst recommendation

Because this vulnerability is network-accessible, it poses a higher risk than local kernel flaws. Administrators running ksmbd should treat this as a high-priority update and ensure that all kernel packages are patched to the latest version.