Description
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: validate inherited ACE SID length

smb_inherit_dacl() walks the parent directory DACL loaded from the
security descriptor xattr. It verifies that each ACE contains the fixed
SID header before using it, but does not verify that the variable-length
SID described by sid.num_subauth is fully contained in the ACE.

A malformed inheritable ACE can advertise more subauthorities than are
present in the ACE. compare_sids() may then read past the ACE.
smb_set_ace() also clamps the copied destination SID, but used the
unchecked source SID count to compute the inherited ACE size. That could
advance the temporary inherited ACE buffer pointer and nt_size accounting
past the allocated buffer.

Fix this by validating the parent ACE SID count and SID length before
using the SID during inheritance. Compute the inherited ACE size from the
copied SID so the size matches the bounded destination SID. Reject the
inherited DACL if size accumulation would overflow smb_acl.size or the
security descriptor allocation size.
Published: 2026-05-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The bug sits in the Linux kernel’s ksmbd SMB server. When a directory’s DACL is inherited, the code checks only the fixed SID header of each Access Control Entry (ACE) and ignores whether the variable‑length SID, described by sid.num_subauth, is fully contained inside the ACE. If a malicious ACL advertises more subauthorities than are present, the compare_sids routine may read beyond the ACE’s boundaries, producing an out‑of‑bounds read that can be leveraged for kernel‑mode privilege escalation. Additionally, smb_set_ace uses the unchecked source SID count to compute the size of the inherited ACE, potentially advancing the copy buffer pointer past the allocated region and creating a buffer overrun. This combination of unchecked length verification and unchecked buffer sizing is the root of the risk. The vulnerability is a classic unchecked length and buffer overrun issue (CWE‑787, CWE‑805). An attacker with the ability to send a specially crafted SMB packet can thus read privileged kernel data or push the kernel into a state that may allow code execution or denial of service. The flaw is not an input validation defect but a memory safety problem that gives the attacker direct access to kernel memory. The potential impact therefore extends beyond information disclosure to include privilege escalation.

Affected Systems

All Linux kernel releases that ship the ksmbd module and have not applied the patch commit that adds SID‑length validation are at risk. The flaw is vendor‑neutral; it applies to any distribution whose kernel includes the ksmbd component, regardless of the exact version, as long as the SMB server is enabled. Systems that expose the built‑in SMB service over port 445/TCP are therefore the primary attack surface. Kernel builds that omit ksmbd or run a patched version are not affected.

Risk and Exploitability

The CVSS score of 8.8 reflects high severity, while the EPSS score of less than 1% indicates the current exploitation probability is very low. The vulnerability is not listed in CISA’s KEV catalog. From the description it is inferred that the attack vector is network‑based SMB traffic; an adversary must be able to send a crafted SMB packet to the target’s SMB service. If successful, the read may leak privileged data and, with further exploitation, elevate privileges or crash the kernel. Because the issue involves direct kernel memory corruption, the potential compromise is severe, even though the probability of exploitation remains low for most networks.

Generated by OpenCVE AI on August 14, 2026 at 02:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the ksmbd SID‑validation patch, which fixes the SID length checks and eliminates the buffer overrun (CWE‑787, CWE‑805).
  • If a kernel upgrade cannot be performed immediately, disable or unload the ksmbd module to remove the vulnerable code path from the running kernel (CWE‑787 mitigation by code removal).
  • Restrict SMB traffic to trusted hosts or block SMB ports when the service is not required, thereby reducing the opportunity for an attacker to deliver malicious SMB packets (CWE‑787 mitigation by network isolation).
  • Continuously monitor kernel logs and SMB activity for anomalous read faults or repeated failures in ACL processing, and investigate any suspicious events promptly.

Generated by OpenCVE AI on August 14, 2026 at 02:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6274-1 linux security update
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
History

Sat, 23 May 2026 11:45:00 +0000


Wed, 20 May 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-190
CWE-20

Wed, 20 May 2026 16:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 15 May 2026 12:15:00 +0000


Fri, 15 May 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-190
CWE-20

Fri, 15 May 2026 05:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate inherited ACE SID length smb_inherit_dacl() walks the parent directory DACL loaded from the security descriptor xattr. It verifies that each ACE contains the fixed SID header before using it, but does not verify that the variable-length SID described by sid.num_subauth is fully contained in the ACE. A malformed inheritable ACE can advertise more subauthorities than are present in the ACE. compare_sids() may then read past the ACE. smb_set_ace() also clamps the copied destination SID, but used the unchecked source SID count to compute the inherited ACE size. That could advance the temporary inherited ACE buffer pointer and nt_size accounting past the allocated buffer. Fix this by validating the parent ACE SID count and SID length before using the SID during inheritance. Compute the inherited ACE size from the copied SID so the size matches the bounded destination SID. Reject the inherited DACL if size accumulation would overflow smb_acl.size or the security descriptor allocation size.
Title ksmbd: validate inherited ACE SID length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:28:14.021Z

Reserved: 2026-05-01T14:12:56.012Z

Link: CVE-2026-43490

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-15T06:16:20.363

Modified: 2026-06-26T19:16:00.697

Link: CVE-2026-43490

cve-icon Redhat

Severity :

Publid Date: 2026-05-15T00:00:00Z

Links: CVE-2026-43490 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T02:45:04Z

Weaknesses
  • CWE-787

    Out-of-bounds Write

  • CWE-805

    Buffer Access with Incorrect Length Value