CVE Catalog

CVE-2026-93811

Low risk· EPSS 5%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, the ksmbd server has two issues: when ndr_decode_v4_ntacl() fails, the error path does not free acl.sd_buf (memory leak), and when acl.sd_size is less than sizeof(struct smb_ntsd), the function returns success without freeing the buffer and leaves a stale *pntsd.

Risk Assessment

Memory leaks and returning success on invalid data can lead to resource exhaustion and unpredictable SMB server behavior.

Recommendation

Update the Linux kernel to a version containing the fix that zero-initializes the acl structure, reorders error labels, and returns -EINVAL for too-small sd_size.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling 1. When ndr_decode_v4_ntacl() fails, the code jumped to free_n_data which only freed n.data, skipping kfree(acl.sd_buf) and leaking the buffer. Zero-initialize struct xattr_ntacl acl, reorder error labels to out_free to release acl.sd_buf on all error paths. 2. if (acl.sd_size < sizeof(struct smb_ntsd)) is true, original code returned success without freeing sd_buf and left stale *pntsd. Set rc = -EINVAL before jumping to out_free to return error code and free buffer.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS