CVE-2025-21994ksmbd: fix incorrect validation for num_aces field of smb_acl
- 7.6HighCVSS base score
- 0.31%Exploitation in 30 daysEPSS · top 76% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.31% · top 76% of all CVEs (14 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.6.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < c3a3484d9d31b27a3db0fab91fcf191132d65236
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 9c4e202abff45f8eac17989e549fc7a75095f675
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < d0f87370622a853b57e851f7d5a5452b72300f19
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < f6a6721802ac2f12f4c1bbe839a4c229b61866f2
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 1b8b67f3c5e5169535e26efedd3e422172e2db64
- affected 5.15
- unaffected < 5.15
- unaffected 5.15.180 – ≤ 5.15.*
- unaffected 6.1.132 – ≤ 6.1.*
- unaffected 6.6.85 – ≤ 6.6.*
- unaffected 6.12.21 – ≤ 6.12.*
- unaffected 6.13.9 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References7
- https://git.kernel.org/stable/c/c3a3484d9d31b27a3db0fab91fcf191132d65236 (opens in a new tab)
- https://git.kernel.org/stable/c/9c4e202abff45f8eac17989e549fc7a75095f675 (opens in a new tab)
- https://git.kernel.org/stable/c/d0f87370622a853b57e851f7d5a5452b72300f19 (opens in a new tab)
- https://git.kernel.org/stable/c/a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd (opens in a new tab)
- https://git.kernel.org/stable/c/f6a6721802ac2f12f4c1bbe839a4c229b61866f2 (opens in a new tab)
- https://git.kernel.org/stable/c/1b8b67f3c5e5169535e26efedd3e422172e2db64 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9522 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21994)Record last updated .