CVE-2025-21994

MEDIUM

Linux Kernel 5.15-6.13.9 Integer Overflow via SMB ACL num_aces Validation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 7.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (21)
linux/Kernel 5.15.0 - 5.15.180linux
linux/Kernel 5.16.0 - 6.1.132linux
linux/Kernel 6.13.0 - 6.13.9linux
linux/Kernel 6.2.0 - 6.6.85linux
linux/Kernel 6.7.0 - 6.12.21linux
Linux/Linux < 5.15
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 1b8b67f3c5e5169535e26efedd3e422172e2db64
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 9c4e202abff45f8eac17989e549fc7a75095f675
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - a4cb17797a5d241f1e509cb5b46ed95a80c2f5fd
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - c3a3484d9d31b27a3db0fab91fcf191132d65236
... and 11 more
Published Apr 02, 2025
Tracked Since Feb 18, 2026