kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-93811 ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.15.62 이상 5.15.222 미만
    • 5.18.18 이상 5.19 미만
    • 5.19.2 이상 5.20 미만
    • 6.0

    해결 버전

    • 5.15.222 이상
    • 5.19 이상
    • 5.20 이상
    • 6.0 미만
    • 6.1.189 이상
    • 6.6.158 이상
    • 6.12.111 이상
    • 6.18.53 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의