Vulnerabilities · 2025 · Linux
CVE-2025-21994
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1b8b67f3c5e5169535e26efedd3e422172e2db64 · Patch
- git.kernel.org/stable/c/9c4e202abff45f8eac17989e549fc7a75095f675 · Patch
- git.kernel.org/stable/c/a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd · Patch
- git.kernel.org/stable/c/c3a3484d9d31b27a3db0fab91fcf191132d65236 · Patch
- git.kernel.org/stable/c/d0f87370622a853b57e851f7d5a5452b72300f19 · Patch
- git.kernel.org/stable/c/f6a6721802ac2f12f4c1bbe839a4c229b61866f2 · Patch
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- nvd.nist.gov/vuln/detail/CVE-2025-21994
- cve.org/CVERecord?id=CVE-2025-21994
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.