CVEvulnerability

CVE-2025-21994

5.5 MEDIUM Published 2025-04-02 Modified 2026-07-30 Official page ↗
Status
Modified
Published
2025-04-02
Last modified
2026-07-30
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected configurations

• linux linux kernel (>= 5.15 < 5.15.180) • linux linux kernel (>= 5.16 < 6.1.132) • linux linux kernel (>= 6.2 < 6.6.85) • linux linux kernel (>= 6.7 < 6.12.21) • linux linux kernel (>= 6.13 < 6.13.9) • linux linux kernel 6.14

References