HIGH · CVSS 7.6 Published: 2025-04-02
CVE-2025-21994 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-21994 |
|---|---|
| Base Severity / Score | HIGH (7.6 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
| Weakness Classification | NVD-CWE-noinfo |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://git.kernel.org/stable/c/1b8b67f3c5e5169535e26efedd3e422172e2db64
- https://git.kernel.org/stable/c/9c4e202abff45f8eac17989e549fc7a75095f675
- https://git.kernel.org/stable/c/a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd
Related Security Advisories
CVE-2025-21993 HIGH 7.1
CVE-2025-21995 MEDIUM 5.5
CVE-2025-21991 HIGH 7.8
CVE-2025-21999 HIGH 7.8
CVE-2025-22001 HIGH 7.8
CVE-2025-22004 HIGH 8.6
CVE-2025-22012 HIGH 8.8