Vulnerability details

CVE-2025-21994

Linux Linux

ksmbd: fix incorrect validation for num_aces field of smb_acl

CVSS 3.1
7.6High

Official 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.

CVSS scores

ScoreVersionSourceVector
7.6High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Affected products

VendorProductVersionsSource
Linux Linux 5.15 CVEProject cvelistV5 (CNA)
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ≤ v < 9c4e202abff45f8eac17989e549fc7a75095f675 CVEProject cvelistV5 (CNA)
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ≤ v < d0f87370622a853b57e851f7d5a5452b72300f19 CVEProject cvelistV5 (CNA)
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ≤ v < c3a3484d9d31b27a3db0fab91fcf191132d65236 CVEProject cvelistV5 (CNA)
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ≤ v < f6a6721802ac2f12f4c1bbe839a4c229b61866f2 CVEProject cvelistV5 (CNA)
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ≤ v < 1b8b67f3c5e5169535e26efedd3e422172e2db64 CVEProject cvelistV5 (CNA)
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ≤ v < a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd CVEProject cvelistV5 (CNA)

References and advisories

7
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-04-02
Last updated
2026-08-05
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.3%
Probability of exploitation in 30 days
23.8%
Percentile (among all CVEs)

Weaknesses (CWE)

  • —