VYPR
High severity7.6NVD Advisory· Published Apr 2, 2025· Updated Jul 30, 2026

CVE-2025-21994

CVE-2025-21994

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

9
  • Linux/Kernel8 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 7 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.15,<5.15.180
    • cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
    • (no CPE)
    • (no CPE)range: 5.15
  • osv-coords
    Range: >= 5.15.0, < 5.15.180

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.