CVE-2025-21994
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < c3a3484d9d31b27a3db0fab91fcf191132d65236 | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < 9c4e202abff45f8eac17989e549fc7a75095f675 | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < d0f87370622a853b57e851f7d5a5452b72300f19 | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < f6a6721802ac2f12f4c1bbe839a4c229b61866f2 | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < 1b8b67f3c5e5169535e26efedd3e422172e2db64 | affected |
| Linux | Linux | 5.15 | affected |
| Linux | Linux | 0 < 5.15 | unaffected |
| Linux | Linux | 5.15.180 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.132 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.85 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.21 <= 6.12.* | unaffected |
| Linux | Linux | 6.13.9 <= 6.13.* | unaffected |
| Linux | Linux | 6.14 <= * | unaffected |
Weaknesses
ADP Enrichment
CVE Program Container
Additional References
References
- https://git.kernel.org/stable/c/c3a3484d9d31b27a3db0fab91fcf191132d65236
- https://git.kernel.org/stable/c/9c4e202abff45f8eac17989e549fc7a75095f675
- https://git.kernel.org/stable/c/d0f87370622a853b57e851f7d5a5452b72300f19
- https://git.kernel.org/stable/c/a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd
- https://git.kernel.org/stable/c/f6a6721802ac2f12f4c1bbe839a4c229b61866f2
- https://git.kernel.org/stable/c/1b8b67f3c5e5169535e26efedd3e422172e2db64
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.