CVE-2025-21994
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.
How to fix
- linux linux_kernel5.15.180, 6.1.132, 6.6.85, 6.12.21, 6.13.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.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.14 | 5.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.