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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.08% · P24
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 0626e6641f6b467447c81dd7678a69c66f7746cf ~ c3a3484d9d31b27a3db0fab91fcf191132d65236 -
LinuxLinux 5.15 -

II. Public POCs for CVE-2025-21994

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21994

登录查看更多情报信息。

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-21994

No comments yet


Leave a comment