Impact
A memory leak in the Linux kernel's ksmbd component is triggered when processing POSIX ACL entries. The bug allows a malicious or malformed file with enough ACL entries to cause an overflow check that bypasses a kfree call, causing kernel memory to be leaked on each request that touches the file's DACL. Repeated leaks can exhaust kernel memory and result in a denial-of-service attack. The flaw originates from a missing deallocation of SMB SID structures when the newly added check_add_overflow() guard breaks out of the ACE-building loops.
Affected Systems
All Linux kernel releases that include the ksmbd module and are older than the commit that introduces the overflow guard (commit 299f962c0b02). No vendor beyond the Linux kernel is specifically listed, but any system running ksmbd before this patch is affected.
Risk and Exploitability
The EPSS score for this vulnerability is less than 1%, indicating a low probability of exploitation at this time, and it is not listed in the CISA KEV catalog. The flaw can be triggered by a crafted SMB request that contains a large number of POSIX ACL entries. It is inferred that because ksmbd is a network-facing service, a remote attacker with SMB access could engage the vulnerability; this inference is drawn from the service’s interface, as the data does not explicitly state the attack vector.
OpenCVE Enrichment
Ubuntu USN