---
id: CVE-2026-43490
title: 'ksmbd: validate inherited ACE SID length'
summary: |-
  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 contai…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <
    00f053d97b63591cafd791dce8d6c53e1625dad1
  - >-
    Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <
    a7fb771314fb3a265d30f8ac245869a367ab065c
  - >-
    Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <
    47c6e37a77b10e74f70d845ba4ea5d3cafa00336
  - >-
    Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <
    1aa60fea7f637c071f529ad6784aecca2f2f0c5f
  - >-
    Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <
    c1d95c995d5bcb24b639200a899eda59cb1e6d64
  - >-
    Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <
    996454bc0da84d5a1dedb1a7861823087e01a7ae
  - Linux 5.15
published: '2026-05-15'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T12:25:35.905Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-43490'
references:
  - url: 'https://git.kernel.org/stable/c/00f053d97b63591cafd791dce8d6c53e1625dad1'
  - url: 'https://git.kernel.org/stable/c/a7fb771314fb3a265d30f8ac245869a367ab065c'
  - url: 'https://git.kernel.org/stable/c/47c6e37a77b10e74f70d845ba4ea5d3cafa00336'
  - url: 'https://git.kernel.org/stable/c/1aa60fea7f637c071f529ad6784aecca2f2f0c5f'
  - url: 'https://git.kernel.org/stable/c/c1d95c995d5bcb24b639200a899eda59cb1e6d64'
  - url: 'https://git.kernel.org/stable/c/996454bc0da84d5a1dedb1a7861823087e01a7ae'
tags:
  - cve.org
epss: 0.00435
epssPercentile: 0.37934
ingestedAt: '2026-11-05T15:02:32.292Z'
---

## Overview

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

- `Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 00f053d97b63591cafd791dce8d6c53e1625dad1`
- `Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < a7fb771314fb3a265d30f8ac245869a367ab065c`
- `Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 47c6e37a77b10e74f70d845ba4ea5d3cafa00336`
- `Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 1aa60fea7f637c071f529ad6784aecca2f2f0c5f`
- `Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < c1d95c995d5bcb24b639200a899eda59cb1e6d64`
- `Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 996454bc0da84d5a1dedb1a7861823087e01a7ae`
- `Linux 5.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
