Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-21994— ksmbd: fix incorrect validation for num_aces field of smb_acl

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ksmbd模块对smb_acl的num_aces字段验证不正确,可能导致内存分配问题。

CVSS 7.6 · High EPSS 0.29% · P21

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf< c3a3484d9d31b27a3db0fab91fcf191132d65236 affected
0626e6641f6b467447c81dd7678a69c66f7746cf< 9c4e202abff45f8eac17989e549fc7a75095f675 affected
0626e6641f6b467447c81dd7678a69c66f7746cf< d0f87370622a853b57e851f7d5a5452b72300f19 affected
0626e6641f6b467447c81dd7678a69c66f7746cf< a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd affected
0626e6641f6b467447c81dd7678a69c66f7746cf< f6a6721802ac2f12f4c1bbe839a4c229b61866f2 affected
0626e6641f6b467447c81dd7678a69c66f7746cf< 1b8b67f3c5e5169535e26efedd3e422172e2db64 affected
5.15 affected
< 5.15 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-21994

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ksmbd: fix incorrect validation for num_aces field of smb_acl
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ksmbd模块对smb_acl的num_aces字段验证不正确,可能导致内存分配问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ~ c3a3484d9d31b27a3db0fab91fcf191132d65236 -
Linux Linux 5.15 -

II. Public POCs for CVE-2025-21994

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21994

登录查看更多情报信息。

Patches & Fixes for CVE-2025-21994 (4)

Same Patch Batch · Linux · 2025-04-02 · 8 CVEs total

CVE-2025-21988 9.8 CRITICAL fs/netfs/read_collect: add to next->prev_donated
CVE-2025-21993 iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()
CVE-2025-21992 HID: ignore non-functional sensor in HP 5MP Camera
CVE-2025-21991 x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes
CVE-2025-21990 drm/amdgpu: NULL-check BO's backing store when determining GFX12 PTE flags
CVE-2025-21989 drm/amd/display: fix missing .is_two_pixels_per_container
CVE-2025-21987 drm/amdgpu: init return value in amdgpu_ttm_clear_buffer

IV. Related Vulnerabilities

V. Comments for CVE-2025-21994

No comments yet


Leave a comment