Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 5.15.180 |
References
- https://git.kernel.org/stable/c/1b8b67f3c5e5169535e26efedd3e422172e2db64Patch
- https://git.kernel.org/stable/c/9c4e202abff45f8eac17989e549fc7a75095f675Patch
- https://git.kernel.org/stable/c/a4cb17797a5d241f1e509cb5b46ed95a80c2f5fdPatch
- https://git.kernel.org/stable/c/c3a3484d9d31b27a3db0fab91fcf191132d65236Patch
- https://git.kernel.org/stable/c/d0f87370622a853b57e851f7d5a5452b72300f19Patch
- https://git.kernel.org/stable/c/f6a6721802ac2f12f4c1bbe839a4c229b61866f2Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
FAQ
What is CVE-2025-21994?
CVE-2025-21994 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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. i...
How severe is CVE-2025-21994?
CVE-2025-21994 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-21994?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.