CVE-2025-21994

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix incorrect validation for num_aces field of smb_acl parse_dcal() validate num_aces to allocate posix_ace_state_array. if (num_aces > ULONG_MAX / sizeof(struct smb_ace *)) It is an incorrect validation that we can create an array of size ULONG_MAX. smb_acl has ->size field to calculate actual number of aces in request buffer size. Use this to check invalid num_aces.

Score
CVSS 3.1 7.6 High
Status
Modified - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-04-02
Last modified
2026-08-05

Affected products

References