نسخههای متأثر
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
بهرهبرداری
شرح آسیبپذیری
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling
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.
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.
A flaw was found in the Linux kernel's ksmbd Server Message Block (SMB) server. When processing access control list (ACL) data, error-handling routines fail to release memory buffers if decoding fails or if an invalid security descriptor size is encountered. A remote attacker could exploit this vulnerability by repeatedly triggering these error paths, causing memory leaks that may lead to system resource exhaustion and a denial of service (DoS).

