CVE-2026-31704
kernel: ksmbd: use check_add_overflow() to prevent u16 DACL size overflow
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · May 1, 2026
Updated · June 28, 2026
Description
A flaw was found in the ksmbd component of the Linux kernel. This vulnerability arises from an integer overflow when handling Access Control List (ACL) sizes. When a file is configured with a large number of POSIX ACL entries, the system's calculation of the accumulated size can exceed its designated memory, leading to incorrect pointer arithmetic. This can result in the corruption of the buffer, causing existing ACL entries to be overwritten and potentially leading to data integrity issues or system instability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE-190 · Integer Overflow or Wraparound