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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2025-04-02 14:16
Updated : 2025-11-03 20:17
NVD link : CVE-2025-21994
Mitre link : CVE-2025-21994
CVE.ORG link : CVE-2025-21994
JSON object : View
Products Affected
linux
- linux_kernel
CWE
