cbcvebase.
CVE-2025-21994
published 2025-04-02

CVE-2025-21994: In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix incorrect validation for num_aces field of smb_acl parse_dcal() validate…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.28%
20.0th percentile
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

24 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.133-1 (bookworm)linux 6.1.133-1 (bookworm)
debianlinux-6.1< linux 6.1.133-1 (bookworm)linux 6.1.133-1 (bookworm)
linuxlinux
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < c3a3484d9d31b27a3db0fab91fcf191132d65236c3a3484d9d31b27a3db0fab91fcf191132d65236
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 9c4e202abff45f8eac17989e549fc7a75095f6759c4e202abff45f8eac17989e549fc7a75095f675
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < d0f87370622a853b57e851f7d5a5452b72300f19d0f87370622a853b57e851f7d5a5452b72300f19
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < a4cb17797a5d241f1e509cb5b46ed95a80c2f5fda4cb17797a5d241f1e509cb5b46ed95a80c2f5fd
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < f6a6721802ac2f12f4c1bbe839a4c229b61866f2f6a6721802ac2f12f4c1bbe839a4c229b61866f2
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 1b8b67f3c5e5169535e26efedd3e422172e2db641b8b67f3c5e5169535e26efedd3e422172e2db64
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.1.133-16.1.133-1
linuxlinux_kernel>= 0 < 6.12.21-16.12.21-1
linuxlinux_kernel>= 0 < 6.12.21-16.12.21-1
linuxlinux_kernel>= 0 < 5.15.0-142.1525.15.0-142.152
linuxlinux_kernel>= 0 < 6.8.0-84.846.8.0-84.84
linuxlinux_kernel>= 5.15 < 5.15.1805.15.180
linuxlinux_kernel>= 5.16 < 6.1.1326.1.132
linuxlinux_kernel>= 6.13 < 6.13.96.13.9
linuxlinux_kernel>= 6.2 < 6.6.856.6.85
linuxlinux_kernel>= 6.7 < 6.12.216.12.21

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.