CVE-2025-21994

High

Description

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductLinux Kernel
PublishedApr 2, 2025
First seenApr 2, 2025

How to fix

Update
  • linux linux_kernel5.15.180, 6.1.132, 6.6.85, 6.12.21, 6.13.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 5.15.180, 5.16 ≤ v < 6.1.132, 6.2 ≤ v < 6.6.85, 6.7 ≤ v < 6.12.21, 6.13 ≤ v < 6.13.9, 6.145.15.180, 6.1.132, 6.6.85, 6.12.21, 6.13.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-21994 · Linux Kernel · Dark Radar