Skip to main content
Network Thinking Solutions Logo

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 num_aces to allocate posix_ace_state_array.

All CVEs
CVE-2025-21994Published 4/2/2025

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.

Vendor advisory
CVSS7.6High

Overview

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.

Published
4/2/2025
Last modified
7/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 5.15.180

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.132

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.85

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.21

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.9

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < c3a3484d9d31b27a3db0fab91fcf191132d65236

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9c4e202abff45f8eac17989e549fc7a75095f675

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < d0f87370622a853b57e851f7d5a5452b72300f19

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < f6a6721802ac2f12f4c1bbe839a4c229b61866f2

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1b8b67f3c5e5169535e26efedd3e422172e2db64

Verify advisory

Source
Linux
Linux
5.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.6. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.