CVE-2026-43490 Details
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.
A vulnerability in the Linux kernel's ksmbd component allows for improper validation of inherited Access Control Entry (ACE) Security Identifiers (SIDs). The issue arises because the function smb_inherit_dacl() does not verify that the variable-length SID, as described by sid.num_subauth, is fully contained within the ACE. This oversight can be exploited by a malformed inheritable ACE that advertises more subauthorities than actually present, potentially leading to memory corruption. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1aa60fea7f637c071f529ad6784aecca2f2f0c5f | kernel.org | Patch |
| https://git.kernel.org/stable/c/47c6e37a77b10e74f70d845ba4ea5d3cafa00336 | kernel.org | Patch |
| https://git.kernel.org/stable/c/996454bc0da84d5a1dedb1a7861823087e01a7ae | kernel.org | Patch |
| https://git.kernel.org/stable/c/a7fb771314fb3a265d30f8ac245869a367ab065c | kernel.org | Patch |
| https://git.kernel.org/stable/c/c1d95c995d5bcb24b639200a899eda59cb1e6d64 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 6.6.141 >= 6.7, < 6.12.88 >= 6.13, < 6.18.30 >= 6.19, < 7.0.7 7.1 rc1 7.1 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 23, 2026 | CVE Modified | kernel.org |
| May 20, 2026 | CVE Modified | kernel.org |
| May 15, 2026 | New CVE Received | kernel.org |