CVE-2026-43490

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*

History

26 Jun 2026, 19:16

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE CWE-787
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/1aa60fea7f637c071f529ad6784aecca2f2f0c5f - () https://git.kernel.org/stable/c/1aa60fea7f637c071f529ad6784aecca2f2f0c5f - Patch
References () https://git.kernel.org/stable/c/47c6e37a77b10e74f70d845ba4ea5d3cafa00336 - () https://git.kernel.org/stable/c/47c6e37a77b10e74f70d845ba4ea5d3cafa00336 - Patch
References () https://git.kernel.org/stable/c/996454bc0da84d5a1dedb1a7861823087e01a7ae - () https://git.kernel.org/stable/c/996454bc0da84d5a1dedb1a7861823087e01a7ae - Patch
References () https://git.kernel.org/stable/c/a7fb771314fb3a265d30f8ac245869a367ab065c - () https://git.kernel.org/stable/c/a7fb771314fb3a265d30f8ac245869a367ab065c - Patch
References () https://git.kernel.org/stable/c/c1d95c995d5bcb24b639200a899eda59cb1e6d64 - () https://git.kernel.org/stable/c/c1d95c995d5bcb24b639200a899eda59cb1e6d64 - Patch

23 May 2026, 12:17

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/a7fb771314fb3a265d30f8ac245869a367ab065c -

20 May 2026, 17:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

15 May 2026, 06:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-15 06:16

Updated : 2026-06-26 19:16


NVD link : CVE-2026-43490

Mitre link : CVE-2026-43490

CVE.ORG link : CVE-2026-43490


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-787

Out-of-bounds Write