CVE-2026-43490

ksmbd: validate inherited ACE SID length

HIGH
8.8
CVSS Score
Published: May 15, 2026 at 05:15 AM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 6.12.885.15 ≤ v < 6.18.305.15 ≤ v < 6.6.1415.15 ≤ v < 7.0.75.15 ≤ v < 7.16.13 ≤ v < 6.18.306.19 ≤ v < 7.0.76.7 ≤ v < 6.12.887.1 rc17.1 rc2e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Vendor states this is fixed in 1aa60fea7f637c071f529ad6784aecca2f2f0c5f (fixed)
Vendor states this is fixed in 47c6e37a77b10e74f70d845ba4ea5d3cafa00336 (fixed)
Vendor states this is fixed in 996454bc0da84d5a1dedb1a7861823087e01a7ae (fixed)
Vendor states this is fixed in a7fb771314fb3a265d30f8ac245869a367ab065c (fixed)
Vendor states this is fixed in c1d95c995d5bcb24b639200a899eda59cb1e6d64 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.12.88 (unaffected)
Vendor states this is fixed in 6.18.30 (unaffected)
Vendor states this is fixed in 6.6.141 (unaffected)
Vendor states this is fixed in 7.0.7 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card