CVE-2025-21994
Published: Apr 2, 2025
Modified: May 11, 2026
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 0626e6641f6b467447c81dd7678a69c66f7746cf - < c3a3484d9d31b27a3db0fab91fcf191132d65236affected 0626e6641f6b467447c81dd7678a69c66f7746cf - < 9c4e202abff45f8eac17989e549fc7a75095f675affected 0626e6641f6b467447c81dd7678a69c66f7746cf - < d0f87370622a853b57e851f7d5a5452b72300f19affected 0626e6641f6b467447c81dd7678a69c66f7746cf - < a4cb17797a5d241f1e509cb5b46ed95a80c2f5fdaffected 0626e6641f6b467447c81dd7678a69c66f7746cf - < f6a6721802ac2f12f4c1bbe839a4c229b61866f2+1 more versions |
Linux | Linux | affected 5.15unaffected 0 - < 5.15unaffected 5.15.180 - <= 5.15.*unaffected 6.1.132 - <= 6.1.*unaffected 6.6.85 - <= 6.6.*+3 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now